From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/DAP/html/group__DAP__SWJ__Pins.html | 163 +++++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 docs/DAP/html/group__DAP__SWJ__Pins.html (limited to 'docs/DAP/html/group__DAP__SWJ__Pins.html') diff --git a/docs/DAP/html/group__DAP__SWJ__Pins.html b/docs/DAP/html/group__DAP__SWJ__Pins.html new file mode 100644 index 0000000..3611a19 --- /dev/null +++ b/docs/DAP/html/group__DAP__SWJ__Pins.html @@ -0,0 +1,163 @@ + + + + + +DAP_SWJ_Pins +CMSIS-DAP: DAP_SWJ_Pins + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DAP +  Version 2.0.0 +
+
Interface Firmware for CoreSight Debug Access Port
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
+ +

Control and monitor SWD/JTAG Pins. +More...

+

Control and monitor SWD/JTAG Pins.

+

The DAP_SWJ_Pins Command is used to monitor and control the I/O Pins including the nRESET Device reset line.

+

The Pin Wait time is useful in systems where the nRESET pin is implemented as open-drain output. After nRESET is de-asserted by the debugger, external circuit may still hold the target Device under reset for a time. Using the Pin Wait time, the debugger may monitor selected I/O Pins and wait until they the expected value appears or a timeout expires.

+

I/O Pin Mapping for the fields Pin Output, Pin Select, and Pin Input:

+
    +
  • Bit 0: SWCLK/TCK
  • +
  • Bit 1: SWDIO/TMS
  • +
  • Bit 2: TDI
  • +
  • Bit 3: TDO
  • +
  • Bit 5: nTRST
  • +
  • Bit 7: nRESET
  • +
+

DAP_SWJ_Pins Command:

+
| BYTE | BYTE ******| BYTE ******| Word ****|
+
> 0x10 | Pin Output | Pin Select | Pin Wait |
+
|******|************|************|**********|
+
    +
  • Pin Output: Value for selected output pins
  • +
  • Pin Select: Selects which output pins will be modified
  • +
  • Pin Wait: Wait timeout for the selected output to stabilize
      +
    • 0 = no wait
    • +
    • 1 .. 3000000 = time in µs (max 3s)
    • +
    +
  • +
+

DAP_SWJ_Pins Response:

+
| BYTE | BYTE *****|
+
< 0x10 | Pin Input |
+
|******|***********|
+
    +
  • Pin Input: Pin state read from target Device.
  • +
+
+
+ + + + -- cgit