logo elektroda
logo elektroda
X
logo elektroda

[Solved] ESP32 WROOM: error Wrong boot mode detected (0x17) - how to set the download mode?

PRL 366 9
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
  • #1 21714609
    PRL
    Level 41  
    Welcome.

    My EPS32 WROOM has broken down.
    I have this error:

    Quote:
    A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x17)! The chip needs to be in download mode.
    .

    Is it possible to fix it somehow?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #2 21714757
    konradkarnisz
    Level 7  
    Try setting the bootloader mode in the Arduino IDE to the old one. It usually solves the problem.
  • ADVERTISEMENT
  • #4 21715355
    konradkarnisz
    Level 7  
    First of all, I would check that the board is detected as a com port in the device manager and the description should be there. Without a driver, you won't get anywhere.
  • ADVERTISEMENT
  • #5 21715861
    konradkarnisz
    Level 7  
    Have a look at your board there should be such a chip in soic 18 if I am not mistaken. Read the name off it, type it in the search engine with the word driver. In Arduino ide you also have to set the right board model, because there are many of them. It probably says on the back of the board.
  • ADVERTISEMENT
  • #6 21719869
    PRL
    Level 41  
    The problem is that the system was working. When sending the program via OTA, there was a disconnection and it hasn't worked since. I guess it will just be binned.
    Helpful post? Buy me a coffee.
  • #7 21720031
    konradkarnisz
    Level 7  
    I would replace the chip there is probably ch340 but it depends on the version.
  • #8 21720045
    Chris_W
    Level 39  
    PRL wrote:
    The problem was that the circuit was working. When sending the program via OTA, there was a disconnection and it hasn't worked since. I guess it will just be bin.
    .
    One by one, write the story of what is happening.
    The message is during OTA flashing?
    I've had instances of various errors during OTA - it crashes the device programmatically - but through the uart it usually goes and fixes it.
  • #9 21720234
    PRL
    Level 41  
    Chris_W wrote:
    In turn, write
    .

    I loaded the program with OTA support.
    I loaded the patches via WiFi several times. One failed and since then there is the above mentioned error.
    After connecting the board the port is detected, but sending the program ends with the mentioned error.
    Helpful post? Buy me a coffee.

Topic summary

An ESP32 WROOM module encountered a "Wrong boot mode detected (0x17)" error after a failed OTA firmware update via WiFi, causing the device to become unresponsive to programming attempts. The board is still detected as a COM port, but flashing fails with the same error. Suggested troubleshooting steps include verifying the correct COM port and driver installation (e.g., CH340 USB-to-serial chip), ensuring the correct board model is selected in the Arduino IDE, and trying to set the bootloader mode to the older version in the IDE. OTA failures can cause programmatic crashes that may be recoverable via UART flashing. However, due to the low cost of the module, the user opted to discontinue repair efforts.
Summary generated by the language model.
ADVERTISEMENT