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

freertos & logging

Hi All,

I would like to use FreeRTOS in my project. I try to play with the examples/ble_peripheral/ble_app_hrs_freertos project.

I have enabled logging with RTT. The program is working well, I can connect with JLinkRTTClient and I have seen log messages. And when I try to logging in a task ble_stack_thread function for example the first line of function:

NRF_LOG_INFO("Task started\r\n");

it goes to HardFault_c_handler with address 0x20002db8. When I comment this log messages it works well.

It seems to be some problem with FreeRTOS and logging.

I changed port_cmsis_systick.c as suggested here: devzone.nordicsemi.com/.../

I use Debian Linux/Eclipse and SDK version is: nRF5_SDK_12.3.0_d7731ad

thnx Zamek

Related