SEGGER's J-Link RTT Viewer can show log messages without CPU idle mode. But it can't show log messages with CPU idle mode.
SEGGER's J-Link RTT Viewer can show log messages without CPU idle mode. But it can't show log messages with CPU idle mode.
Hello,
The problem is that you run __WFI() from your main thread rather than letting the execution return to the idle thread. This will block the logger thread and prevent your logs from being processed.
You can replace __WFI() with k_sleep() or similiar, or let the program return from main().
Best regards,
Vidar
Hello,
The problem is that you run __WFI() from your main thread rather than letting the execution return to the idle thread. This will block the logger thread and prevent your logs from being processed.
You can replace __WFI() with k_sleep() or similiar, or let the program return from main().
Best regards,
Vidar
Thanks for your reply!