ALL-AVR-Programmer and ATxmega128A1 JTAG/PDI

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

 

Hi,

 

I have an AVR XMega-A1 Evaluation Board in front of me, which I can program over PDI using the ALL-AVR-Programmer.

 

I know that the PDI of the AVR XMega-A1 Evaluation Board uses the same pins with different labels for PDI and JTAG.

 

The following table extracted from the User Guide shows the PDI and JTAG labels of the Evaluation Board:

 

pdi jtag pin label table

 

I have another IC -for the sake of clarity i will call this circuit Optimus-Prime-Board- in front of me which also has a JTAG interface and uses the ATxmega128A1 CPU. The JTAG interface is labelled in this fashion:

 

Pin JTAG
1 TCK
2 GND
3 TDO
4 VTREF
5 TMS
6 NSRST
7 VSUPP
8 NTRST
9 TDI
10 GND

 

It is obvious to me that the Optimus-Prime-Board follows the standard layout of the JTAG interface and the AVR Xmega Eval Bord does not.

 

 

 


 

What I want to know is:

 

1.) I do not know wether or not the Optimus-Prime-Board has the ability to do PDI over the same pins in the fashion the XMega Eval-Board does.  Is this ability something which is special to the Eval Board or does every IC in the world, which has a JTAG interface implicitly have PDI over the same pins?

 

2.) Can I program the Optimus-Prime-Board using PDI by connecting its pins 2 (GND), 3 (TDO), 6 (NSRST) and 7 (VSUPP) to the ALL-AVR-Programmer?

 


 

Thanks in advance

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

Labels can be mis-leading.

 

Do you have a schematic for the Optimus-Prime Board?

 

PDI programming requires Vcc, Gnd, Reset\, and PDI.

 

The Reset\ signal is on Pin 90.

The PDI signal is on Pin 89.

 

If you are using a BGA then have a look in the Data Sheet for the pin out.

 

JC

 

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

ketlik85 wrote:
1.) I do not know wether or not the Optimus-Prime-Board has the ability to do PDI over the same pins in the fashion the XMega Eval-Board does. Is this ability something which is special to the Eval Board or does every IC in the world, which has a JTAG interface implicitly have PDI over the same pins?

 

I do not believe so.  I think PDI is Atmel exclusive.

 

ketlik85 wrote:
2.) Can I program the Optimus-Prime-Board using PDI by connecting its pins 2 (GND), 3 (TDO), 6 (NSRST) and 7 (VSUPP) to the ALL-AVR-Programmer?

As long as your board connects those pins to the PDI port I would think it will.

 

ketlik85 wrote:
It is obvious to me that the Optimus-Prime-Board follows the standard layout of the JTAG interface and the AVR Xmega Eval Bord does not.

I just googled JTAG INTERFACE PINOUTS and looked at the images and quite frankly, the only standard I see is the signals used.  The layout can be somewhat arbitrary.  I do see one particulat layout:

Image result for jtag interface pinouts

Appear very frequently, which neither the AVR xmega board, nor your Optimus follows. 

From wikipedia:

 

No mention of pinout standards mentioned either.

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user