0

Step by step procedure for firmware upload using AVRDUDE
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Step by step procedure for firmware upload using AVRDUDE

by prince11jose on Sun May 26, 2013 2:28 pm

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....
prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

by adafruit_support_rick on Sun May 26, 2013 8:50 pm

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

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Step by step procedure for firmware upload using AVRDUDE

by prince11jose on Wed May 29, 2013 4:37 am

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

by prince11jose on Thu May 30, 2013 1:40 pm

Hi,
Will this IC take in the spokepov.hex ATtiny2313A-PU.
prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

by adafruit_support_rick on Thu May 30, 2013 3:20 pm

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.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Step by step procedure for firmware upload using AVRDUDE

by prince11jose on Fri May 31, 2013 4:22 pm

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

Re: Step by step procedure for firmware upload using AVRDUDE

by prince11jose on Sun Jun 09, 2013 11:17 am

Hi,
I was not able to get 56ohm or 68ohm bussed resistor, is it possible to use 1kohm bussed resistor.
prince11jose
 
Posts: 5
Joined: Wed May 22, 2013 12:17 pm

Re: Step by step procedure for firmware upload using AVRDUDE

by adafruit_support_rick on Sun Jun 09, 2013 12:27 pm

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.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.