====== Burning the Arduino bootloader with PA-328d ====== The following was tested with Arduino 1.8.5. You'll need: * A 5V USBtiny-compatible AVR programmer similar to [[https://www.ebay.com/itm/USBTiny-USBtinyISP-AVR-ISP-programmer-for-Arduino-bootloader-Meag2560-uno-r3/222309741667?epid=2133920222&hash=item33c2b17463:g:z2gAAOSwo4pYI0WC|this one]]. The [[https://www.adafruit.com/product/46|Adafruit USBtiny]] should work too but isn't tested. * A tabbed 6-pin IDC cable. One typically comes packaged with the USBtiny-compatible board. * A populated [[https://gitlab.com/mithat/Arduino-programming-board|PA-328d]] PCB. * One or more ATMEGA328P-PU ICs that you want to burn the Arduino bootloader onto. ===== Configure the USBtiny-compatible ===== {{:arduino:pa_328d:usbtiny-config.jpg?direct|}} * Make sure the jumper in the upper left corner is installed. * Plug the tabbed 6-pin IDC cable into the receptacle. ===== Configure the PA-328d ===== {{:arduino:pa_328d:pa-328d-config.jpg?direct|}} * Plug the tabbed 6-pin IDC cable into the ICSP receptacle. ===== Configure the Arduino IDE ===== {{:arduino:pa_328d:tools-menu-config.png?direct|}} - Under //Tools > Board: // select //Arduino/Genuino Uno//. - Under //Tools > Programmer: // select //USBtinyISP//. It doesn't matter if a sketch is loaded in the editor. ===== Burning the bootloader ===== Plug the USBtiny compatible in to your computer via USB. Then for each ATMEGA328P-PU you want to burn the bootloader onto: - Insert the ATMEGA328P-PU into the ZIF socket and lock the latch. - In the IDE, select //Tools > Burn Bootloader// and wait a few seconds for the process to complete. - Unlock the ZIF socket and remove the ATMEGA328P-PU. Repeat the above as needed for additional ICs.