1

I have a bunch of ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware.

After a Google search I learn the ATMEGA16U2 is often hosted on the Arduino boards as USB converter and there some hacks to reprogram it. But this is not my goal... I'm trying to understand how to compile and download the firmware using Arduino IDE and this MCU as target.

I guess (also from this old question) I need to update both the bootloader and the specification of the board.

Questions:

  1. before reinvent the wheel are you aware of a ready-to-use porting for ATMEGA16U2? I did a search find nothing relevant

  2. what is the official guide to update the files (bootloader + boards.txt) to support a new MCU? I find forum threads only

Mark
  • 293
  • 1
  • 7
  • this could help https://arduino.stackexchange.com/questions/54484/adding-a-custom-board-to-the-arduino-ide/60660#60660 using AVR core as referred core – Juraj Nov 25 '21 at 08:15
  • @Juraj thanks I'm reading the answer - but as said it's again a public forum... where is the official documentation that explains in detail each step? – Mark Nov 25 '21 at 08:24
  • there is a link in the answer to the official doc, but there is no tutorial – Juraj Nov 25 '21 at 08:27
  • @Juraj I saw but it's about `arduino-cli`. If it's correct I'm going to study it :) – Mark Nov 25 '21 at 08:29
  • Arduino IDE uses the arduino-cli – Juraj Nov 25 '21 at 08:29
  • Ok, because it's not installed by default I didn't understand that. – Mark Nov 25 '21 at 08:41
  • I don't agree with the decision of closing the question. Actually, my questions are precise and different than what reported in the other answers. – Mark Nov 28 '21 at 08:23

0 Answers0