比如我要用
ping = (Uint16*)MEM_alloc(DDR2HEAP,sizeof(Uint16)*roLength,32);函数
红色参数应该怎么填,好像是要填heap的位置,ccs3.3,不用bios。
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.
ping = (Uint16*)MEM_alloc(DDR2HEAP,sizeof(Uint16)*roLength,32);函数
红色参数应该怎么填,好像是要填heap的位置,ccs3.3,不用bios。
memory section manager
mem_alloc第一个参数指定的是内存分配的位置,其值与系统内存heap的定义相关。
Memory management functions ( MEM_alloc(), MEM_stat(), MEM_free()) are blocking calls. This is because the functions require the caller to acquire a lock to the memory before proceeding. In case the MEM functions fail to get a lock to the memory, there is a context switch. A call to a SWI or HWI routine should be non-blocking in nature and hence TI recommends that customer should not call MEM functions inside a SWI or HWI. In case the user makes blocking calls (MEM calls) inside a SWI or HWI, the behavior is not guaranteed. Making any blocking calls from a HWI or SWI can affect the real time response of the system.