avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] How to do JTAG only programming


From: Joerg Wunsch
Subject: Re: [avr-chat] How to do JTAG only programming
Date: Thu, 27 Oct 2011 09:36:32 +0200 (MET DST)

Hi Hubert,

sorry for the late response.

> Unfortunately, reading the eeprom as well 
> as the flash isn't working. In both cases, avrdude just hangs with this 
> error message:

Can you run avrdude with -vvvv (four times "-v"), and post the
relevant snippets?

> Funny thing is: When I comment the "page_size" as well as the 
> "num_pages" parameters from the eeprom section I can successfuly read 
> the eeprom.

So it appears, somehow the paging stuff doesn't work on the ATmega406.
The EEPROM routines fall back to one-byte-at-a-time then.

> Appyling the same "trick" to the flash section is not 
> working (avrdude then complains about "Floating point exception").

Bytewise read access to the flash might work, but in order to program
flash memory, we have to get the pagewise stuff working anyway,
because you can program the flash memory in full pages only.

>      memory "flash"
>          paged                = no;

Oh, that should be "yes", for sure.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]