Can not run FreeRTOS generated with CubeMx on STM32MP157C-DK2
Hi,
I am working with the STM32MP157c-DK2. All examples are working fine, but now I would like to use custom code. I generated some code using CubeMX for the development board. I used the default settings and enabled FreeRTOS additionally. I compiled the generated device tree file and pushed it to the board. Afterwards, I booted Linux on the A7 processor and launched my compiled FreeRTOS code on the M4 processor using remoteproc. The application crashed.
I used the eclipse debugger to locate the problem: The application crashes, while trying to start the first RTOS task, when calling the function prvPortStartFirstTask( void ) in port.c. As an error message the deugger gives me
Error: stm32mp15x.cpu2 -- clearing lockup after double fault
Polling target stm32mp15x.cpu2 failed, trying to reexamineI didn´t change a single line in the code generated from CubeMX. Any suggestions why my application crashes? Thank you for your help.
Robin
