Content originally posted in LPCWare by magicdim on Thu Jan 17 05:03:45 MST 2013
Quote: CodeRedSupport
Unless you fix the problem in Example4, then it will happen every time
Even reprogramming with another and safe image???
So from the moment it happens we won't be able to avoid it anymore, why?
Example1,2,3,4 are examples given in the FreeRTOS learning package, they print out a string to the console whether Task1 or Task2 is processing, according to their priority.
The only difference is that Example4 uses "vTaskDelay( 250 / portTICK_RATE_MS )" which allow the tasks to be in a "blocked" state instead of a crude delay loop.
Otherwise, as the trouble can come from USB power supply, I tried a lot of port configuration with my external USB hard disk, but apparently the problem is fixed with LPCXpresso v5.0.14 Build 1109, so I hope this problem will never come again.
The only trouble I have been able to remark is that sometimes the image is not correctly downloaded to the Flash, so the previously downloaded program hasn't been replaced by the new one and is still running...pointing to the main.c file of the new program!:confused:
Anyway, this small inconvenience can be fixed launching debug/reprogramming a second time!
Hope all this helps!