Go Down

Topic: Arduino Problem - Is it dead? (Read 1 time) previous topic - next topic

madworm

Using the usbtiny is very simple.

a) use a 'naked' arduino board, nothing connected.
b) plug the 6pin header into the icsp port, red wire towards pin1
c) make sure you have shorted the jumper on the usbtiny to feed power to the arduino
d) use avrdude:

avrdude -c usbtiny -p atmega328p -vvvvv

The green light on the usbtiny should be on as soon as you plug it into your computer. The red light should get on/flicker when you run avrdude.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

smeezekitty

Worst comes to worst, you can get a new atmega 328 with bootloader. about $5.
Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

boku

#17
Jul 14, 2011, 05:56 am Last Edit: Jul 14, 2011, 05:58 am by boku Reason: 1
@madworm

Ok here goes, there is a lot of information to view, I wasnt aware of the 5th v, I've only seen 4 v's before, so thanks for that :)


Worst comes to worst, you can get a new atmega 328 with bootloader. about $5.


I may just end up doing that ... but still, would like to know exactly where this one has gone wrong ...


Too big to paste so its attached...


madworm

If the LEDs behaved as indicated before, the chip doesn't talk back. Either it is damaged, unpowered or doesn't respond due to messed up clocksource settings in the fuse bits.

If the red led didn't come on, avrdude can't talk to the usbtiny.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Go Up