AT90USB1286 & JTAGICE3

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

Hi all

 

Going to seem like a simple question, but can anyone confirm the wiring to connect the AT90USB1286 and JTAGICE3 together? The AT90USB1286 is listed as compatible with the JTAGICE3.

 

The datasheet for the AT90USB1286 says it uses PDI port with:

PDI = PB2

PDO = PB3

SCK = PB1

(plus reset, VCC, and GND)

 

The JTAGICE3 datasheet says the PDI adapter has:

PIN1 = DATA

PIN2 = VCC

PIN3 = NC

PIN4 = NC

PIN5 = CLK

PIN6 = GND

 

Doesn't seem to match up to me?

 

Cheers - Matt

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

There is no "PDI Interface" on AT90USB1286.
PDI, PDO, SCK are the pin names of "ISP Interface".
Please look at JTAGICE 3's ISP page.

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

The 90USB1286 uses JTAG for debugging and programming, and ISP for programming

 

The PDx interface you are looking at is for Serial Programming...AKA ISP

 

 

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

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

From page 373 of the datasheet:

 

30.7 Serial downloading
Both the Flash and EEPROM memory arrays can be programmed using a serial programming bus while RESET is pulled to GND. The serial programming interface consists of pins SCK, PDI (input) and PDO (output). After RESET is set low, the Programming Enable instruction needs to be executed first before program/erase operations can be executed. NOTE, in Table 30-14 on page 374, the pin mapping for serial programming is listed. Not all packages use the SPI pins dedicated for the internal Serial Peripheral Interface - SPI.

 

30.8 Serial programming pin mapping
Symbol Pins (TQFP-64) I/O Description
PDI    PB2  I    Serial Data in
PDO   PB3  O   Serial Data out
SCK   PB1  I    Serial Clock

 

Every other chip I've ever used (been using AVR's for about 20 years now) the ISP is listed on MOSI, MISO, SCK, etc.

 

Maybe its time to start using JTAG.

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

Why are you just playing words without trying real ISP connections?

The PDI in AT90USB1286 is "Programming Data Input", it is MOSI itself used in ISP.
The PDI in xmega is "Programming and Debugging Interface", it is completely different thing.

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

@kabasan,
See post #3.... I believe I said ISP
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

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

If you have a JTAG chip and a JTAG interface I would heavily favour a JTAG connection over ISP unless you really can't afford to "waste" the four pins involved. You can achieve over JTAG everything you can do with ISP but you get to do full on chip debugging too.