Thanks for all the help. 

It seems that avra does not work correctly with the macro definitions. Below is 
the beginning of a diff of the disassemblies. Flash.dis is from avra and 
flash2.dis from avrasm2. The cold boot jump is obviously wrong. 

--- flash.dis   2011-12-05 21:21:15.000000000 +0100
+++ flash2.dis  2011-12-09 20:25:49.000000000 +0100
@@ -29,14 +29,14 @@
   6C:  ori R22, 0x17
   6E:  cpi R19, 0x23
   70:  subi R19, 0x08
-   0:  rjmp .+3438     ; 0xD70
+   0:  jmp 0x6B8
   72:  st -Y, R0
   74:  in R0, 0x3F
   76:  st -Y, R0
   78:  pop R0
   7A:  pop R0
   7C:  dec R0
-  7E:  sts 0x060, R0
+  7E:  sts 0x100, R0
   82:  ld R0, Y+
   84:  out $3F, R0
   86:  ld R0, Y+

Cheers, Torsten



Am 05.12.2011 um 20:27 schrieb Erich Waelde:

> Hello Torsten,
> 
> On 12/05/2011 07:48 PM, Torsten Sadowski wrote:
>> Hi,
>> 
>> I'm trying to run amforth on an Arduino Duemilanove.
>> Compiling with Avra (from git) and uploading worked
>> without a problem but I can't get a prompt in the serial
>> terminal. I also set the fuses according to the Readme.
>> I have the impression, that the chip does not start.
>> I would expect some flicker on the TX diode when amforth
>> sends the "I'm alive" message.
> 
> Just to double check, you did load two files, not one?
> 1. duemilanove.eep.hex
> 2. duemilanove.hex
> 
> The .eep.hex is loaded into the eeprom area, whithout that,
> nothing will move.
> 
>> 
>> Could someone please send me Duemilanove hex-files that are known to work?
> 
> please find attached 2 files which I have used.
> amforth Version 4.6
> 
> The files might be striped on the mailing list, so I add
> your email explicitly.
> 
> Have fun,
> Erich
> <duemilanove.eep.hex><duemilanove.hex>


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to