I think that i am on my way to fix the problem .
it seems that setting in the linker script :
_Min_Heap_Size = 0x19000; /* required amount of heap */ _Min_Stack_Size = 0x200; /* required amount of stack */
instead of :
_Min_Heap_Size = 0x00; /* required amount of heap */ _Min_Stack_Size = 0x200; /* required amount of stack */