Go Down

Topic: ATMEGA16 and Bootloaders. (Read 3584 times) previous topic - next topic

Gitbox

I have finally learned how to upload hex into AVRDUDE using an Arduino as an ISP , but I can't get an ATMEGA16a to respond with the Blink code AVRDUDE says that all is well with the upload.  Does this chip need a bootloader??????

Coding Badly


We'll need the provenance of your ATMEGA16a.

Gitbox

#2
Jan 21, 2011, 08:17 pm Last Edit: Jan 21, 2011, 08:19 pm by wmoore6924 Reason: 1
Do you mean "provenance" as in the origin of the chip? It's an Atmel. I got it from Mouser. According to the Atmel datasheet, it's supposed to be a direct replacement for the Atmega16. That's all that I know about this thing. I'm sorry for being such a newbie.

Coding Badly


That's a good start.  We now know that it is very unlikely that the processor had a bootloader installed by someone else.  We also know that it is very likely unaltered from the factory.

What has happened to the processor since it came into your hands?  For example... Have you changed the fuses?  Have you connected an external crystal?  Have you connected a resistor to RESET?  What core did you use (which board was selected when you built your Sketch)?

An answer your direct question... So long as you use an ISP (in your case, an Arduino) then the processor will not need a bootloader.  If you decide to use a serial connection for uploading then you will need a bootloader.  ...the answer is it depends on how you want to upload Sketches.

Go Up