stm32flash's People
stm32flash's Issues
stm32_init bug
The updated (and not consistently indented) code in stm32_init sends the autobaud 0x7F twice. The second gets misinterpreted as a command, throwing off the init sequence, and adding an unnecessary delay of the serial read timeout.
https://github.com/unwireddevices/stm32flash/blob/master/stm32.c#L420
Since the commands are sent in byte pairs, the bootloader receives the 2nd 0x7F as a start of a command pair, and stm32flash times out waiting for a response. When it times out, it sends another 0x7F, which results in a NAK response from the bootloader, and then stm32flash finally continues.
I've reverted to the version of stm32_init from the stm32duino fork, which fixes the bug.
https://github.com/nerdralph/stm32flash
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.