Git Product home page Git Product logo

Comments (5)

evancox10 avatar evancox10 commented on June 19, 2024

This happens if you try to load the ELF file to somewhere other than RAM. elf loading goes through HTIF and writes to the sim's bus device. There must be a writable device at this location on the bus.

...At least that's the behavior a now, a year and a day after you posted this. I thought I'd post the explanation so other people could find the reason why this happens.

Make sure that the elf _entry symbol has a corresponding RAM in spike, and that it's big enough to hold the code and other data you're loading.

from riscv-isa-sim.

 avatar commented on June 19, 2024

@evancox10 I still have this as my project, it's just conservated for now.
I'm sure I can use that info later, thank you

from riscv-isa-sim.

IC-Dream avatar IC-Dream commented on June 19, 2024

@alexmechanic Have you solved this issue? if you did, could you please tell me how to do, since i also encounter this issue, Thanks a lot.

from riscv-isa-sim.

ethanhz avatar ethanhz commented on June 19, 2024

If Spike does not find a device or MMU to which this address could correspond to, you will get this error.
Having said that, can you share what address you are trying to write to?
And if you have any additional devices attached in Spike?

from riscv-isa-sim.

 avatar commented on June 19, 2024

Sorry, currently I left working with this project and cannot force this issue anymore.

from riscv-isa-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.