The documentation indicates that the new nRF52 supports SWO for debug.
Is there any simple example code to get this working?
The documentation indicates that the new nRF52 supports SWO for debug.
Is there any simple example code to get this working?
Last time I did anything with a Cortex-M4F the function to send a single character was
__STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch)
Which worked in the Keil uVision compiler and sent a single character over the Instruction Trace Module channel #0.
I wrote a post with more detail information about how to use SWO in here