sifive / freedom-e-sdk

Open Source Software for Developing on the Freedom E Platform - Deprecated
Other
582 stars 208 forks source link

example-pmp application doesn't work on qemu w/ FreedomStudio #632

Closed pcotret closed 2 years ago

pcotret commented 2 years ago

This program is a demonstration of the Physical Memory Protection unit available in RISC-V

  1. Write to an unprotected address
  2. Configure the PMP for read-only
  3. Re-write to the same address => No error... Don't know if the QEMU given by SiFive really support the PMP
pcotret commented 2 years ago

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/