Giter Club home page Giter Club logo

Comments (4)

gicking avatar gicking commented on August 21, 2024

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.

roybaer avatar roybaer commented on August 21, 2024

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.

gicking avatar gicking commented on August 21, 2024

Darn!

  1. just added the fix to the master branch, like requested.

  2. I implemented many improvements and bugfixes (at least with my setup) in the develop branch. I would hate to go back to master 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.

roybaer avatar roybaer commented on August 21, 2024

Thanks! master works well, now.
I've opened #11 for the unrelated issue, so this can be closed.

from stm8gal.

Related Issues (14)

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.