2020-11-10 1:41 PM
Hello,
I am using STM32F4 (nucleo F439ZI), so Cortex-M4. I am trying to enable ETM tracing and see something on TRACE pins, I am using STLINK for SWD and observing TRACE pins with an oscilloscope. I enable the trace pins on pin configuration, and enable -I think- trace related things in debug regs and then tried various things with ETM regs but I cannot see any output from TRACE pins. Is there any hint or a guide to do this ?
Thanks.
Mete
Solved! Go to Solution.
2020-11-13 1:37 PM
I realized even if I select trace output for GPIOs in STM32CubeMX configuration, the pins were not initialized as such in the autogenerated code. So initializing them manually solved the isse.
2020-11-10 2:09 PM
The register configuration is shown here, may have other debugger side dependencies. Probably want the technical materials from ARM for debugger writers.
2020-11-13 1:37 PM
I realized even if I select trace output for GPIOs in STM32CubeMX configuration, the pins were not initialized as such in the autogenerated code. So initializing them manually solved the isse.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.