You Are Here: Home » AVR ATmega Projects » Programming AVR ATxMega using USBasp and ATxmega microcontroller

Programming AVR ATxMega using USBasp and ATxmega microcontroller




ATxmega programmer has different interface than 8-bit AVRs. It uses PDI interface instead of ISP. If you don’t want to buy new programmer for ATxmega you can try this little hack done by Szu. He uses USBASP (USB in-circuit programmer for Atmel 8-bit AVR controllers) with some modification to program AVR ATxmega. The hack convert SCK line to PDI DATA and MOSI becomes PDI CLK. Be sure to drop SCK and MOSI voltage from 5V to 3.3V using zener and resistor since PDI operates at 3,3V.

 Programming AVR ATxMega using USBasp

Next step is upgrading your USBASP Firmware with new firmware that supporting PDI.

For more detail: Programming AVR ATxMega using USBasp and ATxmega microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
TIL311 / INL0397-1 Hexadecimal Display usning AVR microcontroller

Pin numbers: PIN 1 LED SUPPLY VOLTAGE PIN 2 LATCH DATA INPUT B PIN 3 LATCH DATA INPUT A PIN...

Close
Scroll to top