I have used FreeRTOS 4.2 under a number of projects with great success, but I’m having massive troubles getting FreeRTOS5 to work
I’m using Crossworks for ARM 1.7 (Release 13) on an AT91SAM7S256 processor. Code which was once working in 4.2 is no longer working in 5, I’ve made the necessary changes to the FromISR routines to code with the parameter now being a pointer rather than a value and I’ve changed to the new ISR macros.
Infact, I’ve even stripped down the code so that it starts a task that simply does
Going into vTaskDelay causes a dataabort when inside that it reaches a portYIELD()
This has got two of us absolutely stumped here, no explanation as to why it does this or indication from the link register/stack frame how it got into data abort, seems to have gone off into a random location.
It’s more bizarre that code that was once working and has been working faultlessly for the past year (it’s in a system which runs our building management system - we’ve got 16 of these networked in our building) is completely broken now, no other code changes (apart from the changes required for FreeRTOS5) and just a compiler & OS version change.
Any ideas or pointers from you guys would be highly appreciated!!!