Getting Verification Error with FTDI and sample program

Moderator: adafruit

Please be positive and constructive with your questions and comments.
Locked
GUGLHUPF
 
Posts: 2
Joined: Sun Feb 15, 2009 5:31 pm

Getting Verification Error with FTDI and sample program

Post by GUGLHUPF »

Hi

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

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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Getting Verification Error with FTDI and sample program

Post by adafruit »

out of curiosity, does it run otherwise?

GUGLHUPF
 
Posts: 2
Joined: Sun Feb 15, 2009 5:31 pm

Re: Getting Verification Error with FTDI and sample program

Post by GUGLHUPF »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Fuzebox (discontinued)”