-
• #2
Don’t worry about that. This is because the boot baud rate is 74880. In WebIDE use 115200 to communicate with the esp8266.
-
• #3
those are boot rom messages that would be correct if device had 40Mhz external crystal fitted, with widely used 26MHz crystal the baud rate is not 115200 but 115200/40*26=74880
-
• #4
So using
screen /dev/tty.usbserial-0001 115200
the terminal is unresponsive to any keystrokes.Using
espruino -p /dev/tty.usbserial-0001 --ide
I getEspruino Command-line Tool 0.1.40 ----------------------------------- Connecting to '/dev/tty.usbserial-0001' Abort trap: 6
Using the web ide I get the attached images.
Where do I go next?
2 Attachments
-
• #5
Ok, explicitly changing the Web IDE baud rate to 115200 got the web ide working and I'm currently poking around how to access hardware, etc...
Any ideas why I would be running into the other issues with CLI and local IDE?
Both
espruino -p /dev/tty.usbserial-0001 -b 115200 --ide
andespruino -p /dev/cu.usbserial-0001 -b 115200 --ide
still fail withAbort Trap: 6
, even if I leave off the--ide
option.Uploading a file fails as well in the same way.
I'm getting a bunch of gibberish when connecting that seems to be blocking any actual usage. Wondering where I went wrong.
I'm using a HiLetgo ESP8266 ESP-12E with my Macbook Pro M1. I am able to successfully run example sketches via Arduino IDE so I don't think it's a hardware issue.
Here's the flash command and output:
But when I go to connect via screen I get gibberish before the Espruino prompt and the terminal becomes unresponsive to any keyboard input.
The gibberish varies but I haven't figured out any way to decode it other than thinking "that looks a lot like control characters...":
Any ideas what I screwed up?