2020-10-15 09:31 AM
Hi,
I am currently using the STM32MP1-DK1 board in engineering mode
When I am debugging the program and stepping instruction by instruction in IAR, the debugging process is lost at a time during the execution.
I can execute the program and and I can insert breakpoint wherever I want. But, before the instruction msr msp, r0 in the function vPortStartFirstTask in the file portasm.s has been executing, if we stop the program execution by inserting a breakpoint, the debugging process is lost with the error:
A vector table read fault has occurred.
The processor has escalated a configurable-priority exception to HardFault. An MPU or Execute Never (XN) default memory map access violation has occurred on an instruction fetch (CFSR.IACCVIOL, MMFAR). A precise data access error has occurred (CFSR.PRECISERR, BFAR) at data address 0x34020000. Exception occured at PC = 0x1000ced8, LR = 0x10006e9d
2020-10-15 09:42 AM
It looks similar to
https://community.st.com/s/question/0D50X0000B422inSQA/stm32mp1-freertos-debug-issue
Could you please have a look there?