ESP32 cannot read flash when 5v pin used

thammr
Posts: 3
Joined: Mon Jul 11, 2022 3:34 am

ESP32 cannot read flash when 5v pin used

Postby thammr » Fri May 19, 2023 6:01 am

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?

ESP_Sprite
Posts: 9589
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 cannot read flash when 5v pin used

Postby ESP_Sprite » Fri May 19, 2023 8:20 am

Which IOs are you connecting that module to? Does it still have this behaviour without the relay module?

thammr
Posts: 3
Joined: Mon Jul 11, 2022 3:34 am

Re: ESP32 cannot read flash when 5v pin used

Postby thammr » Fri May 19, 2023 8:37 am

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.

ESP_Sprite
Posts: 9589
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 cannot read flash when 5v pin used

Postby ESP_Sprite » Fri May 19, 2023 3:24 pm

GPIO12 is a strapping pin which sets the power supply for the flash. Does it still not boot if you undo that connection?

thammr
Posts: 3
Joined: Mon Jul 11, 2022 3:34 am

Re: ESP32 cannot read flash when 5v pin used

Postby thammr » Fri May 19, 2023 10:07 pm

Yes thankyou that was the problem.

Who is online

Users browsing this forum: No registered users and 124 guests