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

ESP Easy will do a hard (config) reset when connected via USB-C w/o Serial adapter #19

Open
KaiDK opened this issue May 9, 2023 · 3 comments

Comments

@KaiDK
Copy link

KaiDK commented May 9, 2023

Hi all,

fyi - maybe it sould be documented somewhere what we found out here: https://www.letscontrolit.com/forum/viewtopic.php?p=64424#p64424

Summary;

  • ESP Easy resets configuration when RX/TX is connected on boot
  • When connecting AC wall adapter via USB-C to the board while not using Lilygo Serial adapter this seems to be the case -> ESP Easy resets to config defaults
@TD-er
Copy link

TD-er commented May 9, 2023

That ESPEasy is resetting to factory defaults when it detects a short between RX and TX is of course a feature we could disable in specific builds.
But this is a bit more serious as all data sent is thus echo'ed back to the RX.

In ESPEasy received texts are being parsed as if they are commands, as it is essentially a console.
Thus it will continuously echo the given command with some text that it was an unknown command.
But this will never stop as this error is then also echo'ed back etc.

I can imagine lots of other projects will probably not act nicely when RX and TX are shorted.

@KaiDK
Copy link
Author

KaiDK commented May 9, 2023

Hardware solution - Use this USB cable: https://www.amazon.de/dp/B09479KTC9/
(not tested yet)

@TD-er
Copy link

TD-er commented May 9, 2023

Well.... that might work, but it is using something not according to specs to make something else work, which isn't according to specs...

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

2 participants