(gdb) n
Reset_Handler () at startup_stm32f10x_hd.c:262
262 SystemInit();
(gdb) n
268 __Init_Data();
(gdb) n
271 main();
(gdb) n
Breakpoint 1, DEV_ReadCommSets () at device.c:980
980 for (i = 0; i < COMM_MAX_SETS; i++)
(gdb) n
982 value = BytesToDword(&DEV_ReadData[i * 4]);
(gdb) n
984 pSets->value = value; //运行这条语句后进入硬中断void HardFault_Handler(void){ while(1){} }中,不知道为什么?
(gdb) n
HardFault_Handler () at stm32f10x_it.c:61
61 {
(gdb) n
64 {}
此帖出自小平头技术问答
一周热门 更多>