PQT - MicroEJ core validation testsuite blocks

Hi,

I’m currently working on the MircoEJ core implementation for a new platform.

I’m trying to run the MircoEJ core validation tests of the Platform Qualification Tool I found on the MicroEJ GitHub:
https://github.com/MicroEJ/PlatformQualificationTools/tree/master/tests/core/java/microej-core-validation

When I run it on my board, the test suite blocks at the Starting tasks and wait for 10 seconds... step. Here is the trace:

…
OK: testMonotonicTime
-> Check Java round robin (LLMJVM_IMPL_scheduleRequest validation)...
For a best result, please disable all the C native tasks except the MicroEJ task.
Task 3 is waiting for start...
Task 2 is waiting for start...
Task 1 is waiting for start...
Task 0 is waiting for start...
Starting tasks and wait for 10 seconds...

All the previous tests are OK. I’ve disabled all the C native tasks in my BSP (except my JVM task).

Could you please help me to find where the problem comes from?

Regards,

Fabrice Webb

Hi Fabrice,

Can you tell me what RTOS you are using?
For this test, it is important that the timer tick is accurate.

Best,

Hi,

I’m using FreeRTOS. I’ve checked my timer behavior and it is accurate.

Regards,

Fabrice Webb

Hi Fabrice,

In FreeRTOS, you have to make sure the JVM native C task has a priority lower than the FreeRTOS timer task defined in FreeRTOSConfig.h (check configTIMER_TASK_PRIORITY).

Regards,

Hi,

You are right ! My FreeRTOS timer had a priority lower than the JVM native C task. I changed it and it’s working now.

Thank you!

Fabrice Webb

1 Like