Hi All,
I have Arduino UNO R3 board. With the development board, I have demonstrated my project. Now, I want to design a custom board with ATMEGA328P-PU (MCU) and ATMEGA16U2MU-R which act as USB to UART converter in the Arduino board.
Coming to the programming the microcontroller in the Arduino board, from the Arduino IDE, I will just dump the hex which will be received by ATMEGA16U2MU-R that does USB to UART protocol conversion and send it to the ATMEGA328P-PU microcontroller over UART. The microcontroller should have had UART bootloader to flash it's internal memory with the hex received over its UART.
Here, my question is that if I am buying the ATMEGA328P-PU (MCU) from Microchip instead Arduino, the microcontroller will be having the UART bootloader code on the chip (Or) I have to write the UART bootloader code myself. In the case I am writing the bootloader code, Is there any reference code that will help me.
Please suggest.
Thanks and Regards,
Muthu