I am developing an application using the MPC5748G and FreeRTOS. I use the vDelayTask to let an LED blink with 1Hz in order to give feedback to the user that the code is running.
Every time I newly flash the microcontroller, it seems that the vDelayTask hangs up the microcontroller as the LED only lights up, and afterward nothing is happening. After pressing the reset button on my development board, the code executes properly and the LED is blinking as expected.
So the problem only seems to be occurring after I flash the board and press resume in the debug window. After resetting it works.
I already checked several threads covering similar problems, but there was no solution for my specific problem.
Thanks for any further suggestions.