Page 1 of 1

ESP32 cannot read flash when 5v pin used

Posted: Fri May 19, 2023 6:01 am
by thammr
Hi,
I recently purchased a solid state relay module. Initially I used an Arduino Nano 33 IOT to drive the module. This worked fine.
However, when I tried to use an ESP32, it wouldn't boot - flash read error 1000
If I connect the 5V line after booting (yes dodgy I know), everything works fine. Clearly this is not a practical solution.
I previously used this ESP32 to drive an OLED display with 5V and had no problem booting, so I am at a loss.

The device specifications are:

8 Channels
Size: 105 x 55 x 25mm (L * W * H)
Input Power: 5V DC (160MA)
Input control signal voltage:
0-2.5V state low relay ON
3.3-5V state high relay OFF
Voltage Current: 12.5mA
Trigger Voltage: 0-2.5V
Trigger Current: 2mA
Voltage: 5V
Quiescent Current: 0mA

Any ideas?

Re: ESP32 cannot read flash when 5v pin used

Posted: Fri May 19, 2023 8:20 am
by ESP_Sprite
Which IOs are you connecting that module to? Does it still have this behaviour without the relay module?

Re: ESP32 cannot read flash when 5v pin used

Posted: Fri May 19, 2023 8:37 am
by thammr
I have 8 digital outputs(13, 12, 14, 27, 26, 25, 33, 32), 5v and Gnd connected to the module. No other connections.
Works fine without the module connected to 5V at boot.
I've used this ESP-32 in several other projects without problem = most used 5V.

Re: ESP32 cannot read flash when 5v pin used

Posted: Fri May 19, 2023 3:24 pm
by ESP_Sprite
GPIO12 is a strapping pin which sets the power supply for the flash. Does it still not boot if you undo that connection?

Re: ESP32 cannot read flash when 5v pin used

Posted: Fri May 19, 2023 10:07 pm
by thammr
Yes thankyou that was the problem.