# PGM-09825 Issue when programming ATXMEGA32A4U

**URL:** <https://community.sparkfun.com/t/pgm-09825-issue-when-programming-atxmega32a4u/46770>\
**Category:** Development Tools\
**Created:** [January 12, 2024, 6:29am UTC](https://community.sparkfun.com/t/pgm-09825-issue-when-programming-atxmega32a4u/46770 "2024-01-12T06:29:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pschless20](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pschless20](https://community.sparkfun.com/u/pschless20)\
**Post date:** [January 12, 2024, 6:29am UTC](https://community.sparkfun.com/t/pgm-09825-issue-when-programming-atxmega32a4u/46770/1 "2024-01-12T06:29:57Z")

</div>

Hello,

I am trying to program an ATXMEGA32A4U using the PGM-09825 pocket programmer from SparkFun through AVRDude. When attempting to confirm the connection before flashing code, I receive the following error:

 ![IMG_2602.JPG](https://canada1.discourse-cdn.com/sparkfun/original/3X/e/f/ef8e03168b1966b4468e7abd00f31944e8032a0c.jpeg)  
This was received after running: “avrdude -c usbtiny -p x32a4u” as mentioned to do in the programmer manual.

I also tried running this with the 2x3 PDI header connected both ways, so direction of the connection is not the issue. I also know that I can program this MCU using an avrispmkII programmer as that is what we have been using in the past.

Do I need to change any settings in my current AVRDude setup since this is a different type of programmer than we have been using before? Sorry if these questions seem too simplified, I am no expert with AVRDude. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![YellowDog](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/yellowdog/32/1782_2.png) [@YellowDog](https://community.sparkfun.com/u/YellowDog)\
**Post date:** [January 12, 2024, 10:03am UTC](https://community.sparkfun.com/t/pgm-09825-issue-when-programming-atxmega32a4u/46770/2 "2024-01-12T10:03:12Z")

</div>

Photo of your setup?
