Wow, that was quick :-)
I added the blocksize parameter to both the eeprom as well as the flash
section. Unfortunately reading the flash with -vvvv still reports
"block_size at addr 0 is 0".
Maybe it is because of my old avrdude version? I'm using the version
that came with Debian Squeeze (it reports to be version 5.10).
Kind regards
HubertB
On 10/28/2011 02:32 PM, Joerg Wunsch wrote:
As [email protected] wrote:
avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
Oops.
Try adding:
# Commenting "page_size" and "num_pages" enables eeprom reading!
memory "eeprom"
paged = no;
size = 512;
page_size = 4;
blocksize = 4;
num_pages = 128;
;
memory "flash"
paged = yes;
size = 40960;
page_size = 128;
blocksize = 128;
num_pages = 320;
;
I guess I have to review whether the "blocksize" parameter makes any
sense at all, or whether it should just be dropped, using "page_size"
instead.
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat