Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

example-freertos-pmp-blinky can't work well #622

Open
sudashannon opened this issue Oct 9, 2021 · 1 comment
Open

example-freertos-pmp-blinky can't work well #622

sudashannon opened this issue Oct 9, 2021 · 1 comment

Comments

@sudashannon
Copy link

I use e-sdk to test the freertos with pmp.
First, I test with the demo example-freertos-blinky and add the "PMP=ENABLE" in its makefile, but it can't work. The result shows like:
./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-blinky/debug/example-freertos-blinky.elf --nographic At least one of LEDs is null. FreeRTOS Demo start qemu-system-riscv64: QEMU: Program exited with code '100'
Then I turn to the demo example-freertos-pmp-blinky without changing anything, after building, the result shows like:
./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-pmp-blinky/debug/example-freertos-pmp-blinky.elf --nographic At least one of LEDs is null. FreeRTOS-PMP Demo start qemu-system-riscv64: QEMU: Program exited with code '100'

So does the demo really work incorrectly?

@sudashannon
Copy link
Author

I build the demo with the command:
make PROGRAM=example-freertos-pmp-blinky TARGET=qemu-sifive-u54 LINK_TARGET=freertos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant