Part Number:AM5718Other Parts Discussed in Thread: SYSBIOS
我参考了AM5718的ex02_messageq_dsp1例程,放在板子上程序无法正确运行,请问是哪里不对呢?程序运行错误如下:
[ 1.955] [t=0x57e36ab0] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9518b6f8, size=262272
[ 1.955] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9518b6f8, size=262272
[ 1.955] [t=0x57e6e8a7] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9518b6f8, size=262272
[ 1.955] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9518b6f8, size=262272
[ 1.955] [t=0x57ea33f8] ti.sysbios.heaps.HeapBuf: ERROR: line 236: requested size is too big: handle=0x9518b6f8, size=262272
[ 1.955] ti.sysbios.heaps.HeapBuf: line 236: requested size is too big: handle=0x9518b6f8, size=262272
参考论坛帖子:
https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_DSP_am5728-ipc-ex02messageq-run-error-requested-size-is-too-big
https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_DSP_am5748-mesageq-issue
Nancy Wang:
按照帖子中的指示增加heap大小试过了吗?
,
hongyou lu:
试过了,没有作用,我现在怀疑是Linux SDK和RTOS SDK版本不同所造成的
,
Nancy Wang:
都使用最新的版本试一下。
,
hongyou lu:
好的,正在尝试,但还没测试,补充一下之前的问题,DSP核在调用MessageQ_create没有问题,只有当A15核运行IPC Host函数时,DSP核调用MessageQ_get时才会出错,这与Linux SDK和RTOS SDK版本会有直接关系吗?
,
Nancy Wang:
参考这个培训视频看一下:
training.ti.com/am572x-build-run-ipc-examples
,
hongyou lu:
嗯嗯 好的
,
hongyou lu:
谢谢你,Nancy,问题已解决 SDK版本问题,使用rtos_am57xx_04_01_00_06就能通信成功,而使用rtos_am57xx_06_03_02_08就会报错,也就是说Linux的sdk和rtos的sdk同时都采用06或04版本才能通信成功,目前还没想明白原因。
再次感谢解答疑惑!
,
Nancy Wang:
好的,感谢分享!