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

Fix bootloop #59

Closed
wants to merge 1 commit into from
Closed

Conversation

Jason2866
Copy link
Contributor

since QIO is not working here.

@me-no-dev
Copy link
Member

Maybe best to figure out what is breaking it than changing all chips to use DIO. Did you find the same issue on all chips?

@Jason2866
Copy link
Contributor Author

Jason2866 commented Feb 15, 2022

@me-no-dev Yes. Tbh, at the moment i am lost where to search. This issue is there since a longer time (when using Platformio). I do not use Arduino IDE (impossible to do big projects with). If it is verified working with Arduino IDE, i will open a Issue in Platformio github. It seems related to the (new) second bootloader concept.
What i do not understand, it should switch to QIO when the sketch is compiled with QIO option set. This does not happen. Or do i misunderstand how the new bootloaders work? https://docs.espressif.com/projects/esptool/en/latest/esp32/advanced-topics/spi-flash-modes.html#frequently-asked-questions

For example, on ESP32 if ESP-IDF is configured for qio/qout mode then the IDF software bootloader is actually flashed with a dio/dout mode. When ROM code boots this bootloader from flash, the bootloader software checks the flash chip model and enables the correct Quad SPI mode for the rest of the boot process. This is because of the multiple different ways to enable Quad SPI on different chip models.

@me-no-dev
Copy link
Member

bootloader will boot DIO and switch to QIO. Everything is OK, we are flashing everything in DIO if QIO is selected. Issue is elsewhere.

@Jason2866
Copy link
Contributor Author

Thx for clarification. I was already afraid that this was the case

@Jason2866
Copy link
Contributor Author

Closing, it is probably a problem somehow? related to Platformio

@Jason2866 Jason2866 closed this Feb 15, 2022
@Jason2866 Jason2866 deleted the patch-1 branch February 15, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants