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: hubert-b
Subject: Re: [avr-chat] How to do JTAG only programming
Date: Fri, 28 Oct 2011 15:00:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111004 Iceowl/1.0b1 Icedove/3.0.11

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 address@hidden 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.





reply via email to

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