Chat freely about anything...

User avatar
By Stephen337
#40305 I just got one of the esp8266 pHats from Pimoroni:

https://shop.pimoroni.com/collections/r ... p8266-phat

I have a couple of things I want to do with esp8266, but I need to master the basics first and this module looked like a good 'in' for me.

Pimoroni don't seem to have published any details on what the connectivity of the board is and I am a bit stuck. I have been doing some probing and found that GPIO17 is connected to RST and GPIO27 seems to be connected to GPIO0 on the ESP module.

When I toggle GPIO27/GPIO0 to low and reset the esp8266 (AT+RST) it doesn't seem to alter the boot mode, both have the same start up messages. Should I see different output on the UART from the esp8266 when booting with and without GPIO0 low/high?

When I boot I get this:

Code: Select allAT+RST

OK

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

ón't use rtc mem data
s��     �7F÷
Ai-Thinker Technology Co.,Ltd.

ready


I was trying to load a prebuild esp-link rom but my esptool command is wrong:

Code: Select allesptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 8m -ff 40m  0x00000 boot_v1.5.bin 0x1000 user1.bin 0x7E000 blank.bin


Any ideas what I am doing wrong?