Re: ESP32-S3 with large FLASH resets before second-stage bootloader
Posted: Fri Dec 09, 2022 12:52 am
No, you do not. For instance, our ESP32-S3-WROOM-1-N8R8 module has octal PSRAM but quad flash.
ESP32 Official Forum
https://www.esp32.com/
Ok. But GPIO 33 to 37 should be free, right ? Im my case they are not.ESP_Sprite wrote: ↑Fri Dec 09, 2022 12:52 amNo, you do not. For instance, our ESP32-S3-WROOM-1-N8R8 module has octal PSRAM but quad flash.
I get:ESP_Sprite wrote: ↑Fri Dec 09, 2022 5:43 amJust to check if it's not a software error, could you use esptool to write the attached bin file? (esptool.py write_flash 0 hello_world_merged.bin)
Code: Select all
Serial port /dev/ttyACM0
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e0:ed:ec
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00042fff...
Compressed 271392 bytes to 121485...
Wrote 271392 bytes (121485 compressed) at 0x00000000 in 6.1 seconds (effective 355.1 kbit/s)...
File md5: 40ec11bb88e3ecb964fd97fa1a91d71d
Flash md5: bb729591c20498546ecec631b501276b
MD5 of 0xFF is 9fccc877fcc99e6e2419487f3a67e2f1
A fatal error occurred: MD5 of file does not match data in flash!
Code: Select all
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e0:ed:ec
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00042fff...
Erasing flash...
Took 4.91s to erase flash block
Writing at 0x00040000... (96 %)
A fatal error occurred: Failed to write to target Flash after seq 256 (result was 01050000: Requested resource not found)
Code: Select all
esptool.py v4.4
Serial port COM11
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:f0:90:20
Changing baud rate to 460800
Changed.
Enabling default SPI flash mode...
Configuring flash size...
Auto-detected Flash size: 64MB
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00041fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Erasing flash...
Took 0.00s to erase flash block
Wrote 21504 bytes at 0x00000000 in 0.5 seconds (316.2 kbit/s)...
Hash of data verified.
Erasing flash...
Took 0.83s to erase flash block
Writing at 0x00040000... (97 %)
A fatal error occurred: Failed to write to target Flash after seq 192 (result was 01053638: Requested resource not found)
Code: Select all
esptool.py v4.4
Serial port COM11
Connecting...
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:f0:90:20
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00042fff...
Warning: Image file at 0x0 is protected with a hash checksum, so not changing the flash frequency setting. Use the --flash_frequency=keep option instead of --flash_frequency=20m in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 271392 bytes to 121485...
Writing at 0x00000000... (12 %)Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__main__.py", line 11, in <module>
esptool._main()
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 1026, in _main
main()
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\__init__.py", line 826, in main
operation_func(esp, args)
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\cmds.py", line 556, in write_flash
esp.flash_defl_block(block, seq, timeout=timeout)
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 109, in inner
return func(*args, **kwargs)
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 991, in flash_defl_block
self.check_command(
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 407, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 376, in command
p = self.read()
File "C:\Espressif\python_env\idf5.0_py3.8_env\lib\site-packages\esptool\loader.py", line 308, in read
return next(self._slip_reader)
StopIteration