[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] write command failed with 128
From: |
Jonatan Magnusson |
Subject: |
[avrdude-dev] write command failed with 128 |
Date: |
Fri, 03 Mar 2006 00:38:54 +0100 |
Hi
I have a problem while programming with avrdude. My setup is:
OS: Ubuntu Dapper x86
Programmer: STK500 (with latest firmware)
AVR: AT90S8515
The hardware is verified to work with AVRStudio.
This is the output:
<snip>
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.02s
avrdude: Device signature = 0x1e9306
avrdude: Expected signature for AT90S8515 is 1E 93 01
avrdude: safemode: fuse reads as 1
avrdude: erasing chip
avrdude: reading input file "demo.out.hex"
avrdude: input file demo.out.hex auto detected as Intel Hex
avrdude: writing flash (166 bytes):
Writing | | 0%
0.00savrdude: stk500v2_paged_write: write command failed with 128
Writing | ################################################## | 100%
2.28s
avrdude: failed to write flash memory, rc=-1
avrdude: safemode: fuse reads as 1
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I have the same problem with the Ubuntu Dapper-version of avrdude (5.1),
version 5.1 compiled from tar-ball and the current CVS-version.
My command-line is:
/usr/local/bin/avrdude -c stk500v2 -p at90s8515 -P /dev/ttyS0 -e -U
flash:w:demo.out.hex -v -F
Searching through the archives a similar error was reported in september
last year:
http://lists.gnu.org/archive/html/avrdude-dev/2005-09/msg00016.html
The solution at that time was to try the CVS-version of avrdude, but
that did not make any difference for me.
Using "-c stk500" resulted in a timeout.
Regards,
Jonatan Magnusson
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] write command failed with 128,
Jonatan Magnusson <=