From: Mark M. <m.m...@gm...> - 2011-10-04 15:43:08
|
What am I missing? I am attempting to put amforth on a Atmega328p following more or less the Amforth Users Guide (which was written for Amforth 4.2). I am working from Linux. Using the example template.asm with the dict_appl.inc and dict_appl_core.inc and the applturnkey.asm in ver 4.5 - it assembles without errors under Studio 4 (4.18) running under wine. Using avrdude 5.1 and either a Avrispmkii or avr-pg2, I load the flash and the eeprom with their respective hex files assembled under Studio 4. Using the factory default settings OR changing the fuse bytes, I am unable to pull up a forth prompt on the serial port (9600 8n1). The 328p is wired only to either a 10 or 6 pin ISP header (depending on which programmer - both seem to work fine), a 16 mhz crystal with 22pf caps (the only change in the template.asm file), and a max 232 for the serial port. This "simple wiring" has been triple checked. The default fuses (as found on a new chip) are high fuse: 0xD9 which I have set to either 0xD1 or 0xD0 (BOOTRST ?) and low fuse default 0x62 which I reset to 0x67. Guidance on the proper fuse settings is conFUSing. What am I missing? |