Dear Sir:
I want to use MEM_alloc or malloc in my program like this
char *a = (char*)malloc(10);
First, when I didn't choose "No Dynamic Memory Heaps", of course I got return a=0x0.
Next, I disable "No Dynamic Memory Heaps" and make DDR2 "create a heap in this memory" as "True" and set the heap size as 0x400, enable "usr defined heap identifier label".
But I got serious result because after entering the function malloc, the program never return and hang in this function.
I try MEM_alloc(DDR2, 10, 0) too but still has this problem.
How can I suppose to resolve this?
Thank you very much.