Can I bootload Atmega 328P-MU microcontroller on a seperate PCB? If yes how?

Hi,

I am facing problems in bootloading the ATMEGA 328P - MU in a SMD version.

Below is the link of the part that I ordered.

https://www.digikey.de/products/de?keywords=ATMEGA328P-MU-ND

Can anybody help me with this?
Thanks in advance.

Yes, connect it up the same way as any other ATMega328p - use reset and the SPI pins to program the bootloader using an ISP programmer, and then use the serial pins, and the DTR reset circuit for programming via serial.

There's nothing special about the SMD version, you just need to check the pinout diagram and make sure you're connecting to the correct pins.

Here's one way to connect up a minimal 328P-AU

Having easy access to the SPI pins D11-D12-D13-Reset-Pwr-Gnd makes bootloading a lot easier, and then Rx/Tx/DTR for serial downloads/debugging via Serial prints.

This board has all but 1 cap on the bottom.

why does it have 2 identical 0.1uF decoupling capacitors?

Is this for cost/space saving?

Each VCC pin and and the AVCC pin should have a 0.1uF cap. In this case, 1 cap is shared between pins 4 & 6, and another is located near pin 18 on the other side of the chip. 1 cap each on pins 4 and 6 would have been a little better, but 1 shared seems to work okay here.

aha I see!! So on the schematic is looks like 2 parallel capacitors but on the board they're on different pins.

That makes sense. THANK YOU!