Keresés

Hirdetés

Új hozzászólás Aktív témák

  • Aryes

    nagyúr

    válasz gya/352 #19457 üzenetére

    esptool.py -p com4 erase_flash

    Ezzel is próbáld meg, ahogy a linkelt oldalon írják.

    Próbáltál már különböző memória kiosztásokat (APP/OTA/SPIFFS) beállítani feltöltés előtt?

    Az oldalon egyébként írják az okokat is:

    SOLVED:

    We are now 99% sure this problem is actually caused by a hardware design issue with our USB programming board.

    During the condition where the main power supply to the board is OFF but the programmer is still connected to USB, we see stray voltages on the pins connected to the ESP32, including the MTDI pin. This pin has an internal pull down in the ESP, but it is not active until after power is applied. Where it has floated high during power down, it looks like the pin is not pulled low fast enough at power on, and gets read as "1". This causes the VDD_SDIO to be set to 1.8v instead of 3.3v. We observe that the pin strapping shown by the bootloader is 0x33 or 0x3f instead of 0x13. The condition persists a software reboot, and our testers were usually experiencing a recurrence of the problem if they cycled the power. However, reprogramming the board would reset it until some future power interruption caused it to recur.

    The problem did not happen on our original boards because the flash still worked correctly even at the lower voltage. However, more recent boards have a later ESP module with a different flash chip (Manufacturer: c8; Device: 4017). I have now confirmed that on these boards, the flash can be read but cannot be written when VDD_SDIO has been set to 1.8v.

    I have worked around the problem on our dev boards by running this espefuse command to set the VDD_SDIO to 3.3v via the e-fuses:
    CODE:

    python path\to\esp\tools\espefuse.py -p comX set_flash_voltage 3.3V

    Van neked kötve valami az MTDI pin-re (GPIO12)? Ha jól értem egy külső lehúzó ellenállás (pl 10kΩ) esetleg megoldhatja a dolgot.

    [ Szerkesztve ]

Új hozzászólás Aktív témák