Hi
I have question about MEM_alloc.
I have been tested in the following environments.
- CCSv5.3.0
- Target Board : EVMC6748
- BSPBIOS : 5.42.0.07
- Compiler version: v7.4.1
- sample project:
/pspdrivers_01_30_01/packages/ti/pspiom/examples/evm6748/vpifvbiloopback
I added the following code at "vpifSample_io.c"
====
extern int DDR;
void heap_test(void)
{
int *mem_test;
while (1) {
TSK_sleep(10000);
mem_test =(int *)MEM_alloc(DDR,100,0);
int cnt;
for (cnt=0; cnt<100; cnt++) {
mem_test[cnt] = cnt*cnt;
}
MEM_free(DDR,mem_test,100);
}
return;
}
====
Display and image capture is operating normally.
But, When I try to run the MEM_alloc, permission to run the "heap_test"Task seems would have been blocked.
Could you tell me the solution and causes ?
Best regards
Chi