|
From: | hubert-b |
Subject: | Re: [avr-chat] How to do JTAG only programming |
Date: | Fri, 28 Oct 2011 17:59:36 +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 |
Hi!This actually worked! I just performed a quick test and it seems that I can now read and write the flash for the ATmega406 using a AVR DRAGON in JTAG mode. Thanks a lot :-)
I attached the working snipped, please include it in future avrdude versions as it might be helpful to others.
Again thanks a lot and have a nice weekend! HubertB On 10/28/2011 03:15 PM, Joerg Wunsch wrote:
As address@hidden wrote: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".This is all quite twisted. :-/ The block_size it refers to is actually the page size, however, in the "paged_load" method, this is overridden by the "readsize" parameter. (I changed a lot in that area recently, not sure whether that still applies to the SVN version.) So, please also add a "readsize" parameter. It can even be larger than the page size, but must not exceed 256 (due to limitations of the JTAG ICE protocol).
avrdude.conf
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |