Programming Arduino NANO Every (ATMega4809) using UPDI

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

The flashing method is interesting, but not safe.
According to the documentation, JTAG2UPDI must have a resistor on the UPDI line (~4.7kΩ). But with this resistor, the ATmega4809 controller in Arduino Every cannot be flashed.
According to the Arduino Every schematic, the UPDI pin is connected via a transistor to the USB controller. Because of this, the line cannot be pulled below 2.7 V (3.3 V - 0.6 V) unless you apply a current that the USB controller cannot handle (around 30 mA).
Directly connecting the ATmega328 pin to the UPDI pin allows for a higher current (greater than the absolute maximum).
However, in this case, both the programmer (ATMega328) and the Arduino Every USB controller may be damaged.

-Oleksandr-.
visit shbcf.ru