Giter Club home page Giter Club logo

Comments (1)

rawsample avatar rawsample commented on September 24, 2024

Hello,

Thank for reporting these issues, I confirm I can reproduce them.

About the nucleo_L152RE, it looks like during the transfer_state() the CPSR register is not properly synchronized within the emulator which leads to an inconsistent state and the bug you see.

$ cat QemuTarget0_err.txt 
qemu: fatal: Lockup: can't take terminal derived exception (original exception priority -1)

R00=20000590 R01=20014000 R02=00000001 R03=00000001
R04=00000000 R05=00000000 R06=00000000 R07=080063c7
R08=00000000 R09=00000000 R10=080063e8 R11=080063e8
R12=00000001 R13=20013fe0 R14=0800026f R15=08002cac
XPSR=40000000 -Z-- A priv-thread
FPSCR: 00000000

While waiting for a fix, you can replace the QemuTarget with PandaTarget within the example, it should work correctly.

For the u-boot example, the issue seems to be related to the versatilepb board used by the target_runner between versions 4.2 and 5.1. Even vanilla QEMU is affected.
In the meantime we find the exact cause, you can use a different QEMU version < 4.2 for the target_runner by editing the executable path at line 34 but keep avatar-qemu for the QemuTarget.

from avatar2-examples.

Related Issues (5)

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.