Chip not programmed?

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
geraet2
 
Posts: 3
Joined: Mon Jun 21, 2010 6:04 am

Chip not programmed?

Post by geraet2 »

Hi,

after soldering, most LEDs went on. With touching some pins of the attiny the on-LEDs change in a random way. May be, that touching the clock input of the serial->parallel latches causes this behavior.
I re-soldered all contacts, checked them more than twice... but no change.

So I assembled the serial programmer and tried to download the firmware (read from chip):
I think this worked fine.

Code: Select all

user@machine:~>avrdude -c dasa -p attiny2313 -P /dev/ttyS0 -n -U flash:r:Flash.hex:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e910a
avrdude: reading flash memory:      
Reading | ################################################## | 100% 1.30s
avrdude: writing output file "Flash.hex"
avrdude: safemode: Fuses OK
avrdude done.  Thank you.
But the Flash.hex file contains contains only

Code: Select all

:00000001FF
This seems like a end-of-file mark to me (the spokepov.hex from http://www.ladyada.net/make/spokepov/ ends with this, too)

Now my question - can it be that my ATtiny2313V came without firmware?
Can I burn the firmware to it with this command?

Code: Select all

avrdude -c dasa -p attiny2313 -P /dev/ttyS0 -U flash:w:spokepov.hex
thanks in advance

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

Re: Chip not programmed?

Post by adafruit »

that is very unusual, but thank you for alerting us. we will double check and also send you a new chip. Please email support@adafruit with a link to this post and your address to receive a new SpokePOV chip

User avatar
geraet2
 
Posts: 3
Joined: Mon Jun 21, 2010 6:04 am

Re: Chip not programmed?

Post by geraet2 »

hm, the EEPROM seems to be programmed - with wxSpkePOV (via wine) I can download nice pictures (biohazard, "spoke pov", a rectangle, adafruit-logo)

thus the connection works for shure - but the chip flash seems to be empty

User avatar
geraet2
 
Posts: 3
Joined: Mon Jun 21, 2010 6:04 am

Re: Chip not programmed?

Post by geraet2 »

I managed to program the attiny2313 yesterday (just before playing arround with wxSpokePOV)...
It works fine now.

The command was (taken from the Makefile)

Code: Select all

user@machine:~>avrdude -c dasa -p attiny2313 -P /dev/ttyS0 -U lfuse:w:0xe4:m -U hfuse:w:0x9d:m -U flash:w:spokepov.hex:i

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

Return to “SpokePOV (discontinued)”