Xmega PDI with JTAGICE mkii

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

I want to try using PDI with my Xmega and my JTAGICE mkii. I can make a cable using the squid. My JTAGICE has the correct hardware version. I've got AVR Studio version 4.18 build 692.

I've been using JTAG with my Xplain board, but I want to try PDI to verify that it works.

If I connect the JTAGICE to the Xmega with the PDI connection, and use the same procedure I've used for JTAG, will it work? Does the JTAGICE recognize that it should shift into PDI mode? Do I need to tell AVR studio I want PDI or is it automatic?

I don't want to smoke my JTAGICE.

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

For debugging you have no mode selection, so it will pick up PDI instead of JTAG if wired correctly. (I have used the squid cable and then a veroboard home made adaptor).

For programming then you need to select the correct mode.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Thanks. Yes, I will also make an adapter eventually. I don't like using the squid because every time I hook it up I can make a mistake.

I'm thinking the easiest way to make a permanent adapter is with squeeze on connectors and a ribbon cable. In this case, going to a JTAG connector on the board, 3 of the wires are straight through and the 4th requires a twist. Once squoze, I will cut off the unused wires.

But this requires a squeeze on male connector like the squid has. Until I get one, I will test with the squid.

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

I just used a small bit (25 x 15 mm) of veroboard with a 10 pin R/H header for the ICE on top and a 5 way (ony 4 connector used) straight socket at the bottom.

Pin 1 is heavily marked by red nail polish as I put it back to front once. :oops:

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly