3

I am following this guide. Now I want to create the Create the "ArduinoCore library". But when I am creating a new project, I can not select ATmega16U2 as MCU type.

But my Arduino Due R3-E and UNO SMD R3 both use ATmega16U2.

What shall I do O_o???

asked Jul 25, 2014 at 7:31
3
  • They may have it, but you don't actually use it. Commented Jul 25, 2014 at 8:06
  • What do you mean with this? Why do I not actually use it? Commented Jul 25, 2014 at 8:13
  • 1
    Although you can't do it with the Eclipse AVR plugin, you can change the firmware of the 16U2. Commented Jul 25, 2014 at 13:13

1 Answer 1

5

The ATmega16U2 on those boards isn't intended to be programmable by the end-user. It's only there to help convert from USB to TTL serial, which lets your computer communicate with the board's main microcontroller. It replaces the FTDI chip which was used on some older boards.

In the case of the Uno, the main microcontroller is the ATmega328. For the Due, it's the AT91SAM3X8E. If you want to program them from the Arduino IDE, you can usually just select the board by name from the drop-down menu.

answered Jul 25, 2014 at 10:58
2
  • Thank you very much for your answer. Like I said, I want to program arduino using eclipse. So when I am prompted to tell the MCU type and MCU frequency, it's about the main MCU and not the USB to TTL serial? Commented Jul 26, 2014 at 9:57
  • Yes, that's correct. It needs to know about the main MCU because different chips have different features, and that affects how it compiles some of the underlying Arduino code. Commented Jul 26, 2014 at 11:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.