rtel wrote on Wednesday, March 23, 2016:
No, this is definitely not the right way to do it. What’s more, this is almost certainly just disguising the problem, as the problem should not exist in the first place.
First, to make sure we are talking about the same thing here and are actually able to support you - is the code you are using now the official 8.2.3 code, unmodified? If you think this is the case, please diff all the code in the FreeRTOS/Source directory between your project and the main V8.2.3 release to be sure.
Once verified that the code is indeed the same, please cut your application down to the absolute minimum that exhibits this behaviour so we can try and find out what is going on. Basically, just the skeleton of the tasks and interrupts that are needed to reproduce the issue. Then attached the skeleton code to your next post in a zip file.
Many years of experience of this type of support request shows it is normally (nearly always) a configuration error, but in V8.2.3 the asserts() would normally catch those, so if the asserts are not catching the problem then it is more interesting.
Please also attach your FreeRTOSConfig.h.