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

Flashing spiffs image fails #9

Open
fschuetz opened this issue Feb 4, 2024 · 0 comments
Open

Flashing spiffs image fails #9

fschuetz opened this issue Feb 4, 2024 · 0 comments

Comments

@fschuetz
Copy link

fschuetz commented Feb 4, 2024

I tried to flash my spiffs image (spiffs.bin created with platformio) to my esp32-s3. It needs to go at 0x210000. I receive the following error:

../../toolchains/esputil/esputil -fp 0x24f -p /dev/cu.usbserial-110 flash 0x210000 spiffs.bin
Using flash params 0x24f
Erasing 2097152 bytes @ 0x210000error 6: Failed to act on received message

I can flash the bootloader.bin (0x0), paritions.bin (0x8000) and firmware.bin (0x10000) without problem using esputil. I also tried with -fp 0x240. Same effect, bootloader, partition and firmware works, spiffs does not.

I can successfully upload the flash image with esptool.py without problem:

esptool.py --no-stub --chip esp32s3 --port "/dev/cu.usbserial-110" --baud 460800 --before default_reset --after hard_reset write_flash -z 0x210000 spiffs.bin
esptool.py v4.7.0
Serial port /dev/cu.usbserial-110
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.1)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 34:85:18:9c:9f:10
Changing baud rate to 460800
Changed.
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00210000 to 0x0040ffff...
Erasing flash...
Compressed 2097152 bytes to 155894...
Took 3.23s to erase flash block
Wrote 2097152 bytes (155894 compressed) at 0x00210000 in 12.2 seconds (effective 1371.7 kbit/s)...
Hash of data verified.

Any idea what I am doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant