SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By beefy
#169495
I have a working Uno clone board.

I bought a couple of bootloaded ATMEGA328P-PU chips (Optiboot) and tried them in my Uno board. When I tried to download a sketch to them the TX led blinked faintly, that's it, and I got the typical stk500 synchronisation message. Put the original chip back in and everything working fine.

I asked the Ebay vendor if the chips should work in an Uno board but they didn't answer that question, they only said to hook it up to a crystal, etc and a serial connection. Are there different versions of bootloaders, and some won't work in an Uno (clone) board.

My intention was to just pop the bootloaded AVRs into my Uno board, download the sketch to them then use the AVRs standalone in a circuit.

Is my thinking wrong. I've also just seen on Youtube that this could mean the AVRs are not actually bootloaded.

Cheers,

Keith.
By Mee_n_Mac
#169508
beefy wrote: Are there different versions of bootloaders, and some won't work in an Uno (clone) board.
Yes, some are made to work at different speeds, ie 8 or 16 MHz.
beefy wrote: I've also just seen on Youtube that this could mean the AVRs are not actually bootloaded.
Correct. If you were to buy a 328p MCU from ATmel, it would not have a bootloader program pre-loaded into it's flash.

https://www.sparkfun.com/products/9061
https://www.sparkfun.com/products/10524
https://learn.sparkfun.com/tutorials/in ... bootloader
By beefy
#169537
Thanks Mee_n_Mac,

I would have thought the vendor would clearly state if the bootloader was for 8Mhz.

My Google searches led me to some buyers experiences where supposedly bootloaded AVRs actually had no bootloader. I wonder if I had that problem.

I ended up burning the bootloader myself using my Uno clone as an ISP, and putting the ATMEGA328 on a breadboard. Worked great and afterwards I could program sketches onto them using my Uno board.

Keith.