Lowering PDI Clock Frequency

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm having trouble programming a board with an ATxmega256A3U on it and was wanting to try lowering the PDI Clock Frequency, but I can't an option in AS 7 or anywhere else for that matter.  There must be a way to do this.  Anyone..?

 

EDIT: I'm using a genuine Atmel JTAGICE mkII.

This topic has a solution.

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!

 

Last Edited: Mon. Dec 14, 2015 - 02:54 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, generally you don't need to touch the PDI clock speed.

 

There is a requirement on the ISP programming speed for Mega's and Tinies, but I don't think I've seen one listed for the Xmegas.

 

The PDI interface uses a Clock and a Data Signal, (and Ground).

A PDI programmer generates the PDI clock signal, which, in fact, has a minimum value.

 

I don't think you should need to adjust it if you are using true blue Atmel tools.

 

Commercial PCB, New Design, Breadboard?

 

Keep the programming cable short if you are having difficulties.

 

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am having trouble programming an A4U device and also wanting to slow down PDI. AS7, with a true-blue AVRISP Mk2 which has never given me issues before with FW 1.18. Both A4U on PCB.

 

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

DOH!!!

 

It appears the gray 10-pin to 6-pin adapter that I thought was for PDI is for something else..?  I switched from the JTAGICE to an AVR Dragon and had the same issue using the adapter and got the same results.  When I ran jumpers directly from the Dragon's PDI connector to the PCI connector on the target board, it worked!  I can now program and debug via PDI.

 

What's that saying "when you assume you..."

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!