I've tested the patch against the FreeRTOS example. An the patch seems
to make the example run.
The FreeRTOS sample now crash for other reasons. But I consider the
issue resolved.
/Anders
On 03/12/2015 02:45 PM, Peter Maydell wrote:
Proposed patch: http://patchwork.ozlabs.org/patch/449400/
Yes the situation I'm describing is the bx 0xfffx case.
I see that the article I'm referring to, actually only describes the
behaviour of branches and in ISR vector.
Searching a bit more I see this:
Cortex™-M3 Technical Reference Manual Revision: r1p1
Home Programmer’s Model Registers
Public bug reported:
This was observed in qemu v2.1.3, running a sample app from
FreeRTOS(FreeRTOSV7.5.2/FreeRTOS/Demo/CORTEX_LM3S_Eclipse/RTOSDemo)
In the sample code compiled with arm-none-eabi-gcc , version 4.8.2
(4.8.2-14ubuntu1+6) .
qemu seems to be executing the wrong instrunction