summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-12-11 08:51:12 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-12-28 16:05:25 +0100
commit5ed6b039f589931389bf01bad0f0ca8cea6e9d2e (patch)
tree816aa119f1952305b85bba28e59d21ad690a12d2
parentc05e7261887f1a4280e083b5cbd0e57b9d6480c0 (diff)
downloadsigrok-dumps-5ed6b039f589931389bf01bad0f0ca8cea6e9d2e.tar.gz
sigrok-dumps-5ed6b039f589931389bf01bad0f0ca8cea6e9d2e.zip
swd: Move README into the respective dir(s).
-rw-r--r--swd/ftdi_openocd/README (renamed from swd/README)31
-rw-r--r--swd/stlink_openocd/README53
2 files changed, 54 insertions, 30 deletions
diff --git a/swd/README b/swd/ftdi_openocd/README
index 572bfd9..7951a58 100644
--- a/swd/README
+++ b/swd/ftdi_openocd/README
@@ -6,7 +6,7 @@ This is a set of example captures of the ARM SWD (version 1) protocol.
Details:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0031c/index.html
-(Registration required)
+(registration required)
Logic analyzer setup
@@ -56,32 +56,3 @@ Command line:
OpenOCD args: -c "init; reset halt; flash fillw 0 0xabbabeeb 2048; exit"
-
-* stlink_openocd/
-
-Using an STLINK-V2 adapter via OpenOCD 0.9.0 development
-version. Device under test is a Nordic nRF51822.
-
-Command line:
-
- $ openocd -f interface/stlink-v2.cfg -c 'transport select hla_swd' \
- -f target/nrf51.cfg
-
-** stlink_openocd/init.sr
- Intiliasing device, IDCODE read, etc.
- OpenOCD args: -c "init; exit"
-
-** stlink_openocd/init_write_0xabbabeeb.sr
- Initialise, write 20 bytes of 0xabbabeeb at start of RAM.
- OpenOCD args: -c "init; halt; mww 0x20000000 0xabbabeeb 20; exit"
-
-** stlink_openocd/wait_retry.sr
- Capture showing an SWD WAIT with overrun mode not enabled (in contrast to
- ftdi_openocd/wait_retry.sr), adapter immediately retries and gets an OK
- response.
-
- For this capture OpenOCD was patched with this change (known to induce
- SWD WAITs): http://openocd.zylin.com/#/c/2204/
-
- OpenOCD args: -c "init; reset halt; flash fillw 0 0xabbabeeb 2048; exit"
-
diff --git a/swd/stlink_openocd/README b/swd/stlink_openocd/README
new file mode 100644
index 0000000..f7540cb
--- /dev/null
+++ b/swd/stlink_openocd/README
@@ -0,0 +1,53 @@
+-------------------------------------------------------------------------------
+SWD
+-------------------------------------------------------------------------------
+
+This is a set of example captures of the ARM SWD (version 1) protocol.
+
+Details:
+http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0031c/index.html
+(registration required)
+
+
+Logic analyzer setup
+--------------------
+
+ Probe SWD
+ ---------------
+ 0 swclk
+ 1 swdio
+
+
+Data
+----
+
+Different SWD sessions showing different types of behaviour:
+
+* stlink_openocd/
+
+Using an STLINK-V2 adapter via OpenOCD 0.9.0 development
+version. Device under test is a Nordic nRF51822.
+
+Command line:
+
+ $ openocd -f interface/stlink-v2.cfg -c 'transport select hla_swd' \
+ -f target/nrf51.cfg
+
+** stlink_openocd/init.sr
+ Intiliasing device, IDCODE read, etc.
+ OpenOCD args: -c "init; exit"
+
+** stlink_openocd/init_write_0xabbabeeb.sr
+ Initialise, write 20 bytes of 0xabbabeeb at start of RAM.
+ OpenOCD args: -c "init; halt; mww 0x20000000 0xabbabeeb 20; exit"
+
+** stlink_openocd/wait_retry.sr
+ Capture showing an SWD WAIT with overrun mode not enabled (in contrast to
+ ftdi_openocd/wait_retry.sr), adapter immediately retries and gets an OK
+ response.
+
+ For this capture OpenOCD was patched with this change (known to induce
+ SWD WAITs): http://openocd.zylin.com/#/c/2204/
+
+ OpenOCD args: -c "init; reset halt; flash fillw 0 0xabbabeeb 2048; exit"
+