In my quest for faster code uploads to AVR4809, today I explored using an Arduino Uno and JTAG2UPDI to create an UPDI programmer. It seemed to work quite well in the Arduino IDE. So I thought I’d give it a try in Platformio, but then whilst exploring the use of JTAG2UPDI in PIO, I found this.
I followed the link to an issue posted on github, but it’s unclear if the issue is resolved.
Anyone know if I can successfully configure pio to use JTAG2UPDI ?
Hi, as far as I am aware the issue has not been resolved.
If you look through my original postings I have detailed a work around, which means you can upload and run via UPDI, but you don’t have the full flexibility you should have.
One thing to note though is that if you set the fuses correctly you can configure it to use a “normal” FTDI which allows you to program but also serial monitor and debug a lot easier.
Thanks for replies, is using the ftdi solution easier than what Max is suggesting? I use FTDIs with my 4809s to do the serial comms.
Might you have any further info on what needs to be done ?
edit
thanks, but on reflection, I think what you’ve described is what I was doing via FTDI and a set up as diagrammatically described in Pyupdi here which became deprecated. I then progressed to Pymcuprog, but find that slow.