From 6f419b22f7e06d053e158f6512cc5fc050e63589 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Thu, 31 Jan 2019 03:26:02 +0200 Subject: [PATCH] [sq] apply proposed change --- doc/rpi3_jtag.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/rpi3_jtag.md b/doc/rpi3_jtag.md index 36cedd2..ba923ec 100644 --- a/doc/rpi3_jtag.md +++ b/doc/rpi3_jtag.md @@ -127,11 +127,9 @@ jtag newtap $_CHIPNAME arm -irlen 5 -expected-id $_CPU_TAPID set _TARGETNAME $_CHIPNAME.arm target create $_TARGETNAME arm11 -chain-position $_TARGETNAME -rspi.arm configure -event gdb-attach { halt } +$_TARGETNAME configure -event gdb-attach { halt } ``` -(@fixme: rspi.arm on last line should be `$_TARGETNAME` instead?) - [Source #1](https://electronics.stackexchange.com/questions/249008/how-to-use-rpi-2-to-debug-rpi-model-b-via-jtag-with-openocd/419724#419724), [source #2](https://sysprogs.com/tutorials/preparing-raspberry-pi-for-jtag-debugging/) ## Run OpenOCD, GDB and attach to target