Autodrop3d / serialTerminal.com

A browser based serial terminal. No plugins. Vanilla javascript.
https://www.serialterminal.com
ISC License
200 stars 46 forks source link

Echo seems to do nothing? Confusingly prints stuff with $ even when not connected. Doesn't seem to send typing to device. DTR not honored #47

Open gitcnd opened 8 months ago

gitcnd commented 8 months ago

I've got 2 ESP32 devices - one uses RST=> reset (ESP32Cam) and DTR => gpio0, the other doesn't.

The ESP32Cam cannot be reached (no output from it gets printed). I've programmed it to flash the LED when it gets reset. It is flashing the LED - so you're code is not honoring my uncheck-boxes on all the DTR settings ? Also, when it does flash the LED, it's also sending serial data back when it does that... which is not being printed by your code.

Using https://www.serialterminal.com/advanced_terminal/src/html/index.html on my other working esp32...

typing stuff into the box at the top and clicking "send" works fine.

typing into the screen below it confusingly echos my typing (regardless of the echo checkbox) and keeps printing a "$" prompt, but none of that is being sent to my device.

What's going on with that?

I do not think the "terminal" should be printing anything that didn't come in from the serial (that "$" is really confusing), and should never be printing anything except incoming stuff when the "echo" is turned off.

What do the CR and LF settings do? when inside the terminal, when I hit "enter", it should honor those settings (not sure if it is or not - because it's not sending anything I type down there to my device?)

I can send you my micropython esp32cam firmware if you like - it's the latest release, and includes a pile of scripts to turn it into a posix-like experience (ls, rm, touch, etc etc) and also has a working photo command to take photos in micropython, as well as telnet, and web IDE included. (updated versions of these: https://github.com/vsolina )