I am attempting to build a sample application that will run on Arm Cortex-R5, using ThreadX. I have modified the example application in 6.4.1 under ports/cortex_r5/gnu/example_build and I have it running in QEMU on a versatileab virtual
machine.
However, when my tasks enter a sleep, they never return. Inspecting the ‘_tx_initialize_low_level’ function provided with the example, it appears to say ‘/* Setup Timer for periodic interrupts */‘ and then not actually set up a timer.
I wonder if this is because there is no default timer on Arm Cortex-R5 systems and it is instead a SoC specific choice – unlike on Arm Cortex-M.
Does anyone have an example of configuring a timer, such as the Arm SP804 dual-timer available on the Arm Versatile Application Board (which QEMU emulates)? Or a working example of ThreadX on a Cortex-R5 system?
Kind regards,
Jonathan
--
Jonathan Pallant
Senior Embedded Systems Engineer
t. 01480 460933
m. +49 151 2845 8745
Ferrous Systems UK Limited
201a Victoria St.
LONDON
SW1E 5NE