Comments (4)
I remember something similar and fixing it.
The openocd script also writes to flash.
Does it happen after power cycle as well?
from stabilizer.
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.
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.
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)
- Driver DAC11001A support/notes HOT 1
- Minimum supported python version not documented HOT 4
- Stabilizer as streaming data sink
- rename driver interlock/interlock to interlock/interlocked HOT 1
- `y_min` value trumps `y_max` HOT 2
- Document influxdb/telegraf/grafana HOT 2
- Peripheral clock seems to be off. HOT 3
- Error print leads to spurious panics HOT 4
- move the alarm topic somewhere else or reduce traffic HOT 1
- PID coefficients settings
- Lock `miniconf-mqtt` python utilities to a tag HOT 3
- use dhcp default gateway as default broker HOT 1
- reconnect to flapping broker HOT 4
- Driver laser module header board bringup notes. HOT 2
- Put Driver DAC init first in setup.rs HOT 2
- Panic without connected debug probe does not trip the laser interlock. HOT 1
- Implement voltage sense at the header board HOT 1
- ramp IIR ignores IIR limits HOT 1
- Turn off when LM75 temperatures are out of range HOT 1
- fix ramp iir limits for negative currents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stabilizer.