From: D W. <dou...@ya...> - 2010-05-01 16:42:27
|
Greeting! New user here, having trouble with recent versions. It appears the amforth 3.1 is the last version that works on the ATmega128. I do not know if it applies only to my hardware or to the ATmega128 in general, can anyone comment? I have an old Kanda STK300 development board and the associated AVR-ISP. I am using AVR-ISP version 5.1.0. I think it has something to do with the ATmega128 having two usarts. Starting with version 3.2, the compilation error messages can be resolved by changing (for example on version 3,.2): UDRIE to UDRIE0, [usart0.asm line 63] FE, DOR, and PE to FE0, DOR0, and PE0, [usart0.asm line 121] UDRIE to UDRIE0, [TX0.asm line 40] but running the result gives no prompt. I got the impression that it is something to do with the interrupts, but this area is outside my expertise, so I'm just guessing. On version 3.1 down to 2.8, the code compiles with no errors and immediately displays the forth version number and prompt. Fuses and clock are the same in all cases. Any hints or comments? D |