Comments (4)
hi roybaer,
thanks for pointing that out! You are correct, port must be opened before DTR reset. In old versions the port was indeed opened before reset, but I changed the sequence because I had issues with USB port not flushing correctly (see also here).
To fix the bug without the flush issue, I just uploaded a fix to branch develop
(not yet master
). This opens the port, resets via DTR and closes the port again, see here.
Can you please check it and let me know if this fixes your problem? Thanks in advance!
from stm8gal.
I can confirm that this solves the DTR reset problem.
However, I cannot get anything past 1d91c12 to work. That problem appears to be unrelated, though.
Can you cherry-pick this fix into the master branch?
from stm8gal.
Darn!
-
just added the fix to the
master
branch, like requested. -
I implemented many improvements and bugfixes (at least with my setup) in the
develop
branch. I would hate to go back tomaster
again!
Could you please be more specific what exactly doesn't work, which OS you're using, and which board / STM8 variant is not working...? Maybe it's due to a different behavior of the ROM bootloader, which I couldn't test...? Thanks in advance!
from stm8gal.
Thanks! master
works well, now.
I've opened #11 for the unrelated issue, so this can be closed.
from stm8gal.
Related Issues (14)
- SPI support HOT 3
- Cannot program STM8S105K6 anymore HOT 5
- Does not handle 64K devices in bsl_getInfo() HOT 4
- CAN support
- Verify slow in reply mode HOT 3
- Write byte as decimal fails HOT 1
- Pre-built windows executable please :) HOT 3
- Wrong link in Wiki to "Flash Loader Demonstrator" HOT 2
- open port failed under mac and ubuntu wsl HOT 2
- stm8gal contains non-free binary blobs HOT 17
- Build for OSX and for Windows fails due to missing SPI device HOT 1
- allow to program the option bytes HOT 12
- confusion about the uart mode HOT 6
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 stm8gal.