请问ti_sysbios_knl_ldle_loop__E是什么,为什么会进到这里面,我其他进程都卡死啦。。。
Viki Shi:
左边有标注—-TI RTOS idle task
Idle threads execute at the lowest priority in a TI-RTOS application and are executed one after another in a continuous loop (the Idle Loop). After main returns, a TI-RTOS application calls the startup routine for each TI-RTOS module and then falls into the Idle Loop. Each thread must wait for all others to finish executing before it is called again. The Idle Loop runs continuously except when it is preempted by higher-priority threads. Only functions that do not have hard deadlines should be executed in the Idle Loop.
推荐看一下右边文档了解一下TI RTOS的机制:http://dev.ti.com/tirex/explore/content/simplelink_cc13x2_26x2_sdk_3_30_00_03/docs/zigbee/html/tirtos/hwis_swis_idle.html
liu shr:
liu shr:
回复 liu shr:
现象是阻塞信号之前地址是28AC,卡死状态下地址变了
liu shr:
回复 liu shr:
降优化关掉以后就不会卡死
liu shr:
回复 Viki Shi:
liu shr:
回复 Viki Shi:
原因貌似是这个,,,为什么会出现地址跳变
Viki Shi:
回复 liu shr:
编译器优化会造成地址变化,根据优化级别,优化的规则不一样