I have ported the FreeRTOS UDP-Stack to LPC1769 and I am running the Standard socket implementation (no Zero Copy).
Everything works perfect as long as I have my J-Link SWV Debugger attached and I run a Debug session with gdb.
I am not using any ITM-Channel.
Once I let the program run without the Debugger, it crashes after about 2.4 seconds. (The HardFault-Handler is being called. I know this by letting a LED light up, when this happens) I think this should be about the time, where the DHCP-Request is made.
The problem now is to debug this without a debugger:)
Has anybody experienced something like this?
My next move will be to try to get the program counter value of the crash within the hardfault out of the MCU without using the debugger.
Any help or suggestions would be very appreciated.