1 -------------------------------------------------------------------------------
2 AVR PDI / Atmel ATxmega128A1
3 -------------------------------------------------------------------------------
5 These are example captures of the Atmel Program and Debug Interface (PDI).
7 The programmer is Atmel's JTAG ICE III and avrdude 6.0.1. The target device
8 is an ATxmega128A1 (Atmel's Xplained eval board).
14 The logic analyzer used was an Asix Sigma2 (at 10MHz):
17 -----------------------
25 The following activities were captured:
27 - Identify a target device:
28 avrdude -c jtag3pdi -p x128a1
30 - Program (write) a blinkenlight firmware:
31 avrdude -c jtag3pdi -p x128a1 -Uflash:w:blinky.hex
33 - Verify (read back) the blinkenlight firmware:
34 avrdude -c jtag3pdi -p x128a1 -Uflash:v:blinky.hex
36 The protocol decoder can extract data when used like this:
38 - Get the bytes which form the PDI requests and responses:
39 sigrok-cli -i atxmega128a1-pdi-identify.sr -P avr_pdi -B avr_pdi=bytes | hexdump -Cv
41 - Get the interpreted PDI instructions and their data:
42 sigrok-cli -i atxmega128a1-pdi-identify.sr -P avr_pdi -A avr_pdi=cmd-data