Skip to content

The Problem of the method to generate basic.elf #13

Open
@yuchengwang1121

Description

Hello, I am trying to run helloworld.c on your RISC-V Core. Howevr It can't execute helloworld.c normally on it.
First ,I have already turn the C code into elf file and put it in the folder riscv/isa_sim/images.
Then, I call "make" in the folder riscv/isa_sim.
Finally, I type "./riscv-sim -f images/hello.elf" in the folder riscv/isa_sim.
Unfortunately, It fail due to the bad memory access.

So I am considering how is your basic.elf been generate ?
And what is the original basic.c ?

Thank you ~!!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions