esptool 4.11.dev2__tar.gz → 4.12.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {esptool-4.11.dev2/esptool.egg-info → esptool-4.12.dev1}/PKG-INFO +1 -1
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/__init__.py +17 -4
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/loader.py +0 -3
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32p4.py +4 -2
- {esptool-4.11.dev2 → esptool-4.12.dev1/esptool.egg-info}/PKG-INFO +1 -1
- {esptool-4.11.dev2 → esptool-4.12.dev1}/pyproject.toml +1 -1
- {esptool-4.11.dev2 → esptool-4.12.dev1}/LICENSE +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/MANIFEST.in +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/README.md +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esp_rfc2217_server/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esp_rfc2217_server/__main__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esp_rfc2217_server/esp_port_manager.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esp_rfc2217_server/redirector.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esp_rfc2217_server.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/__main__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/base_fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/base_operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/csv_table_parser.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/emulate_efuse_controller_base.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c2/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c2/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c2/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c2/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c2/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c3/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c3/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c3/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c3/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c3/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c6/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c6/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c6/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c6/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c6/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c61/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c61/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c61/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c61/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c61/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h21/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h21/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h21/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h21/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h21/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h4/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h4/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h4/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h4/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h4/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32p4/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32p4/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32p4/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32p4/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32p4/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s2/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s2/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s2/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s2/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s2/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/emulate_efuse_controller.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/fields.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/mem_definition.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/operations.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/mem_definition_base.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/util.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c2.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c3.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c5.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c5beta3.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c6.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32c61.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32h2.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32h21.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32h2_v0.0_v1.1.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32h4.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32p4.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32p4_v3.0.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32s2.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse_defs/esp32s3.yaml +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espsecure/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espsecure/__main__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espsecure/esp_hsm_sign/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espsecure/esp_hsm_sign/exceptions.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/espsecure.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/__main__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/bin_image.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/cmds.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/config.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/reset.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/__init__.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c2.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c3.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c5.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c5beta3.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c6.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c61.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32c6beta.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32h2.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32h21.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32h2beta1.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32h2beta2.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32h4.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32s2.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32s3.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp32s3beta2.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/esp8266.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/README.md +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c3.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c5.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c5beta3.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c6.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c61.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32c6beta.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32h2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32h2beta1.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32h2beta2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32p4.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32p4rc1.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32s2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32s3.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp32s3beta2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/1/esp8266.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/LICENSE-APACHE +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/LICENSE-MIT +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/README.md +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32c2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32c3.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32c6.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32h2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32s2.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/targets/stub_flasher/2/esp32s3.json +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/uf2_writer.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool/util.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool.egg-info/SOURCES.txt +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool.egg-info/dependency_links.txt +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool.egg-info/requires.txt +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool.egg-info/top_level.txt +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/esptool.py +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/setup.cfg +0 -0
- {esptool-4.11.dev2 → esptool-4.12.dev1}/setup.py +0 -0
|
@@ -29,7 +29,7 @@ __all__ = [
|
|
|
29
29
|
"write_mem",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.
|
|
32
|
+
__version__ = "4.12.dev1"
|
|
33
33
|
|
|
34
34
|
import argparse
|
|
35
35
|
import inspect
|
|
@@ -898,9 +898,6 @@ def main(argv=None, esp=None):
|
|
|
898
898
|
value = (hd << 24) | (cs << 18) | (d << 12) | (q << 6) | clk
|
|
899
899
|
return spi_config_txt, value
|
|
900
900
|
|
|
901
|
-
if not esp.secure_download_mode:
|
|
902
|
-
esp.power_on_flash()
|
|
903
|
-
|
|
904
901
|
# Override the common SPI flash parameter stuff if configured to do so
|
|
905
902
|
if hasattr(args, "spi_connection") and args.spi_connection is not None:
|
|
906
903
|
spi_config = args.spi_connection
|
|
@@ -1015,6 +1012,22 @@ def main(argv=None, esp=None):
|
|
|
1015
1012
|
except FatalError as e:
|
|
1016
1013
|
esp.trace(f"Unable to perform XMC flash chip startup sequence ({e}).")
|
|
1017
1014
|
|
|
1015
|
+
if not esp.secure_download_mode:
|
|
1016
|
+
try:
|
|
1017
|
+
"""
|
|
1018
|
+
The flash state in the application has become increasingly complex,
|
|
1019
|
+
which can cause the ROM to run with residual states when reflashing
|
|
1020
|
+
after the application has been running. Since the ROM code is very
|
|
1021
|
+
simple and does not have the capability to handle these states,
|
|
1022
|
+
this adds a reset mechanism to the flash to cleanly reset its state,
|
|
1023
|
+
allowing the ROM to boot successfully (e.g. 120M boot up).
|
|
1024
|
+
"""
|
|
1025
|
+
esp.run_spiflash_command(0x66) # Reset enable
|
|
1026
|
+
esp.run_spiflash_command(0x99) # Reset
|
|
1027
|
+
time.sleep(0.001)
|
|
1028
|
+
except FatalError as e:
|
|
1029
|
+
esp.trace(f"Unable to reset flash chip ({e}).")
|
|
1030
|
+
|
|
1018
1031
|
if hasattr(args, "flash_size"):
|
|
1019
1032
|
print("Configuring flash size...")
|
|
1020
1033
|
if args.flash_size == "detect":
|
|
@@ -1182,9 +1182,6 @@ class ESPLoader(object):
|
|
|
1182
1182
|
|
|
1183
1183
|
return "USB-Serial/JTAG" if usb_jtag_serial else "USB-OTG" if usb_otg else None
|
|
1184
1184
|
|
|
1185
|
-
def power_on_flash(self):
|
|
1186
|
-
pass # The flash chip needs to be powered on only in special cases
|
|
1187
|
-
|
|
1188
1185
|
@classmethod
|
|
1189
1186
|
def parse_flash_size_arg(cls, arg):
|
|
1190
1187
|
try:
|
|
@@ -242,6 +242,8 @@ class ESP32P4ROM(ESP32ROM):
|
|
|
242
242
|
self.ESP_RAM_BLOCK = self.USB_RAM_BLOCK
|
|
243
243
|
if not self.sync_stub_detected: # Don't run if stub is reused
|
|
244
244
|
self.disable_watchdogs()
|
|
245
|
+
if not self.secure_download_mode:
|
|
246
|
+
self.power_on_flash() # Needs to be powered on before attach_flash()
|
|
245
247
|
|
|
246
248
|
def uses_usb_otg(self):
|
|
247
249
|
"""
|
|
@@ -307,8 +309,8 @@ class ESP32P4ROM(ESP32ROM):
|
|
|
307
309
|
if self.secure_download_mode:
|
|
308
310
|
raise NotSupportedError(self, "Powering on flash in secure download mode")
|
|
309
311
|
|
|
310
|
-
if self.get_chip_revision()
|
|
311
|
-
# The flash chip is powered off by default on
|
|
312
|
+
if self.get_chip_revision() != 301: # !=ECO6
|
|
313
|
+
# The flash chip is powered off by default on ECO6, when the default flash
|
|
312
314
|
# voltage changed from 1.8V to 3.3V. This is to prevent damage to 1.8V flash
|
|
313
315
|
# chips. Board designers must set the appropriate voltage level in eFuse.
|
|
314
316
|
return
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32c5beta3/emulate_efuse_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32h2beta1/emulate_efuse_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{esptool-4.11.dev2 → esptool-4.12.dev1}/espefuse/efuse/esp32s3beta2/emulate_efuse_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|