Creating a Custom Partition for ESP-AT
Posted: Fri Nov 17, 2023 10:35 pm
Hello I am flashing my ESP-C3-WROOM-02 with the following command:
[Codebox]python -m esptool -p COM7 -b 921600 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_size 4MB 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0xf000 phy_multiple_init_data.bin 0x0 bootloader/bootloader.bin 0x60000 esp-at.bin 0x1e000 at_customize.bin 0x1F000 customized_partitions/ble_data.bin 0x3a000 customized_partitions/mqtt_key.bin 0x27000 customized_partitions/server_key.bin 0x3c000 customized_partitions/mqtt_ca.bin 0x2d000 customized_partitions/client_key.bin 0x2b000 customized_partitions/client_cert.bin 0x31000 customized_partitions/factory_param.bin 0x2f000 customized_partitions/client_ca.bin 0x38000 customized_partitions/mqtt_cert.bin 0x29000 customized_partitions/server_ca.bin 0x25000 customized_partitions/server_cert.bin[/Codebox]
I would like to create some additional custom partitions to hold user data. I am wondering how I would go about creating a partition space? I am not sure of the steps to creating a user_space.bin that I could add here. Additionally, how much space could I realistically use for this user data section?
Lastly, to write to this space via an AT command would I use AT+SYSFLASH?
Thanks for any help!
[Codebox]python -m esptool -p COM7 -b 921600 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_size 4MB 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin 0xf000 phy_multiple_init_data.bin 0x0 bootloader/bootloader.bin 0x60000 esp-at.bin 0x1e000 at_customize.bin 0x1F000 customized_partitions/ble_data.bin 0x3a000 customized_partitions/mqtt_key.bin 0x27000 customized_partitions/server_key.bin 0x3c000 customized_partitions/mqtt_ca.bin 0x2d000 customized_partitions/client_key.bin 0x2b000 customized_partitions/client_cert.bin 0x31000 customized_partitions/factory_param.bin 0x2f000 customized_partitions/client_ca.bin 0x38000 customized_partitions/mqtt_cert.bin 0x29000 customized_partitions/server_ca.bin 0x25000 customized_partitions/server_cert.bin[/Codebox]
I would like to create some additional custom partitions to hold user data. I am wondering how I would go about creating a partition space? I am not sure of the steps to creating a user_space.bin that I could add here. Additionally, how much space could I realistically use for this user data section?
Lastly, to write to this space via an AT command would I use AT+SYSFLASH?
Thanks for any help!