[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #34027] avrdude AT90S1200 Problem
From: |
Joerg Wunsch |
Subject: |
[avrdude-dev] [bug #34027] avrdude AT90S1200 Problem |
Date: |
Sat, 27 Aug 2011 22:25:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110812 Firefox/3.6.18 |
Follow-up Comment #2, bug #34027 (project avrdude):
The problem appears to be the specific AT90S1200 requirements after a
chip erase operation. The datasheet says:
3. If a Chip Erase is performed (must be done to erase the Flash),
wait tWD_ERASE after the instruction, give RESET a positive pulse,
and start over from step 2. [...]
The latter is attempted by calling pgm->initialize again after the
chip erase, but that (obviously) doesn't relly release the /RESET line
as mandated by the datasheet.
As a workaround, separate the "chip erase" and "program device" steps
as follows:
. First, call AVRDUDE with the -e option to perform the chip erase
operation.
. Then, perform the actual programming using the -D option to prevent
AVRDUDE from executing the implied chip erase.
As already explained in a private email, accidentally erasing or
manipulating the signature bytes on the AT90S1200 could easily happen.
Use the -F option to override the signature check.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34027>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/