[SOLVED] EFR32MG1PXXXF256 SWO Tracing fail

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] EFR32MG1PXXXF256 SWO Tracing fail

    Hello,

    Using a EFR32MG1PXXXF256 on the starter board (silabs.com/documents/public/us…9-brd4153a-user-guide.pdf), I have created a demo LED flashing application using FreeRTOS.

    The tracing function does not work. Enabling it will occasionally produce the following message: "failed to activate SWO data capture: SWO trace cannot be started: invalid core frequency". Other times, it will just not produce any data to populate the timeline or the instruction trace
  • Hi,
    Thank you for your inquiry.

    It seems like the generic SWO initialization is not sufficient to enable SWO on this device.
    We put implementation of the special handling on our feature request list but cannot provide a fixed timeline yet.
    But I would guess sometime next week, if everything goes smoothly (again no guarantee).

    Stay up-to-date regarding J-Link:
    segger.com/notification/subscribe.php?prodid=7,94

    If you do not want to wait for that, you could implement the necessary steps yourself via a J-Link Script file.
    All necessary initialization steps, that are not Coresight specific would have to be added to an SWO_EnableTarget() function.
    Example:
    - Clocking TPIU
    - Selecting correct pin and enable SWO pin function
    -...

    Best regards,
    Fabian
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.