From: <ken...@al...> - 2010-08-04 16:17:01
|
Hi Andy, Thanks for your quick response. > What are you using as your build route/toolchain ? Kubuntu Linux v,9.10 on an AMD 64 bit dual core processor Apache Ant version 1.7.1 compiled on July 2 2010 wine-1.0.1 AVRASM ver. 2.1.42 then I move the .hex files to an old desktop and program the chip using uisp version 20050207 and a very crude Parallel Port programmer from http://www.arduino.cc/en/Hacking/ParallelProgrammer > A second question (sorry got to ask it most folks miss it) did you > program the eeprom ?? Yes. Don't feel bad - I've worked in Tech. Support and have had to ask, "Is it plugged in?". > What fuses did you program ?? None, I left them at the defaults for the duemilanove. > At a guess I would think that the second problem is perhaps related to >the first in that the core code compiles to just under 8k. This should > fit into the memory of a 32k device easily with bags of room to spare. Yes the code is less than 8k. The problem is that there's an .org 0x3800 before the *_core* includes so they go into the NRWW section of eprom. With dict_minimum.inc in the *_core* group of includes, the program overflows memory. > Your base addresses etc would appear to be wrong. Yes, I've spent a lot of time being confused the last couple of days. Atmel seems to use byte addresses sometimes and word (16 bit) addresses others. e.g. with the proper fuses the datasheet says the NRWW section is from 0x3800 to 0x3fff. You will see that the assembly listing goes up to 0x4671 but the error message says, "duemilanove.asm(24): warning: end of .cseg at 0x8ce2 is beyond end of memory at 0x7fff". Two times 0x4671 is 0x8ce2. I am inclined to believe that there may be a problem with my two different serial port adapters since I've consistently had the "amf" symptom since amforth 3.7. However, I have been able to use both serial port adapters to program the BBB using the bootloader. I'm going to try different baud rates just because it's easy and might work. Regards, Ken On Wed, 04 Aug 2010 14:33 +0100, "an...@ki..." <an...@ki...> wrote: > At a guess I would think that the second problem is perhaps related to >the first in that the core code compiles to just under 8k. This should > fit into the memory of a 32k device easily with bags of room to spare. > > Your base addresses etc would appear to be wrong. > > A second question (sorry got to ask it most folks miss it) did you > program the eeprom ?? > > What are you using as your build route/toolchain ?? > > What fuses did you program ?? > > I haven't built the most recent release but will do when I get a mo. Its > on the to-do list. > > Cheers > > Andy Kirby > > > > On 04/08/10 03:41, ken...@al... wrote: > > Hi, > > > > I have tried using both my serial port adapter and my FTDI USB serial > > adapter on amforth 4.0 assembled for the duemilanove. (The board I'm > > actually using is one of the free clones of the arduino with separate > > serial adapters). I have used both minicom under linux and a terminal > > emulator under Windows with nearly the same results. Both of the serial > > adapters have been used successfully for serial programming of the > > arduino. > > > > When minicom starts I see: > > > > > > amforth 4.0 ATmega328P > >> amf > > > > Pressing reset on the Arduino causes another "amf" to be output so I > > get: > > > > > > amforth 4.0 ATmega328P > >> amfamf > > > > There is no response to keyboard input. > > > > Do you have any suggestions on where to start troubleshooting this > > problem? I noticed that the duemilanove is using polling for both input > > and output now. I had the same symptoms with earlier versions using > > interrupts. > > > > Thanks, > > Ken > > > > ------------------------------------------------------------------------------ > > The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > Amforth-devel mailing list > > Amf...@li... > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |