你好:
有几个关于tda4vm 关于内存分配的问题
1:使用vxCreateImage创建一个新的image,这个image所在的内存区域是哪个部分?
2:DDR_SHARED_MEM 默认是512MB大小,这个区域是做什么用的?
谢谢
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.
你好:
有几个关于tda4vm 关于内存分配的问题
1:使用vxCreateImage创建一个新的image,这个image所在的内存区域是哪个部分?
2:DDR_SHARED_MEM 默认是512MB大小,这个区域是做什么用的?
谢谢
1. 请看下面的文档。
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/tiovx/docs/user_guide/classtiovx_1_1image_1_1Image.html
2. 请看下面对memory map的说明。
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/07_03_00_07/exports/docs/psdk_rtos/docs/user_guide/developer_notes_memory_map.html
谢谢回复,我现在在创建image的时候,报错,如下,我要怎么做才能解决这个错误?
MEM: ERROR: Alloc failed with status = 12 !!!
3149.341098 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
3149.341109 s: VX_ZONE_ERROR:[ownAllocImageBuffer:309] could not allocate memory
3149.341115 s: VX_ZONE_ERROR:[ownGraphAllocateDataObject:923] Memory allocation for data reference failed
3149.341123 s: VX_ZONE_ERROR:[vxVerifyGraph:1989] Memory alloc for data objects failed
3149.341185 s: VX_ZONE_ERROR:[vxVerifyGraph:2098] Graph verify failed