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:
[~/Projects/rr-buttons/esp8266-firmware] $ esptool.py \
> --port /dev/tty.usbserial-0001 \
> write_flash \
> --erase-all \
> --flash_freq 80m \
> --flash_size 4MB-c1 \
> --flash_mode qio \
> 0x00000 \
> espruino_2v11_esp8266_4mb_combined_4096.bin
esptool.py v3.2
Serial port /dev/tty.usbserial-0001
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 58:bf:25:d7:3c:99
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.0s
Flash params set to 0x006f
Compressed 4194304 bytes to 369756...
Wrote 4194304 bytes (369756 compressed) at 0x00000000 in 52.3 seconds (effective 641.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
But when I go to connect via screen I get gibberish before the Espruino prompt and the terminal becomes unresponsive to any keyboard input.
�d�b�{l{l$ܞ|�$�|�$�c|���2�r�c�B��oN�$on���#p��${lr$p�o��lco�|��#��on�$��$`�2n$`n{�ےoےd`p�N�s�ܜ��#N�|�ߌ�b��no�l �od`N{�ےo�{lp�N�r�ܜ����co�|����b��oo�$`�nNl or���N���o쒜p��n|�l$$l`B�����2r��l�o��N�l`�N�$���
____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|____|___| _|_| |___|_|_|_|___|
|_| espruino.com
2v11 (c) 2021 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate
Flash map 4MB:1024/1024, manuf 0x20 chip 0x4016
>
The gibberish varies but I haven't figured out any way to decode it other than thinking "that looks a lot like control characters...":
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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?