Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant