in a separate file (I hope it wont be copied line-by-line into the
mailing list but if this happens, please accept my apology as this was
not my intention). There are a lot of lines in there and I didn't know
what might be of interest. I also attached the ATmega406-relevant
snippet of avrdude.conf that has been used to generate that output.
If you want me do anything (e.g. compile a newer version of avrdude with
some special flags or so), just let me know.
Any help will be appreciated.
On 10/27/2011 09:36 AM, Joerg Wunsch wrote:
> 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.