Getting Verification Error with FTDI and sample program

Moderator: adafruit

Getting Verification Error with FTDI and sample program

Postby GUGLHUPF » Sun Feb 15, 2009 5:11 pm

Hi

I am getting Verification errors when trying to upload the sample sprite hex file onto the Fuzebox with AVRDude under WIN XP. [I am new to all this]

What is working:
1) Build it verification tests
2) Bootloader with Hello World shows multicolor and when I press the joystick shows keys
3) Can connect to the board via FTDI
4) LED blinks 3 times upon reset and I changed the setting for the FTDI to always to a reset

What is not Working:
- I am getting a verification error message when trying to load the sprite example and after reboot see the Hello World again
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0002
0x71 != 0xce
avrdude: verification error; content mismatch
[FULL LISTING BELOW]


System:
- Fuzebox kit from Aadfruit
- FTDI cable from ADAFRUIT
- AVRDUDE version 5.5
- WINDOWS XP


:Maybe someone can help me with this.


C:\WORKING>avrdude -p m644 -c stk500v1 -P \\.\COM17 -v -U flash:w:spritedemo-v2.
hex

avrdude: Version 5.5, compiled on Dec 19 2007 at 21:17:54
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "C:\WinAVR-20071221\bin\avrdude.conf"


Using Port : \\.\COM17
Using Programmer : stk500v1
AVR Part : ATMEGA644
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 Max
W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
eeprom 65 10 128 0 no 2048 8 0 9000 90
00 0xff 0xff
flash 33 6 256 0 yes 65536 256 256 4500 45
00 0xff 0xff
lock 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0
0 0x00 0x00

Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9609
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed

To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "spritedemo-v2.hex"
avrdude: input file spritedemo-v2.hex auto detected as Intel Hex
avrdude: writing flash (39684 bytes):

Writing | ################################################## | 100% 9.53s

avrdude: 39684 bytes of flash written
avrdude: verifying flash memory against spritedemo-v2.hex:
avrdude: load data flash data from input file spritedemo-v2.hex:
avrdude: input file spritedemo-v2.hex auto detected as Intel Hex
avrdude: input file spritedemo-v2.hex contains 39684 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 8.34s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0002
0x71 != 0xce
avrdude: verification error; content mismatch

avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK

avrdude done. Thank you.
GUGLHUPF
 
Posts: 2
Joined: Sun Feb 15, 2009 4:31 pm

Re: Getting Verification Error with FTDI and sample program

Postby adafruit » Wed Feb 18, 2009 7:10 pm

out of curiosity, does it run otherwise?
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Getting Verification Error with FTDI and sample program

Postby GUGLHUPF » Thu Feb 19, 2009 9:12 pm

Hmm. Not sure what otherwise means. When I plug it in I see "Hello World, colored bars and when I move the joystick symbols like j,k and others show up."

Not much I can do as it stands being unable to program it.
GUGLHUPF
 
Posts: 2
Joined: Sun Feb 15, 2009 4:31 pm


Return to Fuzebox

Who is online

Users browsing this forum: mibignistinly and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]