Other Parts Discussed in Thread: WMBUS
请问有没有能获取当前任务堆栈使用情况的API,历史最高使用堆栈大小的API等
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我这边用ccs去debug会报这个错误
Cortex_M3_0: Failed Board Reset: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 9.11.0.00128)
Cortex_M3_0: GEL: Error while executing StartUp( 12, 3, 0, 3006 ): Reset failed: retcode=-1
at GEL_AdvancedReset("Board Reset") [cc26x0.gel:29]
at StartUp(12, 3, 0, 3006)
IcePick_C: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may be one or more of: no XDS100 is plugged in, invalid XDS100 serial number, blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the XDS100 can be located. (Emulation package 9.11.0.00128)
可能存在以下问题:
对的 是堆栈溢出了,
在实际应用中,ISR Stack 溢出可能会导致系统崩溃或者数据损坏等问题,因此需要进行充分测试和验证
您可以试着使用以下方法解决问题 :增加 ISR Stack 大小、减少中断处理时间、使用静态分配或全局变量
堆栈溢出发生时,通常会导致系统异常或者死机。这是因为栈溢出会破坏程序的数据结构和内存空间,可能会覆盖其他重要的变量、指针等,造成程序逻辑混乱甚至崩溃。