-
Hello, I'm having trouble using AVRDUDE 7.2 to program the ATXMEGA128A4U from a Raspberry Pi 4 board. Normally, I program the 128A4U through the PDI port from Microchip Studio without problems. Also, I normally run an app on the Pi which talks to the 128A4U through the SPI 0 without problems. So, the Pi has both the PDI connections and SPI connections to the 128A4U board. The PDI reset is pulled up on the 128A4U board. I do not have USB on the 128A4U board. When I try using linuxspi or linuxgpio, I receive errors (see below). I adjusted the .conf file to use GPIO1 for the RESET line, and GPIO1, 9, 10, and 11 for the bit bang lines. I have tried using slower baud rates for the SPI. I have tried using AVRDUDE 6.3. LINUXSPI ERROR:
LINUXGPIO ERROR:
Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
As of now, linuxspi and linuxgpio do not support PDI/UPDI/JTAG/DebugWire, only ISP. |
Beta Was this translation helpful? Give feedback.
-
@stefanrueger shouldn't Avrdude print a sensible error message when the programmer and the part don't share a common programming interface? EDIT: Lines 1113 to 1117 in 08b82ea |
Beta Was this translation helpful? Give feedback.
As of now, linuxspi and linuxgpio do not support PDI/UPDI/JTAG/DebugWire, only ISP.