ERREUR : avrdude: verification error; content mismatch

Bonjour
J'ai une carte OLIMEXINO-328
Depuis un moment je n'arrive plus a envoyer de programme dans ma carte arduino
J'ai cherché la solution mais je n'est rien trouver pour ma carte.
J'ai vue qu'il fallait réinstaller le bootloader pour régler le problème mais je ne trouve pas celui qui correspond a ma carte.
Quelqu'un peut il me le procurer ou m'en trouver une qui fonctionne avec ma carte sans la briké svp ?
j’obtiens l'erreur suivant :

Taille binaire du croquis : 466 octets (d'un max de 30,720 octets)
avrdude: verification error, first mismatch at byte 0x0002
0x34 != 0x62
avrdude: verification error; content mismatch

Merci

Bonjour

Pour reflasher le bootloader, si c'est bien le problème, il te faut

  • soit un programmateur type USBASP ou USBtinyISP
  • soit une autre carte Arduino en utilisant le sketch ArduinoISP
    As tu l'un ou l'autre ?

Sinon, il n'est pas encore sur qu'il s'agisse d'un problème de bootloader car il semble que l'erreur apparaisse dans la vérification.
Pourrais tu STP t'assurer que dans préférences la case à cocher téléversement dans "Afficher les résultats détaillés pendant [] compilation [X] téléversement" est bien cochée puis reposter ici le détails complet des messages d'AVRdude ?

Merci pour votre réponse rapide
Je n'est pas de programmateur type USBASP ou USBtinyISP par contre mon collègue possède la même carte que moi

Voici les résultats détaillés :
Taille binaire du croquis : 466 octets (d'un max de 30,720 octets)
C:\Users\XXXX\Desktop\arduino-1.0.3\hardware/tools/avr/bin/avrdude -CC:\Users\XXXX\Desktop\arduino-1.0.3\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P\.\COM16 -b57600 -D -Uflash:w:C:\Users\XXXX\AppData\Local\Temp\build5084439579169194203.tmp\BareMinimum.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Users\XXXXX\Desktop\arduino-1.0.3\hardware/tools/avr/etc/avrdude.conf"

Using Port : \.\COM16
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [02]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
Hardware Version: 2
Firmware Version: 1.16
avrdude: Send: A [41] . [84] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: u [75] [20]
avrdude: Recv: . [14] . [1e] . [95] . [0f] . [10]
################################################## | 100% 0.02s

avrdude: Device signature = 0x1e950f
avrdude: Send: V [56] . [a0] . [03] . [fc] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [fd] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [fe] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [03] . [ff] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: reading input file "C:\Users\XXXX\Local\Temp\build5084439579169194203.tmp\BareMinimum.cpp.hex"
avrdude: writing flash (466 bytes):

Writing | avrdude: Send: U [55] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] . [0c] . [94] 4 [34] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] d [64] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [0c] . [94] Q [51] . [00] . [11] $ [24] . [1f] . [be] . [cf] . [ef] . [d8] . [e0] . [de] . [bf] . [cd] . [bf] . [11] . [e0] . [a0] . [e0] . [b1] . [e0] . [e2] . [ed] . [f1] . [e0] . [02] . [c0] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
#############avrdude: Send: U [55] @ [40] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] . [80] F [46] . [05] . [90] . [0d] . [92] . [a0] 0 [30] . [b1] . [07] . [d9] . [f7] . [11] . [e0] . [a0] . [e0] . [b1] . [e0] . [01] . [c0] . [1d] . [92] . [a9] 0 [30] . [b1] . [07] . [e1] . [f7] . [0e] . [94] U [55] . [00] . [0c] . [94] . [e7] . [00] . [0c] . [94] . [00] . [00] . [08] . [95] . [08] . [95] . [cf] . [93] . [df] . [93] . [0e] . [94] . [ac] . [00] . [0e] . [94] S [53] . [00] . [c0] . [e0] . [d0] . [e0] . [0e] . [94] T [54] . [00] [20] . [97] . [e1] . [f3] . [0e] . [94] . [00] . [00] . [f9] . [cf] . [1f] . [92] . [0f] . [92] . [0f] . [b6] . [0f] . [92] . [11] $ [24] / [2f] . [93] ? [3f] . [93] . [8f] . [93] . [9f] . [93] . [af] . [93] . [bf] . [93] . [80] . [91] . [04] . [01] . [90] . [91] . [05] . [01] . [a0] . [91] . [06] . [01] . [b0] . [91] . [07] . [01] 0 [30] . [91] . [08] . [01] . [01] . [96] . [a1] . [1d] . [b1] . [1d] # [23] / [2f] - [2d] _ [5f] - [2d] 7 [37] [20] . [f0] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
##############avrdude: Send: U [55] . [80] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude: Send: d [64] . [00] . [80] F [46] - [2d] W [57] . [01] . [96] . [a1] . [1d] . [b1] . [1d] [20] . [93] . [08] . [01] . [80] . [93] . [04] . [01] . [90] . [93] . [05] . [01] . [a0] . [93] . [06] . [01] . [b0] . [93] . [07] . [01] . [80] . [91] . [00] . [01] . [90] . [91] . [01] . [01] . [a0] . [91] . [02] . [01] . [b0] . [91] . [03] . [01] . [01] . [96] . [a1] . [1d] . [b1] . [1d] . [80] . [93] . [00] . [01] . [90] . [93] . [01] . [01] . [a0] . [93] . [02] . [01] . [b0] . [93] . [03] . [01] . [bf] . [91] . [af] . [91] . [9f] . [91] . [8f] . [91] ? [3f] . [91] / [2f] . [91] . [0f] . [90] . [0f] . [be] . [0f] . [90] . [1f] . [90] . [18] . [95] x [78] . [94] . [84] . [b5] . [82] [60] . [84] . [bd] . [84] . [b5] . [81] [60] . [84] . [bd] . [85] . [b5] . [82] [60] . [85] . [bd] . [85] . [b5] . [81] [60] . [85] . [bd] . [ee] . [e6] . [f0] . [e0] . [80] . [81] . [81] [60] . [80] . [83] . [e1] . [e8] . [f0] . [e0] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] ##############avrdude: Send: U [55] . [c0] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Send: d [64] . [00] R [52] F [46] . [10] . [82] . [80] . [81] . [82] [60] . [80] . [83] . [80] . [81] . [81] [60] . [80] . [83] . [e0] . [e8] . [f0] . [e0] . [80] . [81] . [81] [60] . [80] . [83] . [e1] . [eb] . [f0] . [e0] . [80] . [81] . [84] [60] . [80] . [83] . [e0] . [eb] . [f0] . [e0] . [80] . [81] . [81] [60] . [80] . [83] . [ea] . [e7] . [f0] . [e0] . [80] . [81] . [84] [60] . [80] . [83] . [80] . [81] . [82] [60] . [80] . [83] . [80] . [81] . [81] ` [60] . [80] . [83] . [80] . [81] . [80] h [68] . [80] . [83] . [10] . [92] . [c1] . [00] . [08] . [95] . [f8] . [94] . [ff] . [cf] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
######### | 100% 0.21s

avrdude: 466 bytes of flash written
avrdude: verifying flash memory against C:\Users\XXXX\AppData\Local\Temp\build5084439579169194203.tmp\BareMinimum.cpp.hex:
avrdude: load data flash data from input file C:\Users\XXXX\AppData\Local\Temp\build5084439579169194203.tmp\BareMinimum.cpp.hex:
avrdude: input file C:\Users\XXXX\AppData\Local\Temp\build5084439579169194203.tmp\BareMinimum.cpp.hex contains 466 bytes
avrdude: reading on-chip flash data:

Reading | avrdude: Send: U [55] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: t [74] . [00] . [80] F [46] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [0c] . [94] b [62] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [a1] . [05] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [10] . [02] . [0c] . [94] ^ [5e] . [02] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [0c] . [94] . [8a] . [00] . [00] . [00] . [00] . [00] $ [24] . [00] ' [27] . [00] * [2a] . [00] . [00] . [00] . [00] . [00] % [25] . [00] ( [28] . [00] + [2b] . [00] . [00] . [00] . [00] . [00]
avrdude: Recv: . [10]
#############avrdude: Send: U [55] @ [40] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: t [74] . [00] . [80] F [46] [20]
avrdude: Recv: . [14]
avrdude: Recv: # [23] . [00] & [26] . [00] ) [29] . [00] . [04] . [04] . [04] . [04] . [04] . [04] . [04] . [04] . [02] . [02] . [02] . [02] . [02] . [02] . [03] . [03] . [03] . [03] . [03] . [03] . [01] . [02] . [04] . [08] . [10] [20] @ [40] . [80] . [01] . [02] . [04] . [08] . [10] [20] . [01] . [02] . [04] . [08] . [10] [20] . [00] . [00] . [00] . [07] . [00] . [02] . [01] . [00] . [00] . [03] . [04] . [06] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ca] . [03] . [11] $ [24] . [1f] . [be] . [cf] . [ef] . [d8] . [e0] . [de] . [bf] . [cd] . [bf] . [11] . [e0] . [a0] . [e0] . [b1] . [e0] . [e0] . [e1] . [fd] . [e0] . [02] . [c0] . [05] . [90] . [0d] . [92] . [a4] 1 [31] . [b1] . [07] . [d9] . [f7] . [11] . [e0] . [a4] . [e1] . [b1] . [e0] . [01] . [c0] . [1d] . [92] . [ab] < [3c] . [b1] . [07] . [e1] . [f7] . [10] . [e0] . [c4] . [ec] . [d0] . [e0] . [04] . [c0] " [22] . [97]
avrdude: Recv: . [10]
##############avrdude: Send: U [55] . [80] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: t [74] . [00] . [80] F [46] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [fe] . [01] . [0e] . [94] . [82] . [06] . [c2] < [3c] . [d1] . [07] . [c9] . [f7] . [0e] . [94] [20] . [04] . [0c] . [94] . [86] . [06] . [0c] . [94] . [00] . [00] . [af] . [92] . [bf] . [92] . [cf] . [92] . [df] . [92] . [ef] . [92] . [ff] . [92] . [0f] . [93] . [1f] . [93] . [8e] . [e0] . [0e] . [94] . [fa] . [00] . [90] . [93] . [15] . [01] . [80] . [93] . [14] . [01] . [00] . [d0] . [00] . [d0] . [aa] ' [27] . [97] . [fd] . [a0] . [95] . [ba] / [2f] / [2f] . [ef] 0 [30] . [e0] @ [40] . [e0] P [50] . [e0] . [ed] . [b7] . [fe] . [b7] ! [21] . [83] 2 [32] . [83] C [43] . [83] T [54] . [83] . [bc] . [01] . [cd] . [01] [20] . [e0] 0 [30] . [e0] @ [40] . [e0] P [50] . [e0] . [ef] . [ef] . [ee] . [2e] . [e3] . [e0] . [fe] . [2e] . [01] - [2d] . [11] - [2d] . [aa] $ [24] . [bb] $ [24] e [65] . [01] . [0e] . [94] X [58] . [05] . [9b] . [01] . [ac] . [01] p [70] . [93] . [17] . [01]
avrdude: Recv: . [10]
##############avrdude: Send: U [55] . [c0] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: t [74] . [00] R [52] F [46] [20]
avrdude: Recv: . [14]
avrdude: Recv: [60] . [93] . [16] . [01] . [0f] . [90] . [0f] . [90] . [0f] . [90] . [0f] . [90] . [8d] . [e0] . [b9] . [01] . [0e] . [94] . [1c] . [01] [60] . [91] . [14] . [01] p [70] . [91] . [15] . [01] . [80] . [ea] . [91] . [e0] J [4a] . [e0] P [50] . [e0] . [0e] . [94] 9 [39] . [05] [60] . [91] . [14] . [01] p [70] . [91] . [15] . [01] . [80] . [91] . [00] . [01] . [0e] . [94] . [1c] . [01] [60] . [91] . [14] . [01] p [70] . [91] . [15] . [01] . [89] . [e0] . [0e] . [94] . [1c] . [01] . [1f] . [91] . [0f] . [91] . [ff] . [90] . [ef] . [90] . [df] . [90] . [cf] . [90]
avrdude: Recv: . [10]
######### | 100% 0.21s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0002
0x34 != 0x62
avrdude: verification error; content mismatch
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done. Thank you.

De toute évidence le bootloader est là et il fonctionne puisque le téléchargement fonctionne.
Seulement ça plante à la vérification...
Bizarre

L'alim est-elle ok ?
Peux tu vérifier que tu as bien quelque chose proche de 5V entre VCC et GND ?

L'alim est OK
et il y'a bien les 5V

Bonjour,

Question bête, est-ce que le programme envoyé sur la carte marche quand même si tu reset manuellement ?
Ça sent le bootloader brické à plein quand même cette histoire d'erreur à la vérification.

Oui le programme fonctionne même après avoir appuyé un sur le bouton reste

bart143b:
Oui le programme fonctionne même après avoir appuyé un sur le bouton reste

C'est bizarre ça ... le bootloader doit vraiment voir un truc ...

solution?
upload + shift ---> (Upload using Programmer)

je nais parle fr
sorry

elgreco:
solution?
upload + shift ---> (Upload using Programmer)

Pour utiliser cette option il faut un programmateur d'avr, ou au minimum une carte arduino avec le programme ArduinoISP, ce qui n'est pas le cas ici.

To use this method you need an AVR programmer, or at least an arduino board with ArduinoISP, who is not the case here.

(parfois j'arrive à faire pire que google trad ... :roll_eyes:)