Hello,
Hard fault occurs after freertos project migration form lpc1768 to lpc1837 (cortex M3). Fault exception viewer shows the message:
An imprecise data access error has occurred.
Exception occured at: 0x1a005b2e.
Yes, on a lpc1768 was ok, but on a lpc1837 hard fault occurs in prvCopyDataFromQueue function which is called in xQueueGenericReceive.
I checked all memory locations and sizes. pvPortMalloc() works properly.
There is pxQueue structure just before hard fault:
The structure in your screen shot is corrupt. Look at the uxMessagesWaiting, uxLength and uxItemSize values. It also looks like pxQueue itself is NULL - so best guess is you are dereferencing a NULL pointer. Do you have configASSERT() defined?