This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to switch from JTAG to SWD?

At https://developer.arm.com/documentation/ddi0413/c/debug-access-port/swj-dp/swd-and-jtag-select-mechanism there is the step:

  • Send the 16-bit JTAG-to-SWD select sequence on SWDIOTMS. 

The 16-bit JTAG-to-SWD select sequence is defined to be 0111 1001 1110 0111, MSB first. This can be represented as 16'h79E7 transmitted MSB first or 16'hE79E when transmitted LSB first.

This is not the same thing.

  • 16'h79E7 transmitted MSB first is 16'hE779 transmitted LSB first.

Or does this actually not matter?

In case it does matter, which one is correct? I see code online with either implementation.

Parents Reply Children
No data