Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: Serial Wire Debug Hardware - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Serial Wire Debug Hardware Rate Topic: -----

#1 User is offline   badri89 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 09-June 12

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?
0

#2 User is offline   Joseph Yiu 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 217
  • Joined: 01-March 10

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
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic