Am failing to get a basic RTOS build up on the Trenz Zynq board. Have constructed a build as per the guide in “Mastering the FreeRTOS” (pre-release version). This in on Xilinx Vivado 2014.4 (for historic reasons) and under Windows 10.
The construction of the project succeeds and can be downloaded to the target.
However when executing, the processor crashes in vPortInstallFreeRTOSVectorTable() within prvSetupHardware();
I have noted the following:
In debug when tracing, the address of _freertos_vector_table that is loaded is 0 - so does the code not simply copy the vector table over itself?
That stepping through the routine vPortInstallFreeRTOSVectorTable, when the instruction dsb is executed the link register lr is clobbered. Hence when the bx lr instruction is executed we effect a re-boot (without a reset).