Git Product home page Git Product logo

Comments (3)

vicatcu avatar vicatcu commented on August 29, 2024

After chatting with @me-no-dev in the gitter, it may be more elegant to handle this in my bootloader. That is to discriminate the serial traffic received by my bootloader as destined for the microcontroller or destined for pass-through to the ESP8266. In any case, I still wonder if this might be a useful feature to implement?

from esptool-ck.

igrr avatar igrr commented on August 29, 2024

I think adding an argument and a corresponding arg_parse handler would be a good option.

At some point i was thinking about adding support for "scripts" which define how reset should be performed. Currently there is some C code which defines different reset methods. This works fine, but isn't very flexible. So the idea was to handle 'reset method' arguments like

-cb dtr:1,rts:1,delay:5,rts:0,delay:30,dtr:0

This way anyone could use esptool-ck with custom reset circuit, without having to modify C code.
I think this feature would work for your case as well. Does this make sense?

from esptool-ck.

kodehnal avatar kodehnal commented on August 29, 2024

Did you implemented the 'reset method' arguments already? I have this simple reset and GPIO0 insert circuit at my board http://www.ba0sh1.com/wp-content/uploads/2015/01/ESP8266-boot-select-sch.png.
DTR line is connected paralel to the reset switch. But the DTR low signal must be inserted at least for 500mS to charge the capacitor and keep the GPIO0 low when the reset conditions occured.

from esptool-ck.

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.