Using the IDE 2.0.3 for a Atmel ATmega328PB Xplained Mini

I have been programming little things using Unos and Nanos a while, and recently bought an XMini because it is said to ease debugging. As a very first step I tried to upload some of my existing sketches into it, but while the com port in use is recognized by the computer, and it receives kind of a greeting/demo from the XMini (the convert characters to morse thing).

But any attempt to upload my sketch fails (the error message is avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00)

The docs seem to cover usage of the xMini with Microchip Studio (former Atmel Studio) only. Is the XMini generally incompatible with the Arduino IDE?

Thnx, Armin.

Hi @ArminLinder. It is necessary to install a special boards platform via the Arduino IDE Boards Manager in order to add support for the Atmel ATmega328PB Xplained Mini board. Did you do that? If so, please say which specific boards platform you used.

Hi ptillisch,

thanks for your quick response. I installed the appropriate "Atmel AVR XPlained-Mini" boards via the boards manager, and picked the model which matches what is written onto the board (ATmega328PB XPlained Mini), and selected it for use in the IDE. Seems to work, since on the bottom of my IDE the correct board type and COM port is shown.

Since I installed the correct board, the error message when trying to upload has changed:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb8

How about all the other settings, like "Programmer" and "Bootloader"? I found no reference for the ATmega328PB XPlained Mini about which are the correct ones to use.

Armin.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.