Giter Club home page Giter Club logo

Comments (4)

jordens avatar jordens commented on June 18, 2024

I remember something similar and fixing it.
The openocd script also writes to flash.
Does it happen after power cycle as well?

from stabilizer.

cjbe avatar cjbe commented on June 18, 2024

IIRC I tried programming by openocd then powercycling, or programming by DFU then powercycling - I think these both gave the same result. (But I can check tomorrow to be sure).

I have also occasionally observed that x0 is updating but x1 is not updating (but fixed at some plausible non-zero value) even when running in a debug session via openocd. Perhaps this is related.

from stabilizer.

jordens avatar jordens commented on June 18, 2024

Let's make sure that this is not in fact cause by debugging. The SPI peripherals tend to stall in some situations, e.g. when the debugger interrupts and the DMA still fires, probably triggering that stm32h7 silicon erratum.

from stabilizer.

cjbe avatar cjbe commented on June 18, 2024

Investigating this further, this problem only seems to occur deterministically after programming via DFU. This can be fixed by powercycling the device, or by doing a sysresetreq hardware reset sequence.

I have also seen this problem occur far less frequently when programming via openocd before a physical power-cycle / hardware reset.

So - this is not a bug in the firmware, just some annoyingly persistent state somewhere in the CPU.

from stabilizer.

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.