0

Burning the firmware using an arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Burning the firmware using an arduino

by spacedementia87 on Mon Jul 11, 2016 4:19 am

I am trying to complete this project from scratch and I have successfully turned my arduino into an ISP programmer and have confirmed that it is working by uploading the LED blink sketch.

However now I need to upload the TV-B-Gone firmware. However it is a hex file and I cannot see a way of uploading that through the arduino IDE.

So i tried avrdude directly:
Code: Select all | TOGGLE FULL SIZE
/usr/bin/avrdude -c arduino -p attiny85 -P /dev/ttyUSB0


and I get this:

Code: Select all | TOGGLE FULL SIZE
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: Expected signature for ATtiny85 is 1E 93 0B
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.


This seems like it is trying to talk to the arduino chip rather than the attiny. How do I fix this?

Also as a side note:

The v1.2 kit can be configured for either N.A. and EU zone which avoids this problem!


How do I configure it to use one or the other?

spacedementia87
 
Posts: 9
Joined: Thu Jul 07, 2016 4:49 am

Re: Burning the firmware using an arduino

by hiduino on Fri Aug 05, 2016 1:07 am

If you are using the ArduinoISP sketch, you need to specify the serial baud rate to 19200 on the avrdude option, -b 19200. Otherwise it will initiate the Uno bootloader instead.

hiduino
 
Posts: 860
Joined: Sat Sep 01, 2012 7:05 pm

Re: Burning the firmware using an arduino

by claytoncamilleri100 on Sat Aug 06, 2016 5:22 am

Sorry to interrupt but I have the same problem I mean what about the other files to upload? Or I just need to install the hex file.

claytoncamilleri100
 
Posts: 3
Joined: Tue Jul 22, 2014 7:06 am

Re: Burning the firmware using an arduino

by spacedementia87 on Sun Aug 07, 2016 3:36 am

The way I did it was to use the Arduino IDE to upload a LED blink sketch to the ATtiny and made sure verbose was on.

I then looked at the command issued in the consequences window and used that to upload the hex file!

spacedementia87
 
Posts: 9
Joined: Thu Jul 07, 2016 4:49 am

Re: Burning the firmware using an arduino

by Geekineer on Fri Aug 12, 2016 3:56 pm

thanks for the question - super newbie here - trying to do the same thing - download hex file without IDE
into BLE 32u4. Can you explain - 'consequences window'. Is this a feature of the IDE? Will I see command line
like instrustions to do the hex load directly via avrdude/usb serial....?
Thanks,

Geekineer
 
Posts: 19
Joined: Wed Nov 04, 2015 1:05 pm

Please be positive and constructive with your questions and comments.