SmartieParts problems
Posted: Sat Sep 15, 2012 4:34 pm
Dear All, hope that someone can help with this one!
Having received my SmartieParts (rev. 2.3) I went about installing it in my Turnigy 9x.
What can I say, it cold not be easier!
I am however experiencing some issues with programming and reading data from the 9x.
When I first updated the unit with the latest er9x I got an error during verify, and a blank LCD in the 9x.
Hitting the 'Write flash' button a few more times still brought up the same message, but now I got the 'Bad EEPROM, hit any key to format' of the 9x LCD.
Pressing a key, the 9x formatted the EEPROM and I thought all was fine, just some glitch.
But...
As I tried to read EEPROM I again got an error from AVRDUDE; 'wrong reading bytes b8'.
Same error presents itself when I tried to read the flash.
Here is a dump of the AVRDUDE output;
=================================================================================
Started AVRDUDE
C:/Program Files/companion9x/avrdude.exe -c usbasp -p m64 -v -v -U flash:r:C:/Program Files/companion9x/templates/test.hex:i
=================================================================================
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\companion9x\avrdude.conf"
Using Port : lpt1
Using Programmer : usbasp
avrdude.exe: seen device from vendor ->www.fischl.de<-
avrdude.exe: seen product ->USBasp<-
AVR Part : ATMEGA64
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 MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 64 0 no 2048 8 0 9000 9000 0xff 0xff
flash 33 6 128 0 yes 65536 256 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x1e9602
avrdude.exe: reading flash memory:
Reading | ####avrdude.exe: error: wrong reading bytes b8
=================================================================================
AVRDUDE done - exit code 1
=================================================================================
To resolve this I have tried/checked;
I have rev. 2 of the board in the 9x
Drivers are working fine
I have tried several different USB cables (ones I used for other embedded projects as well)
Re-opened the 9x to clean the pads, and confirmed that the pads have little indentations from the pogos.
What should I try next?
Has anyone experience this as well?
Cheers,
Patrik
Having received my SmartieParts (rev. 2.3) I went about installing it in my Turnigy 9x.
What can I say, it cold not be easier!
I am however experiencing some issues with programming and reading data from the 9x.
When I first updated the unit with the latest er9x I got an error during verify, and a blank LCD in the 9x.
Hitting the 'Write flash' button a few more times still brought up the same message, but now I got the 'Bad EEPROM, hit any key to format' of the 9x LCD.
Pressing a key, the 9x formatted the EEPROM and I thought all was fine, just some glitch.
But...
As I tried to read EEPROM I again got an error from AVRDUDE; 'wrong reading bytes b8'.
Same error presents itself when I tried to read the flash.
Here is a dump of the AVRDUDE output;
=================================================================================
Started AVRDUDE
C:/Program Files/companion9x/avrdude.exe -c usbasp -p m64 -v -v -U flash:r:C:/Program Files/companion9x/templates/test.hex:i
=================================================================================
avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\companion9x\avrdude.conf"
Using Port : lpt1
Using Programmer : usbasp
avrdude.exe: seen device from vendor ->www.fischl.de<-
avrdude.exe: seen product ->USBasp<-
AVR Part : ATMEGA64
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 MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 4 20 64 0 no 2048 8 0 9000 9000 0xff 0xff
flash 33 6 128 0 yes 65536 256 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/
avrdude.exe: auto set sck period (because given equals null)
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x1e9602
avrdude.exe: reading flash memory:
Reading | ####avrdude.exe: error: wrong reading bytes b8
=================================================================================
AVRDUDE done - exit code 1
=================================================================================
To resolve this I have tried/checked;
I have rev. 2 of the board in the 9x
Drivers are working fine
I have tried several different USB cables (ones I used for other embedded projects as well)
Re-opened the 9x to clean the pads, and confirmed that the pads have little indentations from the pogos.
What should I try next?
Has anyone experience this as well?
Cheers,
Patrik