QEMU Fails to Run RTOSDemo.bin

In working through the tutorial to Create a MicroEJ Firmware From Scratch https://docs.microej.com/en/latest/Tutorials/tutorialCreateFirmwareFromScratch.html, I encounter an error when I attempt to execute either of the following lines:

qemu-system-arm -M lm3s811evb -nographic -kernel gcc/RTOSDemo.bin
qemu-system-arm -M lm3s6965evb -nographic -kernel gcc/RTOSDemo.bin

In either case, I only get the output of:

$ qemu-system-arm -M lm3s6965evb -nographic -kernel gcc/RTOSDemo.bin
Timer with period zero, disabling

The Ubuntu Linux will not respond to any keys, including Ctrl+A, X as suggested. Closing that window is the only option there.

Any ideas on what could be going wrong here?

1 Like

Hello Gerry,

There is indeed an issue with the latest versions of Ubuntu. We will update the tutorial as soon as we have identified the source of the problem.

In the meantime, we recommend using the Ubuntu 20.04 focal version for this tutorial. Note that this version can be installed in parallel with your installed version in WSL.

Sincerly,

Benoit

Benoit,
I was able to install Ubuntu 20.04 and qemu worked correctly.

Thanks,
Gerry

I want to take a question; In the Ubuntu 24.04 has the same problem, Can you fix it or help me, please