This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Availabilty of trace data with ST-Link debug adapter

Hi,

Does the ST-Link debug adapter support logging of trace data?
I'm using a Nucleo board and according to the schematic the SWO pin on the target MCU is connected to the debug adapter, but there is no Trace Data menu item under View/Trace.

In the documentation only the ULink adapter is mentioned to be used with trace data. I did not find any information whether this feature is supported by other adapters or not.
A feature matrix could be really helpful I think.

I think I have seen trace data with other adapters earlier. Like Freescales's Freadom board or NXP's LPCXpresso, but I have to check.

In case of the ST-Link adapter there is no option for SWJ in the settings window of the adapter. Might it be the problem? May I assume that only those adapters support this feature which has SWJ option?

Thanks and regards,
Laszlo

Parents
  • Hi Reinhard,

    Thanks for your quick and kind reply.
    These documents you have referenced were really helpful.

    Now it seems that the trace feature somewhat works, but I can not find what I really want to use, the Instruction Trace window.

    I can not find any menu item to activate it. Could you please give me a hint what can be the reason for this?

    I have an MDK-ARM Professional license, so I hope the problem is not license related.
    This board has an STM32F303RE MCU with CM4F and ETM.

    Thanks fro your kind help in advance.

    Best regards,
    Laszlo

Reply
  • Hi Reinhard,

    Thanks for your quick and kind reply.
    These documents you have referenced were really helpful.

    Now it seems that the trace feature somewhat works, but I can not find what I really want to use, the Instruction Trace window.

    I can not find any menu item to activate it. Could you please give me a hint what can be the reason for this?

    I have an MDK-ARM Professional license, so I hope the problem is not license related.
    This board has an STM32F303RE MCU with CM4F and ETM.

    Thanks fro your kind help in advance.

    Best regards,
    Laszlo

Children
No data