Hello,
I was excited to find a version of FORTH I can use with the AVR series,
specifically the Mega128.
But I am having problems compiling it in AVR Studio. By editing a couple
of files (mainly to fix USART register names: since the Mega128 has two,
a -0 or -1 suffix is usually needed), and adding the necessary paths to
the project, I can get a complete, error free assembly (F7 key). But
when I click the assemble and run button (crtl+F7), I the message "an
unhandled win32 exception occurred in AVRstudio.exe [3856]".
I tried version 4.13 and the latest , 4.18, of AVR Studio, with the same
results. Unhandled exception.
Then, to see if the problem lay with the 128 code, I tried using the AVR
Butterfly template. Again, I could get it to assemble, but not assemble
and run. Unhandled exception.
I did try loading the hex code into the Mega128, but I didn't see
anything on the com port and wasn't able to talk to the device. (The
card is an EMB128 made by ERE.) Is there any other way to check the code?
Is there something obvious I am missing? From what I read in the forum,
the emulator has problems with amforth, but should it crash like this?
Is there any way to confirm that the code is good without actually
loading it into a device?
Thanks - David Jeffrey
--
David Jeffrey
DCJ Designs
825 Stannage Ave
Albany, CA 94706
phone: (510) 526 1322
Cell: (510) 734 7563
|