[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Programming problems with RH7.3 and STK500
From: |
Jan-Hinnerk Reichert |
Subject: |
Re: [avrdude-dev] Programming problems with RH7.3 and STK500 |
Date: |
Wed, 3 Sep 2003 23:11:22 +0200 |
User-agent: |
KMail/1.5.1 |
On Monday 01 September 2003 21:45, Goran Pufler wrote:
> address@hidden raf]# avrdude -p m128 -c STK500 -P /dev/ttyS1 -i
Looks like the usual error ;-)
avrdude does not erase flash memory by default. Just adding a "-e"
option should solve your problem.
> gcctest1.hex avrdude: AVR device initialized and ready to accept
> instructions avrdude: Device signature = 0x1e9702
> avrdude: reading input file "gcctest1.hex"
> avrdude: input file gcctest1.hex auto detected as Intel Hex
> avrdude: writing flash (254 bytes):
> avrdude: 256 bytes of flash written
> avrdude: verifying flash memory against gcctest1.hex:
> avrdude: reading on-chip flash data:
> avrdude: verifying ...
> avrdude: verification error, first mismatch at byte 0x0001
> 0x94 != 0x80
BTW: I think it would be a good think to tell the user which byte is
which. So you can tell if a bit was not erased or not programmed
properly.
> avrdude: verification error; content mismatch
> avrdude done. Thank you.
You are welcome, SCNR.
Jan-Hinnerk