Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open the device causes a device reboot #54

Closed
johndoe71rus opened this issue Oct 20, 2017 · 6 comments
Closed

open the device causes a device reboot #54

johndoe71rus opened this issue Oct 20, 2017 · 6 comments

Comments

@johndoe71rus
Copy link

version from git. The nodemcu module with cp2102 usb to uart. when I click to open the device, nodemcu reboots. The old version of cutecom 0.22 simply reads data from the device's port. Without reboot.

info about nodemcu device https://github.com/nodemcu/nodemcu-devkit-v1.0

@diggit
Copy link

diggit commented Nov 13, 2017

According to this table:

DTR RTS RST GPIO0
1 1 1 1
0 0 1 1
1 0 0 1
0 1 1 0

MCU somehow receives DTR=1 and RTS = 0. Do you have correct settings?

@johndoe71rus
Copy link
Author

how can I check this? I suppose this is related to the circuitry of the MCU. in the program ESPlorer
https://github.com/4refr0nt/ESPlorer
there is a possibility of a software reset of the device. Without the use of physical buttons.

@diggit
Copy link

diggit commented Nov 16, 2017

Table was taken from here, pg 4.

The only case when MCU is reset is during RST=0, so when DTR=1 and RTS=0.

Try opening serial port and ticking DTR and RTS like this:
17-11-15_19 05 38
And then try to reconnect.

I am not sure how well cutecom handles those lines.

@johndoe71rus
Copy link
Author

yes. This method work. No reset

@diggit
Copy link

diggit commented Nov 27, 2017

@cyc1ingsir this issue is probably solved, but inability to modify RTS and DTR before first connection can be problem too...

@cyc1ingsir
Copy link
Collaborator

@diggit o.k.
I'd prefer this to be added as a (new) feature request issue then, possible with a link to this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants