OK, thanks for the hint, I have managed to set it up however....
I am not getting the info needed to pinpoint the fault.
edit:
More in detali I am using FreeRTOS with 2 tasks (one xTaskCreate for USART and one for lwIP) and when I leave out eather one of those two everything is OK but when I use both the app gets a fault within a minute. Sometimes the fault is not presented but I can see that everything stopped and its driving me crazy.
Figured out that the USART STACKSIZE was to small, sometimes you cannot see a tree from the forest :smileyhappy: