nobody wrote on Saturday, December 10, 2005:
I am debugging an application who run on FreeRTOS ported on ADuC7026, using Heap_2 as memory management.(Using KEIL Debugger)
I allocate memory for a pointer:
uint8 *mem_to_send = PanicNull(prvPortMalloc(sizeof(uint8)));
So the allocated memory will be on the Heap.
My Problem is that the debugger signalize a Address violation error:
*** error 65: access violation at 0x00000000 : no ‘write’ permission
when he execute the instruction :
so that it seam like my pointer is not initialized
Please can you explain me what is going on ? Generally, how to allocate memory to someting other than a task.