Closed GYY-110 closed 5 months ago
please refer to this format:
esptool.py write_flash 0x0 xx.bin
@espressif2022 What do you mean, I get this error when running idf.py flash
@espressif2022 What do you mean, I get this error when running
idf.py flash
Hello, the flashing method for the ChatGPT demo is different from other demos. For specific flashing steps, please refer to https://github.com/espressif/esp-box/blob/master/examples/chatgpt_demo/README.md.
Yes, I notice the flash partitions you write, you need ro write it as README:
Error:
0x0 bootloader/bootloader.bin
0x700000 chatgpt_demo.bin
0x8000 partition_table/partition-table.bin
0xd000 ota_data_initial.bin
0xb00000 srmodels/srmodels.bin
0x900000 storage.bin
Right:
0x0 build/bootloader/bootloader.bin
0x8000 build/partition_table/partition-table.bin
0xd000 build/ota_data_initial.bin
0x10000 build/chatgpt_demo.bin
0x900000 build/storage.bin
0xb00000 build/srmodels/srmodels.bin
0x700000 factory_nvs/build/factory_nvs.bin
I will turn off this issue, welcome to consult if you have new questions
[3/3] cmd.exe /C "cd /D G:\project\ESP-IDF\code\esp-box\esp-box\examples\chatgpt_demo\b...storage.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len"
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}] [--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