Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-12 Thread Helge Kruse
On 09.09.2021 09:37, Tristan Williams wrote: Hi Helge, A mystery, but given that, as far as I know, every (modern) build eventually uses avrasm2.exe to create the hex files, one that should be solvable. I absolutely agree. And the Studio 7 comes with avrasm2. There is a version update from 2.1.

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-09 Thread Tristan Williams
Hi Helge, A mystery, but given that, as far as I know, every (modern) build eventually uses avrasm2.exe to create the hex files, one that should be solvable. Given that you have an UNO build working, I can only think that your atmega2560 build is not finding all the needed files (or finding some i

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-08 Thread Helge Kruse
On 08.09.2021 17:45, Tristan Williams wrote: Hi Helge, Glad you got AmForth to build with an atmega328p. Can you make avrasm2.exe output a list file, re-build and then check the list file for lines containing store-i ? For the atmega2560 I would expect .include "words/stor

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-08 Thread Tristan Williams
Hi Helge, Glad you got AmForth to build with an atmega328p. Can you make avrasm2.exe output a list file, re-build and then check the list file for lines containing store-i ? For the atmega2560 I would expect .include "words/store-i.asm" .include "words/store-i

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-08 Thread Helge Kruse
On 08.09.2021 08:06, Tristan Williams wrote: Hi Helge, I don't use studio, but from the command line you give below avrasm2.exe -fI -o my.hex -e my.eep -S my.tmp -W+ie -I"D:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\avrasm\inc" -I"amforth-6.9\avr8" -I"amforth-6.9\avr8

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-07 Thread George Herzog
typo correction - " If you don't *know if* your ATmega2560 binaries are correctly compiled, AmForth does have precompiled ready to load ATmega328p binaries that you can load to an ArduinoUNO as a way of learning to understand AVRDUDE and proper FUSE settings." On Wed, Sep 8, 2021 at 2:15 PM George

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-07 Thread George Herzog
Hi Helen, I strongly advise you to* avoid *use of Atmel Studio or the Microchip successor. Using the standalone Atmel assembler in Windows is a much easier solution to control. The Microsoft VisualStudio software bogs down and has a very challenging learning curve with getting good results. *It s

Re: [Amforth] Building amForth with Microchip Studio 7

2021-09-07 Thread Tristan Williams
Hi Helge, I don't use studio, but from the command line you give below > avrasm2.exe -fI -o my.hex -e my.eep -S my.tmp -W+ie -I"D:/Program Files > (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.6.364\avrasm\inc" > -I"amforth-6.9\avr8" -I"amforth-6.9\avr8\devices\atmega32" > -I"amforth-6.9\appl\a

[Amforth] Building amForth with Microchip Studio 7

2021-09-07 Thread Helge Kruse
I am a newby to amForth. I want to use it at ATmega 2560. For the first steps I want to use the more common board Arduino UNO. I flashed the files uno.hex and uno.eep.hex from the directory amforth-6.9\appl\arduino to my Arduino UNO. This gives me a greeting amforth 6.9 ATmega328P Forthduino >