kmeps4 / Kme900_Auto_ESP32_S2

Modded Kameleon PS4 900fw Auto Lite Host For ESP32-S2 Boards
65 stars 5 forks source link

(length 4194304) at offset 4096 will not fit in 4194304 bytes #6

Open Denyreal opened 6 months ago

Denyreal commented 6 months ago

Hi

Thank you for your work !

i'm trying to slash an esp32-S2

this one :

https://www.wemos.cc/en/latest/s2/s2_mini.html

i tried with this :

sudo esptool.py --port /dev/ttyACM0 --baud 1000000 write_flash -z 0x1000 Kme900Auto_ESP32S2_Ghen24b16.2.bin

i got this error

A fatal error occurred: File Kme900Auto_ESP32S2_Ghen24b16.2.bin (length 4194304) at offset 4096 will not fit in 4194304 bytes of flash. Use --flash_size argument, or change flashing address.

Can some wizard give me a hint on how to work this out ?

Thanks ;)