Arm Mbed OS support forum

Deep sleep profiling tool not working

Using the mbed-os-cellular-example, I’m checking to see if the processor can deep sleep at the end of the example. Invoking “sleep_manager_can_deep_sleep_test_check()” I see that deep sleep is not possible. I enabled the deep sleep profiling tool with “-DMBED_SLEEP_TRACING_ENABLED” and nothing prints out. I am using the MTS_DRAGONFLY_L471QG. Running a small example program, it is able to deep sleep and the profiling tool works… kind of. It at least sends out a massive amount of “LOCK:…” “UNLOCK”:…" messages. So I know the profiling tool works to some extent on this platform. Can anyone tell me what might block the profiling tool from printing?