-
Notifications
You must be signed in to change notification settings - Fork 313
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
[Feature Request]: support Host-Generated Flash Encryption and Release Mode (VSC-1017) #853
Comments
This issue has been marked as |
@brianignacio5 appreciate you taking a look at this again. Just to provide more thoughts, I'm thinking:
|
Sorry this was automatically closed by the bot, This could be a nice feature plan but a bit dangerous for beginner users so need to consider some validations as well. Thank you for the thoughts, will think of feature action plan for this and decide with IDF team a good course of action. Will tag any work done related to this. |
No problem. No rush! This is low priority for me now, as I made my own flashing tool to handle this. But it would have been convenient to have VSC support it directly. |
This issue has been marked as |
I'm getting closer to production, and this feature would be very useful.
This means i lose the ability to push the "flash" button in vscode, which is annoying! Perhaps I can rig up the "run custom command button" myself as a workaround. 😀 Thanks again for adding that. That said, i think this feature would be very simple to implement? Like 1 day of work maximum. |
related: espressif/esptool#809
espressif/esp-idf#10340
Backgound
Docs: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/security/flash-encryption.html#manual-encryption
ESP-IDF has 2 flash encryption modes:
Problem
Release mode is not supported by the VSC ESP-IDF Extension, even if we have a Host Generated key.
Currently in Release Mode, VSC Flash Command just completely fails:
A fatal error occurred: Detecting flash size is not supported in secure download mode. Need to manually specify flash size.
The text was updated successfully, but these errors were encountered: