芯片,SWM320RET7,
RAM: 128KB
Flash: 512KB
环境,RT-Stdio
RT-Stdio中,添加lua语言包后,复位启动时报错hard fault on thread: main
\ | /
RT - Thread Operating System
/ | \ 4.1.1 build Dec 29 2022 08:40:09
2006 - 2022 Copyright by RT-Thread team
do components initialization.
initialize rti_board_end:0 done
initialize : 0x00000000
r00: 0x0000000c
r01: 0x000000b5
r02: 0x0000000c
r03: 0x000427cc
r04: 0xdeadbeef
r05: 0xdeadbeef
r06: 0xdeadbeef
r07: 0x20003700
r08: 0xdeadbeef
r09: 0xdeadbeef
r10: 0xdeadbeef
r11: 0xdeadbeef
r12: 0x00000000
lr: 0x00001731
pc: 0x000427cc
hard fault on thread: main
thread pri status sp stack size max used left tick error
tidle0 31 ready 0x00000044 0x00000100 26% 0x00000020 OK
main 10 running 0x00000048 0x00000800 10% 0x00000013 OK
usage fault:
SCB_CFSR_UFSR:0x02 INVSTATE
工程为BSP包拉取的工程,只做了一件事,就是添加lua语言包。然后编译、烧写。