Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

tvbgone program ATtiny85
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

tvbgone program ATtiny85

by Uenzen on Tue Dec 21, 2021 1:30 pm

Hi,

some days ago I ordered two tvbgone kits (christmas gift). I assembled the kits late in the evening - the first kit
worked as expected, the second one didn't. I have managed to insert the CPU in the wrong position, the CPU
became very hot.... Great.

Be it - as I had some fresh ATtinys85 at my disposal - including also an USBtiny programmer - I downloaded the
hex file fm the Adafruit website (matching firmware for v1.2 PCB design) and programmed the CPU

a) I connected an 8MHz external resonator to the USBtiny programmer
b) I configured Arduino 1.8.6 for the ATtiny85 (8MHz external clock)
c) I burned the bootlader (tools of Arduino 1.8.16)

AVRDude replied successful programming.

Next I programmed with AVRDude the tvbgone.hex file into the CPU:

avrdude -p attiny85 -P usb -c usbtiny -U flash:w:\temp\tvbgone.hex

And also here AVRDude reported a successful programming so I started the test:

d) I exchanged the CPU of the functional kit against the new, fresh programmed one.....and the IR-Leds
started immidiately to work - that is to say that tvbgone starts when the power supply was applied
without using the tact switch. Normally I would have expected

- I connect the 5V to board
- I push the button on the PCB
- the green LED lit shortly
- tvbgone starts to work

And so it works on the first kit - of which the ATtiny85 was preprogrammed.

Since three day I agonise over the behavior of the ATtiny I have programmed.....Where the hell I
made a mistake, did I miss somewhere add. information ???

Hence I dare to ask for help

tvbgone.hex
(22.46 KiB) Downloaded 8 times

Uenzen
 
Posts: 2
Joined: Tue Dec 21, 2021 11:35 am

Re: tvbgone program ATtiny85

by Uenzen on Fri Dec 24, 2021 9:38 am

Problem solved, succeeded to program the ATtiny as the original one.

Uenzen
 
Posts: 2
Joined: Tue Dec 21, 2021 11:35 am

Re: tvbgone program ATtiny85

by franklin97355 on Fri Dec 24, 2021 7:08 pm

Glad you were able to get going, enjoy your adventure.

franklin97355
 
Posts: 22604
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: tvbgone program ATtiny85

by hberg32 on Tue Feb 15, 2022 3:01 pm

I'm actually trying to do the exact same thing. What did you have to do to get it to work? I would have thought it necessary to at least include the avrdude flags to set the fuses like this: -B 250 -u -U lfuse:w:0xfd:m -U hfuse:w:0xdf:m

hberg32
 
Posts: 41
Joined: Mon Apr 07, 2014 2:38 pm

Please be positive and constructive with your questions and comments.