FreeRTOS+SiFive - RISCV+Qemu - FreeRTOS hangs

Dear Community,

I am trying to run a Demo test as shown in the link below:

The simple blink test is passed but the comprehensive test ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0) did not pass. I dont see any errors and no output at the Qemu serial terminal.

In the main_full.c file, the function vTaskDelayUntil( &xLastExecutionTime, xDelayPeriod ); never returns back. The value of mainTIMER_TEST_PERIOD is set to 50 by default. I still maintain #define mainNO_ERROR_CHECK_TASK_PERIOD pdMS_TO_TICKS( 5000UL )
as it is.

The tests were run on Windows 10 and Ubuntu 18.04.
Any help would be greatly appreciated.
Thanks in advance.

Thanks for the information. Could you please also let us know which version of FreeRTOS and which version of QEMU you are using so we can try to replicate the issue.

QEMU: riscv-qemu-4.2.0-2020.04.0-x86_64-w64-mingw32
FreeRTOS: FreeRTOSv10.4.1

Both are the latest version.

I went to try to replicate this issue, but that demo does not appear to be in FreeRTOS V10.4.1:

It looks like it was replaced by a demo running on the real hardware

I did however manager to run this demo: and found the blinky demo is ok, but the ‘full’ demo hits an assert. There is a #warning in the code that explains why:

That was with QEMU emulator version 3.0.92 though, I will see if I can get the same version as you.

Thanks for your update. You can find the Qemu version I mentioned from, I am using the latest one: QEMU — v2020.04.0.