TI中文支持网
TI专业的中文技术问题搜集分享网站

cc2640 oad

使用官方oad off chip 例程,添加了一个任务,优先级为4,当任务代码比较少时,系统运行正常。当任务代码达到一定规模时,能收索到蓝牙广播,但连接不上。继续添加代码,系统无法运行,进入ti_sysbios_knl_Swi_startup();函数后,无任何反应,调试信息如下:

xdc_runtime_Error_policySpin__E(struct xdc_runtime_Error_Block *, unsigned short, unsigned char *, int, unsigned int, int, int)() at Error.c:178 0x1001C412     
xdc_runtime_Error_raiseX__E(struct xdc_runtime_Error_Block *, unsigned short, unsigned char *, int, unsigned int, int, int)() at Error.c:114 0x1001C680     
xdc_runtime_Memory_alloc__E(struct xdc_runtime_IHeap___Object *, unsigned int, unsigned int, struct xdc_runtime_Error_Block *)() at Memory.c:55 0x1001C39E     
xdc_runtime_Memory_valloc__E(struct xdc_runtime_IHeap___Object *, unsigned int, unsigned int, unsigned char, struct xdc_runtime_Error_Block *)() at Memory.c:118 0x1001C694     
xdc_runtime_Memory_calloc__E(struct xdc_runtime_IHeap___Object *, unsigned int, unsigned int, struct xdc_runtime_Error_Block *)() at Memory.c:64 0x1001C75A     
xdc_runtime_Core_createObject__I(struct xdc_runtime_Core_ObjDesc *, void *, void *, void *, unsigned int, struct xdc_runtime_Error_Block *)() at Core-mem.c:99 0x1001C2FC     
ti_sysbios_knl_Clock_create(void (*)(), unsigned int, struct ti_sysbios_knl_Clock_Params *, struct xdc_runtime_Error_Block *)() at ti.sysbios.knl.Clock_config.c:269 0x1001B218     
ICall_setTimer(unsigned int, void (*)(), void *, void * *)() at icall.c:3,056 0x00009040     
0x0001A7C6  (no symbols are defined)    

这是哪里的问题呢?

Viki Shi:

OAD例程本身的内存空间已经很紧凑了,是否在其他例程上测试过?

赞(0)
未经允许不得转载:TI中文支持网 » cc2640 oad
分享到: 更多 (0)