swd_seq_dormant_to_jtag is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDswd_seq_dormant_to_jtag

swd_seq_dormant_to_jtag variable

Dormant-to-JTAG sequence. This is at least 8 TCK/SWCLK cycles with TMS/SWDIO high to abort any ongoing selection alert sequence, followed by a specific 128-bit selection alert sequence, followed by 4 TCK/SWCLK cycles with TMS/SWDIO low, followed by a specific protocol-dependent activation code. For JTAG there are two possible activation codes: - "JTAG-Serial": 12 bits 0x00, 0x00 - "Arm CoreSight JTAG-DP": 8 bits 0x0a We use "JTAG-Serial" only, which seams more generic. Since the target TAP can be either in Run/Test Idle or in Test-Logic-Reset states, Arm recommends to put the TAP in Run/Test Idle using one TCK cycle with TMS low. To keep the sequence length multiple of 8, 8 TCK cycle with TMS low are sent (allowed by JTAG state machine). Bits are stored (and transmitted) LSB-first.

Syntax

static const uint8_t swd_seq_dormant_to_jtag[] = { 0xff, 0x92, 0xf3, 0x09, 0x62, 0x95, 0x2d, 0x85, 0x86, 0xe9, 0xaf, 0xdd, 0xe3, 0xa2, 0x0e, 0xbc, 0x19, 0x00, 0x00, 0x00, };

References

LocationReferrerText
swd.h:230
static const uint8_t swd_seq_dormant_to_jtag[] = {
cmsis_dap.c:1278cmsis_dap_swd_switch_seq()
s = swd_seq_dormant_to_jtag;
ftdi.c:1232ftdi_swd_switch_seq()
jlink.c:2146jlink_swd_switch_seq()
s = swd_seq_dormant_to_jtag;

Data Use

Functions reading swd_seq_dormant_to_jtag
swd_seq_dormant_to_jtag
Type of swd_seq_dormant_to_jtag
swd_seq_dormant_to_jtag
uint8_t
all items filtered out