This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I use Logic Analyzer for nRF52 and ulink2?

I'd like to use Logic Analyzer in uVision 5.2 and ulink2 for analyzing variables in nrf52832. In my understanding, I need to use SWO and configure Trace setting properly for that.

I found Rick's guide and a "Cortex-M Debugging" setting guide of ULINK2 User's Guide.

1)Connected P0.18 of nRF52 with the 6th pin in Cortex Debug Connector of ulink2.

2)Configured Debug Driver and Trace as the document "Cortex-M Debugging" says.

image description

image description

image description

3)Define "ENABLE_SWO"in Preprocessor Symbols.

image description

However, I cannot see any signals in Logic Analyzer window and receive a status error message "Trace: No Synchronization" in the debug session.

image description

This document says No Synchronization problem "might be caused by an incorrect configuration of the Core Clock in the trace setup.", but I believe my setting is correct(64MHz).

I really need your help. Thank you.

Parents Reply Children
No Data
Related