GithubHelp home page GithubHelp logo

Comments (4)

SandyWalsh avatar SandyWalsh commented on May 27, 2024

I reduced the number of sram entries to 3 and it was fine

sram0: Memory.MappedMemory @ sysbus 0x24000000
    size: 0x80000
sram1: Memory.MappedMemory @ sysbus 0x30000000
    size: 0x40000
sram7: Memory.MappedMemory @ sysbus 0x38800000
    size: 0x1000

from renode.

SandyWalsh avatar SandyWalsh commented on May 27, 2024

Looks like a fencepost error here
https://github.com/renode/renode-infrastructure/blob/c2e1669c54ac8740018b7ce4e8fcfacc867d533d/src/Emulator/Main/Peripherals/Memory/MappedMemory.cs#L533-L561

from renode.

mateusz-holenko avatar mateusz-holenko commented on May 27, 2024

Hi @SandyWalsh, thanks for reporting the issue.

We believe the main problem here is not the amount of flash/sram peripherals (there should be no hard-limits on the amount of them in Renode), but rather the fact that some of them are defined with size set to 0.
Of course this should not crash Renode and be handled in a more user-friendly way instead - the fix for this will be released soon.

For the record: we also see you have many peripherals defined at the same offset on the system bus, so the presented platform file needs further updates before it can be correctly loaded into Renode.

from renode.

mateusz-holenko avatar mateusz-holenko commented on May 27, 2024

With 44e9126 you should not observe crashes of Renode anymore.

from renode.

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.