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. ;-) _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
