Writing this down for future reference. I used a Sparkfun FTDI breakout board with selectable voltage level set to 3.3v. Pinout
1 | TXD <-> TX (I suspect wrong labelling) |
Keep the reset pin connected to a wire for easy resetting.
Install esptool.py
via pip install esptool
and then when the ESP8266 is set
to flash mode (IO0 low IO2 high) we can then try to connect at 115200 baud.
1 | esptool.py --port /dev/tty.usbmodem1421 --baud 115200 read_mac |
I flashed v2.1.0 of the NON OS SDK which can be obtained here.
Flash details
1 | boot_v1.7.bin @ 0x0 |
SPI crystal frequency of 26MHz, speed 40MHz, 8Mbit flash size, QIO flash.
The firmware sets default baudrate to 1152000
. This was confusing for me because I’m
used to working with serial devices and I just assumed it was 115200
(a more
standard baudrate). Use a serial monitor that can connect on that baudrate and
then change the default by typing
1 | AT #for testing |
Now you can use minicom again but you have to remember to press ctrl M ctrl J to send CRLF like so
1 | AT^M^J |