Step by step procedure for firmware upload using AVRDUDE

SpokePOV kit for bikes

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Step by step procedure for firmware upload using AVRDUDE

Post by prince11jose »

Hi,
I'm a mechanical engineer and I don't know how to upload the spokePOV.hex file and other .c, .h, makefile and stuff. Could you give me step by step instruction, how to upload the files using AVRDUDE. I'm using the parallel port and the programmer on the PCB schematic (DASA AVR Programmer). I've downloaded the spokepovfirmware1_01.zip, there are about 6 files in it. Please help....

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Step by step procedure for firmware upload using AVRDUDE

Post by adafruit_support_rick »

All you need is the hex file. The .c, .h, makefile, etc. are sources in case you want to make your own modifications to the firmware.

But first, let me ask why you are trying to do this? The SpokePOV comes with a pre-programed chip.

We have a couple of tutorial pages which should get you going with avrdude:
http://www.ladyada.net/make/usbtinyisp/avrdude.html

and
http://www.ladyada.net/learn/avr/avrdude.html

prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

Post by prince11jose »

Hi,
I'm doing it just out of curiosity, I saw that tutorial page it is helpful.

Thanks
Prince Jose

prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Post by prince11jose »

Hi,
Will this IC take in the spokepov.hex ATtiny2313A-PU.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Step by step procedure for firmware upload using AVRDUDE

Post by adafruit_support_rick »

The ATtiny2313A is a newer, low-power version of the ATtiny2313/V. But I'm not seeing anything at all to suggest that the A is not fully compatible with the V. You should be OK with that.

prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

Post by prince11jose »

Thank You.

prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

Post by prince11jose »

Hi,
I was not able to get 56ohm or 68ohm bussed resistor, is it possible to use 1kohm bussed resistor.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Step by step procedure for firmware upload using AVRDUDE

Post by adafruit_support_rick »

prince11jose wrote:Hi,
I was not able to get 56ohm or 68ohm bussed resistor, is it possible to use 1kohm bussed resistor.
Ah, so you're rolling your own SpokePOV.
1k resistors will cut the current to the LEDs down to 1 or 2mA. The ~60ohm resistors regulate the current to around 25mA. Your LEDs will be very dim, if they light up at all.

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

Return to “SpokePOV (discontinued)”