Question
usage fault occored at STL_SCH_RunFlashTM()
rtos: zephyr
MCU: STM32H723VET6
Package: en.x-cube-classb-h7 v4.0.0
I‘m working on make my program running on H7 to meet the requirements of Class B.
The CPU and RAM test works well both on startup and run-time. I haven't prepared the CRC precalculated area and only want to see the Flash test failure, but the Flash test stuck at STL_SCH_RunFlashTM().
From CubeIDE I can get the stake message as belows. But I have no idea how to prevent it from fault.
Thread #1 [main] 1 [core: 0] (Suspended : Signal : SIGTRAP:Trace/breakpoint trap)
z_arm_usage_fault() at fault_s.S:80 0x802e808
<signal handler called>() at 0xfffffffd
VerifyAllSections() at 0x8021b38
STL_TM_FLASH_RunTM() at 0x8021aa2
STL_SCH_RunFlashTM() at 0x8020d9e
STL_RunFullTest() at classb_st.c:188 0x8027ce4
stl_classb_init() at classb_st.c:438 0x8027d80
z_sys_init_run_level() at init.c:247 0x8037394
z_cstart() at init.c:528 0x8037506
0x31538a
and the final core registers value are:

my source is totolly the same as the sample.


