prusa3d / Prusa-ESP-Nic-FW

ESP8266 as generic network interface over UART
14 stars 10 forks source link

Set flash SPI mode to QIO #10

Closed CarlosGS closed 1 year ago

CarlosGS commented 1 year ago

Changing DOUT to QIO fixes https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/2303 :tada:

~~After tedious troubleshooting I noticed the module would work when literally putting my finger on it :laughing: :facepalm: Pinpointed to GPIO2 needing a pull down resistor, which was odd, and finally related it to the flash setting.~~

~~My guess is that two flash pins are otherwise floating, and using QIO (quad) gets them driven correctly. Though I'm not sure if DOUT was chosen here to benefit speed in some other way :thinking:~~

Edit: This wasn't the cause, it coincided with the power cable capacitively coupling with the ESP8266 chip :shrug: Sorry for the noise!