Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout via Amforth-devel
Tristan,

First thanks for the quick response.
Yes I found out the hex file wasn’t working after flashing to the Mega.
My flasher is from Pololu and is working great on my macbook pro and avrdude.

Is there an possibility to get the hex files from you? 
I’m not a star in compiling this kind of things without a good portion of help.

My email is krom1109 at hotmail dot com

With kindly regards,

Jan



> Op 15 feb. 2019, om 16:38 heeft Tristan Williams  het 
> volgende geschreven:
> 
> Jan,
> 
> A number of things.
> 
> The hex file you have found may not be one for the Arduino
> Mega2560. If I remember correctly, the distribution has an appl folder
> for the atmega2561 and the configuration assembler file
> 
> https://sourceforge.net/p/amforth/code/HEAD/tree/trunk/appl/atmega2561/atmega256.asm
> 
> suggests that it was built for an ATmega2561 with an 14.745600MHz crystal and 
> uart1
> hosting the AmForth interpreter.
> 
> I adjusted the AmForth make system (on OSX) to build a custom hex file
> for the Arduino Mega2560 which uses ATmega2560 chip and a 16MHz
> crystal. I also put the AmForth interpreter on uart0. The AmForth
> build system is one of its many strengths, though getting it to work
> on OS X does require a few extra steps.
> 
> I used these fuse values for my Arduino Mega2560
> 
>> avrdude: safemode: Fuses OK (E:FF, H:99, L:CE)
> 
> Finally, what hex programmer you use may be important with the Mega2560. I
> used an avrisp2 compatible programmer and had no problems. However, I can
> confirm that my usbtiny programmer couldn't program my Mega2560 successfully.
> 
> Best wishes,
> Tristan
> 
> 
> 
> 
> 
> 
> 
> 
> On 15Feb19 14:20, Jan Kromhout wrote:
>> Tristan,
>> 
>> Found the hex files for the Mega, but don’t found the fuse values.
>> Please can you help me out with these.
>> 
>> Cheers,
>> 
>> Jan
>> 
>> 
>> 
>>> Op 15 feb. 2019, om 13:21 heeft Jan Kromhout  het 
>>> volgende geschreven:
>>> 
>>> Tristan,
>>> 
>>> Thank. Where to find the hex files for the mega, and what fuse settings you 
>>> have used.
>>> I wont to play with it this evening. Verry exciting how it works.
>>> Cheers,
>>> 
>>> Jan
>>> 
>>> Verstuurd vanaf mijn iPad
>>> 
 Op 15 feb. 2019 om 12:45 heeft Tristan Williams  het 
 volgende geschreven:
 
 Jan,
 
 There is a link "source" in the text, but below is the url from the
 link. 
 
 https://www.mostlymostly.uk/files/source/uart1.forth
 
 Tristan
 
 
> On 15Feb19 11:15, Jan Kromhout via Amforth-devel wrote:
> Hi Tristan,
> 
> How can I acces the source, the link shows only an overview!
> 
> Cheers,
> 
> Jan
> 
> Verstuurd vanaf mijn iPad
> 
>> Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
>> volgende geschreven:
>> 
>> 
>> 
>> I've linked (below) some AmForth words I've written to help me use the
>> second hardware serial port on an AVR atmega mcu, should there be one.
>> 
>> https://www.mostlymostly.uk/post/2019.02.01/
>> 
>> 
>> Tristan
>> 
>> 
>> 
>> 
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
 
 
 ___
 Amforth-devel mailing list for http://amforth.sf.net/
 Amforth-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>> 
>>> 
>>> ___
>>> Amforth-devel mailing list for http://amforth.sf.net/
>>> Amforth-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>> 
>> 
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel



___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Tristan Williams
Jan,

A number of things.

The hex file you have found may not be one for the Arduino
Mega2560. If I remember correctly, the distribution has an appl folder
for the atmega2561 and the configuration assembler file

https://sourceforge.net/p/amforth/code/HEAD/tree/trunk/appl/atmega2561/atmega256.asm

suggests that it was built for an ATmega2561 with an 14.745600MHz crystal and 
uart1
hosting the AmForth interpreter.

I adjusted the AmForth make system (on OSX) to build a custom hex file
for the Arduino Mega2560 which uses ATmega2560 chip and a 16MHz
crystal. I also put the AmForth interpreter on uart0. The AmForth
build system is one of its many strengths, though getting it to work
on OS X does require a few extra steps.

I used these fuse values for my Arduino Mega2560

> avrdude: safemode: Fuses OK (E:FF, H:99, L:CE)

Finally, what hex programmer you use may be important with the Mega2560. I
used an avrisp2 compatible programmer and had no problems. However, I can
confirm that my usbtiny programmer couldn't program my Mega2560 successfully.

Best wishes,
Tristan








On 15Feb19 14:20, Jan Kromhout wrote:
> Tristan,
> 
> Found the hex files for the Mega, but don’t found the fuse values.
> Please can you help me out with these.
> 
> Cheers,
> 
> Jan
> 
> 
> 
> > Op 15 feb. 2019, om 13:21 heeft Jan Kromhout  het 
> > volgende geschreven:
> > 
> > Tristan,
> > 
> > Thank. Where to find the hex files for the mega, and what fuse settings you 
> > have used.
> > I wont to play with it this evening. Verry exciting how it works.
> > Cheers,
> > 
> > Jan
> > 
> > Verstuurd vanaf mijn iPad
> > 
> >> Op 15 feb. 2019 om 12:45 heeft Tristan Williams  het 
> >> volgende geschreven:
> >> 
> >> Jan,
> >> 
> >> There is a link "source" in the text, but below is the url from the
> >> link. 
> >> 
> >> https://www.mostlymostly.uk/files/source/uart1.forth
> >> 
> >> Tristan
> >> 
> >> 
> >>> On 15Feb19 11:15, Jan Kromhout via Amforth-devel wrote:
> >>> Hi Tristan,
> >>> 
> >>> How can I acces the source, the link shows only an overview!
> >>> 
> >>> Cheers,
> >>> 
> >>> Jan
> >>> 
> >>> Verstuurd vanaf mijn iPad
> >>> 
>  Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
>  volgende geschreven:
>  
>  
>  
>  I've linked (below) some AmForth words I've written to help me use the
>  second hardware serial port on an AVR atmega mcu, should there be one.
>  
>  https://www.mostlymostly.uk/post/2019.02.01/
>  
>  
>  Tristan
>  
>  
>  
>  
>  ___
>  Amforth-devel mailing list for http://amforth.sf.net/
>  Amforth-devel@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/amforth-devel
> >>> 
> >>> 
> >>> 
> >>> ___
> >>> Amforth-devel mailing list for http://amforth.sf.net/
> >>> Amforth-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> >>> 
> >> 
> >> 
> >> ___
> >> Amforth-devel mailing list for http://amforth.sf.net/
> >> Amforth-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> > 
> > 
> > ___
> > Amforth-devel mailing list for http://amforth.sf.net/
> > Amforth-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout
Tristan,

Found the hex files for the Mega, but don’t found the fuse values.
Please can you help me out with these.

Cheers,

Jan



> Op 15 feb. 2019, om 13:21 heeft Jan Kromhout  het 
> volgende geschreven:
> 
> Tristan,
> 
> Thank. Where to find the hex files for the mega, and what fuse settings you 
> have used.
> I wont to play with it this evening. Verry exciting how it works.
> Cheers,
> 
> Jan
> 
> Verstuurd vanaf mijn iPad
> 
>> Op 15 feb. 2019 om 12:45 heeft Tristan Williams  het 
>> volgende geschreven:
>> 
>> Jan,
>> 
>> There is a link "source" in the text, but below is the url from the
>> link. 
>> 
>> https://www.mostlymostly.uk/files/source/uart1.forth
>> 
>> Tristan
>> 
>> 
>>> On 15Feb19 11:15, Jan Kromhout via Amforth-devel wrote:
>>> Hi Tristan,
>>> 
>>> How can I acces the source, the link shows only an overview!
>>> 
>>> Cheers,
>>> 
>>> Jan
>>> 
>>> Verstuurd vanaf mijn iPad
>>> 
 Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
 volgende geschreven:
 
 
 
 I've linked (below) some AmForth words I've written to help me use the
 second hardware serial port on an AVR atmega mcu, should there be one.
 
 https://www.mostlymostly.uk/post/2019.02.01/
 
 
 Tristan
 
 
 
 
 ___
 Amforth-devel mailing list for http://amforth.sf.net/
 Amforth-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>> 
>>> 
>>> 
>>> ___
>>> Amforth-devel mailing list for http://amforth.sf.net/
>>> Amforth-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>> 
>> 
>> 
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout
Tristan,

Thank. Where to find the hex files for the mega, and what fuse settings you 
have used.
I wont to play with it this evening. Verry exciting how it works.
Cheers,

Jan

Verstuurd vanaf mijn iPad

> Op 15 feb. 2019 om 12:45 heeft Tristan Williams  het 
> volgende geschreven:
> 
> Jan,
> 
> There is a link "source" in the text, but below is the url from the
> link. 
> 
> https://www.mostlymostly.uk/files/source/uart1.forth
> 
> Tristan
> 
> 
>> On 15Feb19 11:15, Jan Kromhout via Amforth-devel wrote:
>> Hi Tristan,
>> 
>> How can I acces the source, the link shows only an overview!
>> 
>> Cheers,
>> 
>> Jan
>> 
>> Verstuurd vanaf mijn iPad
>> 
>>> Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
>>> volgende geschreven:
>>> 
>>> 
>>> 
>>> I've linked (below) some AmForth words I've written to help me use the
>>> second hardware serial port on an AVR atmega mcu, should there be one.
>>> 
>>> https://www.mostlymostly.uk/post/2019.02.01/
>>> 
>>> 
>>> Tristan
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Amforth-devel mailing list for http://amforth.sf.net/
>>> Amforth-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>> 
>> 
>> 
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Tristan Williams
Jan,

There is a link "source" in the text, but below is the url from the
link. 

https://www.mostlymostly.uk/files/source/uart1.forth

Tristan


On 15Feb19 11:15, Jan Kromhout via Amforth-devel wrote:
> Hi Tristan,
> 
> How can I acces the source, the link shows only an overview!
> 
> Cheers,
> 
> Jan
> 
> Verstuurd vanaf mijn iPad
> 
> > Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
> > volgende geschreven:
> > 
> > 
> > 
> > I've linked (below) some AmForth words I've written to help me use the
> > second hardware serial port on an AVR atmega mcu, should there be one.
> > 
> > https://www.mostlymostly.uk/post/2019.02.01/
> > 
> > 
> > Tristan
> > 
> > 
> > 
> > 
> > ___
> > Amforth-devel mailing list for http://amforth.sf.net/
> > Amforth-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel
> 


___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Jan Kromhout via Amforth-devel
Hi Tristan,

How can I acces the source, the link shows only an overview!

Cheers,

Jan

Verstuurd vanaf mijn iPad

> Op 15 feb. 2019 om 09:21 heeft Tristan Williams  het 
> volgende geschreven:
> 
> 
> 
> I've linked (below) some AmForth words I've written to help me use the
> second hardware serial port on an AVR atmega mcu, should there be one.
> 
> https://www.mostlymostly.uk/post/2019.02.01/
> 
> 
> Tristan
> 
> 
> 
> 
> ___
> Amforth-devel mailing list for http://amforth.sf.net/
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel



___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Soft Serial Port

2019-02-15 Thread Tristan Williams



I've linked (below) some AmForth words I've written to help me use the
second hardware serial port on an AVR atmega mcu, should there be one.

https://www.mostlymostly.uk/post/2019.02.01/


Tristan




___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel