« Return to Thread: How to do JTAG only programming

Re: How to do JTAG only programming

by Joerg Wunsch :: Rate this Message:

| View in Thread

As hubert-b@... 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.

--
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
AVR-chat@...
https://lists.nongnu.org/mailman/listinfo/avr-chat

 « Return to Thread: How to do JTAG only programming