Content originally posted in LPCWare by TheFallGuy on Thu Dec 19 06:04:31 MST 2013
I don't know what DEBUGOUT does. However, I would start by looking at your stack usage. If you are using FreeRTOS, every task will have a stack, and maybe the use of this macro increases the stack usage, so that it blows the stack on starts overwriting other memory.