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: Joerg Wunsch
Subject: Re: [avr-chat] How to do JTAG only programming
Date: Fri, 28 Oct 2011 14:32:22 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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