Solved: I added a pull down to GPIO2 and GPIO12 (explained in the comments below) and that allowed proper reflashing and reboots.
ESP32 and level shifting question for @Sam_Guyer @Yves_BAZIN
I picked up this esp32-dev clone,: https://github.com/Nicholas3388/LuaNode
. My program works fine with it, but when I power through 5V (via USB or external 5V), and use the 3.3V to connect to a level shifter https://www.ezsbc.com/index.php/products/ls1.html , every time I reboot, the program in flash is lost
ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371
Is it a bad clone that corrupts its flash if you connect something to the 3.3V output, or could it be another problem?
For such a level shifter to work, I do have to connect its High pin to the 5V going to the ESP32, and I kind of have to use the 3.3V output of the ESP32 to connect to the Low pin of that level shifter, correct?
Sadly when I do this, I can’t even flash anything to it until I unplug the 3.3V wire.