Event Manager not working on QEMU_x86 or native_posix

The sample in nrf/samples/event_manager crashes when running on QEMU_x86 with the following output:

Booting from ROM..*** Booting Zephyr OS build v2.6.0-rc1-ncs1-9-g9b5948cc9ef4  ***
[00:00:00.000,000] <err> os: Page fault at address 0x119004 (error code 0x0)
[00:00:00.000,000] <err> os: Linear address not present in page tables
[00:00:00.000,000] <err> os: Access violation: supervisor thread not allowed to read
[00:00:00.000,000] <err> os: PTE: not present
[00:00:00.000,000] <err> os: EAX: 0x00118fe8, EBX: 0x00000000, ECX: 0x0000005c, EDX: 0x000000eb
[00:00:00.000,000] <err> os: ESI: 0x00000001, EDI: 0x00000080, EBP: 0x00111248, ESP: 0x0011123c
[00:00:00.000,000] <err> os: EFLAGS: 0x00000202 CS: 0x0008 CR3: 0x00118000
[00:00:00.000,000] <err> os: call trace:
[00:00:00.000,000] <err> os: EIP: 0x00104ccf
[00:00:00.000,000] <err> os:      0x0010051c (0x111258)
[00:00:00.000,000] <err> os:      0x00106596 (0x11126c)
[00:00:00.000,000] <err> os:      0x0010118b (0x0)
[00:00:00.000,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.000,000] <err> os: Current thread: 0x10e2a0 (unknown)
[00:00:00.010,000] <err> os: Halting system

I'm using NRF SDK v1.6. Do I need to configure something in KConfig in order to get support for QEMU?

When building and running for native_posix I get a segmentation fault.

Update:

I noticed that the simulation / emulation works on the board qemu_cortex_m3. That leads me to the question is there any QEMU board available that reflects the architecture of the NRF9160 (Cortex-M33)?

Kind regards,

Michael

Related