Giter VIP home page Giter VIP logo

Comments (6)

bofeng17 avatar bofeng17 commented on July 18, 2024

I fixed this issue in RiS3-Lab/p2im-real_firmware@32993e5

from p2im.

MaKaRuiNah avatar MaKaRuiNah commented on July 18, 2024

Thanks! it can be built now.Howerver,when i run the "../../../model_instantiation/fuzz.py -c fuzz.cfg", it throws the error:
"PROGRAM ABORT : Test case 'id:000000,orig:random' results in a crash"
1
2
I have found that i set the wrong mcu in the fuzz.cfg.Does the mcu have the only following choices?
board = STM32F429I-Discovery
mcu = STM32F429ZI
board = NUCLEO-F103RB
mcu = STM32F103RB
board = Arduino-Due
mcu = SAM3X8E
board = FRDM-K64F
mcu = MK64FN1M0VLL12

from p2im.

bofeng17 avatar bofeng17 commented on July 18, 2024

The emulator only supports 4 MCUs. You can either recompile your firmware to use one of the MCUs supported, or add your own MCU to the emulator following the instructions in https://github.com/RiS3-Lab/p2im/blob/master/docs/add_mcu.md

from p2im.

MaKaRuiNah avatar MaKaRuiNah commented on July 18, 2024

Thanks!When i want to test a new firmware, and i use the same board and mcu as yours,it throws an error,how can i solve it?
1

from p2im.

bofeng17 avatar bofeng17 commented on July 18, 2024

The firmware hangs when running with the seed input. You may want to dump the execution trace to see where the firmware hangs.

Please append -d exec,int -D qemu.log option to the command below and run it.
image
The firmware execution trace is dumped to qemu.log.

from p2im.

MaKaRuiNah avatar MaKaRuiNah commented on July 18, 2024

Thank you very much! I want to know where the code crashes, i run the "run_fw.py".however, i only get the address(like 0x08003658),can i get the line number where the code crashes?
1

from p2im.

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.