avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] Q: tiny20 avrdude verification fails


From: Raoul Rubien
Subject: [avrdude-dev] Q: tiny20 avrdude verification fails
Date: Thu, 5 Mar 2015 18:29:42 +0100

Hello,

Trying to write 578 bytes:
avrdude -c ft232rl_dasa -p t20 -b 1200 -P /dev/ttyUSB0
-uvveC/home/.../avrdude.conf -U flash:w:/home/.../a.flash:i
...
bitbang_cmd_tpi(): [ 24 ] [ CF ]
bitbang_cmd_tpi(): [ 24 ] [ F8 ]
Reading | ##############                                     | 28% 13.43s
bitbang_cmd_tpi(): [ 24 ] [ 94 ]
bitbang_cmd_tpi(): [ 24 ] [ FF ]
bitbang_cmd_tpi(): [ 24 ] [ FF ]
Reading | ################################################## | 100% 13.49s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0241
         0xff != 0xcf
avrdude: verification error; content mismatch

avrdude done.  Thank you.

Last two bytes are read as 0xFF but 0xff and 0xcf were expected. If avrdude
is told not to verify with -V a closer look shows if [1] is flashed [2] is
read from device:

[1]
Contents of section .text:
 0000 10c023c0 2dc021c0 35c03ec0 47c050c0  ..#.-.!.5.>.G.P.
 ...
 0230 e2e4f0e0 80830895 faded6df fecff894  ................
 0240 ffcf

[2]
Contents of section .sec1:
 0000 10c023c0 2dc021c0 35c03ec0 47c050c0  ..#.-.!.5.>.G.P.
 ...
 0230 e2e4f0e0 80830895 faded6df fecff894  ................


regards,
raoul


reply via email to

[Prev in Thread] Current Thread [Next in Thread]