example-pmp application doesn't work on qemu w/ FreedomStudio
pcotret opened this issue · 1 comments
pcotret commented
- Create a project in Freedom Studio
- Target :
qemu-sifive-u54
- Select example program: example-pmp
This program is a demonstration of the Physical Memory Protection unit available in RISC-V
- Write to an unprotected address
- Configure the PMP for read-only
- Re-write to the same address
=> No error...
Don't know if the QEMU given by SiFive really support the PMP
pcotret commented
Issue isn't related to the code but more about the maturity of PMP support in QEMU https://baylibre.com/risc-v-pmp-and-zephyr-rtos-a-new-userspace-has-entered/