Content originally posted in LPCWare by cpraba on Mon Jul 01 18:04:03 MST 2013
Hi,
I am using LPC1769 and RedLib. I am trying to do malloc in the GPIO ISR. Malloc returns fine upto 1K memory. Beyond that Its generating Hard fault(Precise Error). I noticed that malloc API is trying to access a invalid memory location.
My system doesn't have any operating system. I am using the default .ld file generated by the LPC XPresso IDE. Is there any known issues with malloc()? Any hint for debugging...
Thanks,