Solving “The connected emulator does not support serial wire output (SWO)” for Segger J-Link

SWO (Serial Wire Output) is a cool feature defined by ARM as part of the CoreSight debug block. However, not every debug connection supports SWO, as it requries extra pins routed from the microcontroller to the debug JTAG/SWD header.

If I’m using the Segger J-Link, and if my hardware does not support SWO, I will get a dialog telling me “The connected emulator does not support serial wire output (SWO).”

The connected emulator does not support serial wire output (SWO)

The connected emulator does not support serial wire output (SWO)

That dialog shows up for every debug session. But there is an easy way in Eclipse using the GNU ARM Eclipse Segger plugins (e.g. used in Freescale Kinetis Design Studio V1.x-V3.0):

  1. Go the debug/launch configuration for your project (menu Run > Debug Configurations)
  2. Select your debug configuration, and in the ‘Startup’ tab, make sure ‘EnableSWO’ is disabled:

    Disabled SWO

    Disabled SWO

  3. Save your settings with the ‘Apply’ button

Now there should be no such dialog any more.

Happy Debugging 🙂

Links

4 thoughts on “Solving “The connected emulator does not support serial wire output (SWO)” for Segger J-Link

  1. Pingback: Tutorial: Using Single Wire Output SWO with ARM Cortex-M and Eclipse | MCU on Eclipse

    • Hi,
      you have to *disable* that SWO option in the debugger.
      In any case: enable it, press the apply button (you might need to change somethign else so you can apply), then disable the SWO option and press apply again.

      Like

Leave a reply to Dairo Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.