Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONFIG_BOOTLOADER_SPI_CUSTOM_WP_PIN=n fails with ESP32-U4WDH (IDFGH-4353) #6191

Closed
m-bruck opened this issue Dec 1, 2020 · 1 comment
Closed
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@m-bruck
Copy link

m-bruck commented Dec 1, 2020

  • Development Kit: none
  • Module or chip used: ESP32-U4WDH
  • IDF version: v4.2-rc
  • Build System: idf.py
  • Compiler version: 2020r3
  • Operating System: Windows, ESP Command Prompt
  • Using an IDE?: No

The description for CONFIG_BOOTLOADER_SPI_CUSTOM_WP_PIN says "If this config item is set to N (default), the correct WP pin will be automatically used for any Espressif chip or module with integrated flash."

However it does not seem to work for U4WDH in combination with QIO. The bootloader fails when checking the partition table.

@github-actions github-actions bot changed the title CONFIG_BOOTLOADER_SPI_CUSTOM_WP_PIN=n fails with ESP32-U4WDH CONFIG_BOOTLOADER_SPI_CUSTOM_WP_PIN=n fails with ESP32-U4WDH (IDFGH-4353) Dec 1, 2020
@projectgus
Copy link
Contributor

projectgus commented Apr 12, 2021

Hi @m-bruck,

I'm really sorry noone got back to you about this for such a long time.

You're totally right, the automatic WP pin selection fails in this case and quad flash modes don't work automatically.

As you probably already know, a manual workaround is to enable CONFIG_BOOTLOADER_SPI_CUSTOM_WP_PIN and keep the default choice (7), and it works.

Will have a fix for this ASAP.

@espressif-bot espressif-bot added the Status: In Progress Work is in progress label Apr 13, 2021
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants