Version change of the encypted ESP32 (bricked) (VSC-1539) #1366
Labels
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
stale
Stale PR or Issue
OS
Windows
Operating System version
Windows 11
Visual Studio Code version
1.96
ESP-IDF version
5.3.0
Python version
3.11.1
Doctor command output
Executing task: c:\ESPIDF_VERSIONS\V_5_2\tools\python_env\idf5.3_py3.11_env\Scripts\python.exe C:\Users\Ralfs\esp\v5_2\esp-idf\components\esptool_py\esptool\esptool.py -p COM4 -b 460800 --before default_reset --after no_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB --encrypt-files 0x0 bootloader/bootloader.bin 0x20000 Demo.bin 0x10000 partition_table/partition-table.bin 0x16000 ota_data_initial.bin 0x0 bootloader/bootloader.bin 0x20000 Demo.bin 0x10000 partition_table/partition-table.bin 0x16000 ota_data_initial.bin 0x3b2000 storage.bin
usage: esptool write_flash [-h] [--erase-all] [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}] [--flash_mode {keep,qio,qout,dio,dout}]
[ ...]] [--ignore-flash-encryption-efuse-setting] [--force] [--compress | --no-compress][--flash_size {detect,keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}] [--spi-connection SPI_CONNECTION] [--no-progress] [--verify] [--encrypt]
[--encrypt-files
[ ...]
esptool write_flash: error: argument --encrypt-files: Detected overlap at address: 0x0 for file: bootloader/bootloader.bin
Extension
No response
Description
Last week all worked okay (version was 1.8.1). I had autoupdate enabled for esp-idf vs extesion so it updated to 1.9.0. This week when i tried to upload code, it gave me memory overlap error. Than i noticed version has changed, I went back one version (to 1.8.1 again), it didnt want to compile it, so i needed to delete build dir. Did that and everything compiled again, and uploaded ok. But the issue is when it uploaded it bricked the esp....
Invalid header 0xXXXXX..... So now i cant get back the compiled version that i had that was working on encrypted esp.
Why does recompilation of same project bricks encrypted esp? (no changes neither in code or in menuconfig, same framework (5.3.0))
Debug Message
None
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: