Does the i.MX7D support outputting data through the TDO/SWO pin by code running on the Cortex-M4 core?
* I configured the debug port to SWD mode
* Connected an oscilloscope to the SWO pin
* On the M4 I tried to run various examples I found to output debug data through SWO.
The code runs without problems, but I couldn't see any toggling of the SWO pin. My conclusion is that either I missed some initialization such as turning on a clock or configuring the SWO pin, or the i.MX7D does not support SWO.
I attached the core routines `SWO_Enable()` and `SWO_SendDataPolling()` for reference.
Side note: I'm also interested whether the i.MX8 family supports SWO. But to keep the focus of the question, let's stay with the i.MX7D here.