Hello Jan,

On 11/19/2013 07:34 PM, Jan Kromhout wrote:
> Hello,
> I compiled the latest version of Amforth 5.1 with the AVR studio 5.0. without 
> any error!
> Load the hex and eep file to the Arduino, and no results.
> What are the value of the fuses?
> 
> I found these values?
> L=0xFF
> H=0xD8
> E=0xFD
>  
A quick look into my Makefile in one of my arduino directories have these lines:

MCU=atmega328p
# set the fuses according to your MCU
LFUSE=0xFF
HFUSE=0xD9
# some MCU have this one, see write-fuses target below
EFUSE=0x05

In the appl/arduino directory of amforth there is a Makefile.
It says


duemilanove:      PART=m328p
duemilanove.hex:  MCU=atmega328p
duemilanove.era:  PART=m328p
duemilanove.bak:  PART=m328p
duemilanove.fuse: PART=m328p
duemilanove.fuse: LFUSE=0xFF
duemilanove.fuse: HFUSE=0xD9
duemilanove.fuse: EFUSE=0x05

diecimila:        PART=m168
diecimila.hex:    MCU=atmega168
diecimila.era:    PART=m168
diecimila.bak:    PART=m168
diecimila.fuse:   PART=m168
diecimila.fuse:   LFUSE=0xFF
diecimila.fuse:   HFUSE=0xDD
diecimila.fuse:   EFUSE=0xF9
...

So it seems to me you picked the set for the atmega168. So "Arduino" is actually
not enough to decide on the fuses. Have a look into that Makefile.

Cheers,
Erich


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to