Open emard opened 2 years ago
second reason why SD card doesn't work is that wifi pins 2 and 12 are connected together
assign led = {wifi_gpio15, wifi_gpio14, wifi_gpio13, wifi_gpio12};
>>> from machine import Pin
>>> p2=Pin(2,Pin.OUT)
>>> p2.on()
>>> p2.off()
>>> p12=Pin(12,Pin.OUT)
>>> p12.on() # same LED turns on as with p2.on()
>>> p12.off()
SD card is working on WROVER - so maybe you can check if gpio 2 and gpio 12 are bricked on your HAT board?
with passthru from DFU, setting io12 on (this pin is used with SD card) reboots ESP32 passthru somehow connects rising io12 pin with EN, disabling driving EN from passthru doesn't reboot anymore otherwise