Using EasyEDA I've designed a standalone Arduino nano and plan to have a small PCB manufactured by jlcpcb. I've used the Nano's user manual as a reference for the PCB; within this scope I've used the same microcontroller (ATMEGA168-20AU) and kept close to the original design.
The circuit is modestly basic and will use a blank target ATMEGA168 placed by jlcpcb - my question is - From a programmer Arduino, do I flash the bootloader and program the target micro through the ICSP (left hand side) or is something else required for bootloader plus program? Is the circuit schematic sufficient to work? (could be opening a can of worms here in asking that)
Thanks
-
1I do not see any high frequency bypass capacitors.Gil– Gil2022年01月11日 23:06:15 +00:00Commented Jan 11, 2022 at 23:06
-
1Add the capacitors suggested in the answer (you can look to the manual for reference), and as good practice, add a pin header with several extra pins on it. This has saved my butt countless times. They won't take up much space at all and you never know when they might come in handy, even just for testing.AJ_Smoothie– AJ_Smoothie2022年01月12日 14:17:53 +00:00Commented Jan 12, 2022 at 14:17
1 Answer 1
You program the chip through ICSP, yes. Whether or not you include a bootloader is optional - you don't need a bootloader to program through ICSP, that is only for if you want to program through the UART pins and a USB to UART adapter.
Your circuit doesn't appear to include any "bypass" capacitors. These are small capacitors (usually 100nF) placed close to each power (VCC) pin on all chips. These are not optional and are required for the proper running of the chip.