Where can I finf 328 P with bootloader ?

Hi

I am a new arduino user but I'm doing electronics for years.

I made a prototype with an arduino nano for the home automation of my house and I would like to make more compact cards now.

where can I find 328P (the same as on nano card) with the preloaded arduino bootloader ?
does it exist? (the opposite would surprise me)
are they marked with a particular reference?

Thanks in advance.

I haven't seen the SMD version (like on your Nano) preloaded with the bootloader, but there are a variety of places that sell the DIP version. What country do you live in?
Adafruit is in the US.
Freetronics and Core Electronics sell them in Australia.
And of course there is always Aliexpress.

Hi

I am in France.
I saw the DIP on Ebay but I need a LQFP.

if I understand correctly, I have to go through ISP
considering that 99% of the 328 must be sold for arduino I swore they had a factory bootloader. :frowning:

thanks

That's correct, the 328 doesn't come with a factory bootloader so you'll probably need to program it yourself. I can't say that I've ever seen a SMD 328 with Optiboot preloaded onto it.

petitours:
considering that 99% of the 328 must be sold for arduino I swore they had a factory bootloader. :frowning:

The TQFP part can be bought with the bootloader added, on eBay for instance, but its not that common.

Its actually cheaper to buy a clone UNO and use that to program the 328 yourself.

can I directly program the 328 with my Arduino binary or should I first load the bootloader and then load my program arduino by the serial bootloader link ?

tanks

petitours:
can I directly program the 328 with my Arduino binary

In the IDE;

Sketch\Upload using programmer

Wipes out the bootloader if there was one.

(deleted)

srnet:

petitours:
can I directly program the 328 with my Arduino binary

In the IDE;

Sketch\Upload using programmer

Wipes out the bootloader if there was one.

Keep in mind when you program the bootloader using the IDE, that is when the fuses are programmed. So, if you plan to program the sketch directly and therefore not use the bootloader, burn the bootloader first, then program your sketch, OR set the fuses to the values you need separately with a programmer and avrdude. Ideally you would set the fuses so execution does not start in the bootload section, that is done by not programming Boot Reset vector fuse. Read the data sheet for the MCU.

Here is some more information:

and a handy fuse calculator online: