#98·esptool

Flashing ESP8266 HSPI Flash (ESPTOOL-141)

Author: sskylarkCreated Mar 27, 2016Updated Apr 5, 2026
Labelsesp8266Type: Feature Request

Can you see what happens when you do this after sync:

self.write_reg(0x3FF00028, 2, 2)
self.write_reg(0x60000800, 0, 0x300)
self.write_reg(0x60000804, 0x20, 0x130)
self.write_reg(0x60000808, 0x20, 0x130)
self.write_reg(0x6000080C, 0x20, 0x130)
self.write_reg(0x60000810, 0x20, 0x130)

This should set up DIO SPI0 on HSPI port. If someone has a board with HSPI Flash, I'd be curious to hear about the results. Note: make sure nothing external is driving the SDIO bus - the bootloader SPI code will try to enable it as SPI as well, so multidriver issues may occur.

At least get_flash_id seems to work for me now on HSPI :-) I have not actually tried flashing anything yet... (my code runs deeply embedded so I can't just run esptool.)