BLE doesn't work when I enable CONFIG_SEGGER_SYSTEMVIEW

Hi,

I'm trying to set up SEGGER SystemView on our custom nRF5340 board for debugging purposes using the SEGGER SystemView application.

Below is the configuration I'm using for SEEGER:

CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG=y
CONFIG_LOG_BACKEND_RTT=y

CONFIG_TRACING=y
CONFIG_THREAD_NAME=y
CONFIG_SEGGER_SYSTEMVIEW=y
CONFIG_SEGGER_SYSVIEW_POST_MORTEM_MODE=n
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_BACKEND_RTT=y

CONFIG_MAIN_STACK_SIZE=2048
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_IDLE_STACK_SIZE=1024

The issue arises when I enable CONFIG_SEGGER_SYSTEMVIEW=y. Once it's enabled, BLE stops working. After some debugging, I found that the firmware hangs during the bt_enable() call.

Could you please help me identify the cause of this issue or suggest how to resolve the conflict between SEGGER SystemView and BLE?

Thank you,
Alireza

Related