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 program not working on RV32 system #23

Open
T-K-233 opened this issue Dec 4, 2023 · 0 comments
Open

Example program not working on RV32 system #23

T-K-233 opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@T-K-233
Copy link
Member

T-K-233 commented Dec 4, 2023

Architecture

ARCH = rv32imaczicsr
ABI = ilp32
CODEMODEL = medany

Error

Running example program on a RISC-V 32 bit system. On UART it prints out

Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0
Hello world from hart -2147472611: 0

This is probably due to line

uint64_t mhartid = READ_CSR("mhartid");
@T-K-233 T-K-233 added the bug Something isn't working label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant