Closed maxgerhardt closed 3 years ago
Hi,
I have only added support to the newer AVR families (so the UPDI protocol) via EDBG programmer (which uses the jtag3
class). But it looks to me like JTAG2UPDI is actually based on JTAG MK2, like you said. This programmer uses the class jtag2
in avarice, which would need to be modified to support the UPDI protocol.
So the answer would be that no, sadly it's not supported.
I can't really add the support for it since I don't have a device to test it on. But if you'd like to try to do it, I can assist you. You would need to take the changes I've done for the jtag3
class and port them to jtag2
. They are described on the project's README and hopefully the implementation wouldn't be very different for the jtag2
.
Closing this since it's getting fairly old. Please let me know if you need further assistance.
First all, thanks for this fork, seeing UPDI support in avarice looks really promising!
For my issue: I'm unsure how to start avarice for my particular board.
It's a Arduino Nano Every with a ATMega4809 chip. It has a SAMD11 chip on board as a programmer. I can flash the firmware fine using avrdude with
So some firmware must be flashed on the SAMD11 that implements that JTAG2UPDI protocol The Arduino page says it's the Arduino MuxTO bootloader.
I can compile this program on linux just fine (just execute the last few lines in the build sh script), but when I start it with what I think is right I get
FYI, when plugging the device, dmesg shows
When I try it with the
-2
switch since avrdude says its using JTAG MK2..it tries a synchronization until it reaches 9600 baud and then hangs.
Is the Arduino Nano Every supported? How do I start avarice in this particular case?