From 9dd58be51c51273e7ccb2094115ea101d06701d6 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 28 Dec 2019 17:36:39 +1300 Subject: Add Pi Zero OpenOCD target configuration --- pi-zero.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pi-zero.cfg diff --git a/pi-zero.cfg b/pi-zero.cfg new file mode 100644 index 0000000..9895056 --- /dev/null +++ b/pi-zero.cfg @@ -0,0 +1,15 @@ +transport select jtag + +adapter_khz 2000 +adapter_nsrst_delay 300 +reset_config trst_only + +set _CHIPNAME rpi +set _CPU_TAPID 0x07b7617f + +jtag newtap $_CHIPNAME arm -irlen 5 -expected-id $_CPU_TAPID + +set _TARGETNAME $_CHIPNAME.arm +target create $_TARGETNAME arm11 -chain-position $_TARGETNAME +rpi.arm configure -event gdb-attach { halt } +rpi.arm configure -work-area-phys 0x2F0000 -work-area-size 8096 -- cgit v1.1