It is possible to flash the ESP8266 12-F with the raspberry UART or I2C pins ? Has anyone ever done this? Thank you.
EDIT: OK it's work, finally I just had big problems with my breaboard and my connections.
...
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityIt is possible to flash the ESP8266 12-F with the raspberry UART or I2C pins ? Has anyone ever done this? Thank you.
EDIT: OK it's work, finally I just had big problems with my breaboard and my connections.
...
It is possible to flash the ESP8266 12-F with the raspberry UART pins ? Has anyone ever done this?
I've used the USB ports for this with esptool.py
.
esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py --port /dev/ttyUSB0 write_flash -fm dio 0x00000 nodemcu.bin
I use "nodeMCU" style boards that have a micro USB jack (so using a normal micro USB cable). I also thought hardware flow control, which the Pi UART conventionally lacks, was necessary, but looking around this is not be the case, you just have to hold CH_PD and/or some other line high. So it should be possible.
I've found the serial interface on the ESP a bit fussy -- as in good ol' minicom
is not reliable with it, the best thing seems to be miniterm.py
, which is part of the pyserial
package.