On 02/01/2025 06.49, Liu Jaloo wrote:
in qemu branch statble-9.2
$ ./build/qemu-system-arm -M microbit -device loader,file=/path/to/
heart-hearts-makecode.hex
Segmentation fault
That's a bug of course - a segfault should never happen...
...
according to docs/system/arm/nrf.rst
$ qemu-system-arm -M microbit -device loader,file=test.hex
from the page https://microbit.org/projects/make-it-code-it/heart/ <https://
microbit.org/projects/make-it-code-it/heart/> download the hex file :
wget https://microbit.org/downloads/heart-hearts-makecode.hex <https://
microbit.org/downloads/heart-hearts-makecode.hex>
... but if that one is failing, maybe the clue from
https://wiki.qemu.org/Testing/Machines could help: It points to a mail that
suggests to use https://ozlabs.org/~joel/microbit-micropython.hex for
testing this machine.
HTH,
Thomas