»
Quick Links
Page 1 of 1
Serial Wire Debug Hardware
#1
Posted 09 June 2012 - 06:18 AM
Hi I have recently migrated from Arm7tdmi to cortex m3. We have a custom designed board where I was using ulink2. I tried with my cortex m3 and it worked fine. While reading the documentation, I was curious about Serial Wire Debug. Can you guys tell me how to connect the interface to my laptop? I understand we use two pins SWCLK and SWDIO, but how to connect it to our system?
#2
Posted 09 June 2012 - 05:47 PM
Hi,
You can use ULINK2 to connect the the Cortex-M3. It use the same connector, but will only use the TMS (as SWDIO) and TCK (as SWCLK).
Assume you are using Keil MDK, in the debugger option, you can select if you want to use JTAG or Serial Wire. By switching to Serial Wire Debug protocol, you can then use TDO for trace output (Serial Wire Output), and nTRST and TDI will be unused.
regards,
Joseph
You can use ULINK2 to connect the the Cortex-M3. It use the same connector, but will only use the TMS (as SWDIO) and TCK (as SWCLK).
Assume you are using Keil MDK, in the debugger option, you can select if you want to use JTAG or Serial Wire. By switching to Serial Wire Debug protocol, you can then use TDO for trace output (Serial Wire Output), and nTRST and TDI will be unused.
regards,
Joseph
Share this topic:
Page 1 of 1














