[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #6261] avrdude won't use dragon/debugwire to write
From: |
Mark Litwack |
Subject: |
[avrdude-dev] [patch #6261] avrdude won't use dragon/debugwire to write a file to eeprom |
Date: |
Thu, 08 Nov 2007 20:07:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071019 Fedora/2.0.0.8-1.fc7 Firefox/2.0.0.8 |
URL:
<http://savannah.nongnu.org/patch/?6261>
Summary: avrdude won't use dragon/debugwire to write a file
to eeprom
Project: AVR Downloader/UploaDEr
Submitted by: mlitwack
Submitted on: Thursday 11/08/2007 at 20:07
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If avrdude is given a file to write to eeprom it will try to
write it using page mode (jtagmkII_paged_write()). However,
page mode writes to eeprom are not allowed when using
dragon/debugwire, thus causing the write to fail.
If avrdude is used in interactive mode, byte-at-a-time
writes (jtagmkII_write_byte()) to eeprom do work correctly
with debugwire.
Avrdude already contains code to detect and prevent paged
writes to eeprom when in debugwire mode. Instead of simply
returning a failure, this patch calls the routine to write a
byte at a time to the eeprom since that is known to work.
This allows a file to be written to eeprom in debugwire
mode.
This patch probably fixes this problem with other debugwire
programmers as well, but so far has only been tested with
the AVR Dragon.
This patch is for avrdude-5.5, but the problem is also known
to exist in avrdude-5.4.
-mark
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 11/08/2007 at 20:07 Name: dragon-dw-eeprom.patch Size: 961B
By: mlitwack
Modifies avrdude-5.5/jtagmkII.c
<http://savannah.nongnu.org/patch/download.php?file_id=14341>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6261>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #6261] avrdude won't use dragon/debugwire to write a file to eeprom,
Mark Litwack <=