今天在调试代码时,发现注释掉某些初始化部分就会导致HardFault,查看相关寄存器发现是BusFault的IMPRECISERR引起的,在ARM的手册中是这么描述这个东西的: a data bus error has occurred, but the return address in the stack frame is not related to the instruction that caused the error. When the processor sets this bi…
标签: Fault
1 篇文章