SWO EnableTarget and DWT, ITM

  • Hello,

    is it possible to get running DWT counters on SWO with the linux version of JlinkGDBserver v4.7.4?

    Let me explain it.

    By starting the JlinkGDBserver I should be able to read raw SWO data on port 2332. To enable SWO receive in JLink device, I should emit the command SWO EnableTarget x x x x. Probably it configures the JLink device to receive SWO data, ITM, DWT (as shown in the JLink manual (Example code for enabling SWO out of the target application). This configuration can overrides my settings for DWT, ITM (e.g. global timestamps) etc.

    There is a command SWO start x x. Is it possible to use this command to enable forwarding of the JLink SWO to the port 2332?

    Why I am asking: I would like to use the SWO Analyzer app (not using J-Link config) and problably implement own on-line parser in the future.

    Martin

    Edited once, last by wella-tabor (September 19, 2013 at 10:34 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!