summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2016-11-20 19:31:06 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2016-12-26 18:31:53 +0100
commit575a77a66daead3a0dd2824091de2e3caa966202 (patch)
tree3aa1b00b2d74afd96cbe8e677467848a58ec04f3
parent377211e85bf42d4b9ce588fcb22dd988449355e9 (diff)
downloadsigrok-dumps-575a77a66daead3a0dd2824091de2e3caa966202.tar.gz
sigrok-dumps-575a77a66daead3a0dd2824091de2e3caa966202.zip
avr_pdi: add dumps for ATxmega flash programming (PDI)
Add dumps for the Atmel Program and Debug Interface (PDI). Identify an ATxmega128A1 device, write to and read from flash memory.
-rw-r--r--avr_pdi/atxmega128a1/README42
-rw-r--r--avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-verify-blinky.srbin0 -> 5558 bytes
-rw-r--r--avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-write-blinky.srbin0 -> 12243 bytes
-rw-r--r--avr_pdi/atxmega128a1/atxmega128a1-pdi-identify.srbin0 -> 5339 bytes
4 files changed, 42 insertions, 0 deletions
diff --git a/avr_pdi/atxmega128a1/README b/avr_pdi/atxmega128a1/README
new file mode 100644
index 0000000..0a11434
--- /dev/null
+++ b/avr_pdi/atxmega128a1/README
@@ -0,0 +1,42 @@
+-------------------------------------------------------------------------------
+AVR PDI / Atmel ATxmega128A1
+-------------------------------------------------------------------------------
+
+These are example captures of the Atmel Program and Debug Interface (PDI).
+
+The programmer is Atmel's JTAG ICE III and avrdude 6.0.1. The target device
+is an ATxmega128A1 (Atmel's Xplained eval board).
+
+
+Logic analyzer setup
+--------------------
+
+The logic analyzer used was an Asix Sigma2 (at 10MHz):
+
+ Probe Signal
+ -----------------------
+ 1 RESET / PDI_CLK
+ 2 PDI_DATA
+
+
+Data
+----
+
+The following activities were captured:
+
+- Identify a target device:
+ avrdude -c jtag3pdi -p x128a1
+
+- Program (write) a blinkenlight firmware:
+ avrdude -c jtag3pdi -p x128a1 -Uflash:w:blinky.hex
+
+- Verify (read back) the blinkenlight firmware:
+ avrdude -c jtag3pdi -p x128a1 -Uflash:v:blinky.hex
+
+The protocol decoder can extract data when used like this:
+
+- Get the bytes which form the PDI requests and responses:
+ sigrok-cli -i atxmega128a1-pdi-identify.sr -P avr_pdi -B avr_pdi=bytes | hexdump -Cv
+
+- Get the interpreted PDI instructions and their data:
+ sigrok-cli -i atxmega128a1-pdi-identify.sr -P avr_pdi -A avr_pdi=cmd-data
diff --git a/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-verify-blinky.sr b/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-verify-blinky.sr
new file mode 100644
index 0000000..262e600
--- /dev/null
+++ b/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-verify-blinky.sr
Binary files differ
diff --git a/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-write-blinky.sr b/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-write-blinky.sr
new file mode 100644
index 0000000..0952efb
--- /dev/null
+++ b/avr_pdi/atxmega128a1/atxmega128a1-pdi-flash-write-blinky.sr
Binary files differ
diff --git a/avr_pdi/atxmega128a1/atxmega128a1-pdi-identify.sr b/avr_pdi/atxmega128a1/atxmega128a1-pdi-identify.sr
new file mode 100644
index 0000000..0e5c0aa
--- /dev/null
+++ b/avr_pdi/atxmega128a1/atxmega128a1-pdi-identify.sr
Binary files differ