Adding nvs partition without physical UART connection to hardware
Posted: Wed May 22, 2019 3:20 pm
Hello,
currently we are using a custom partition table with 2 ota partitions. The initial factory load, containing boot loader, partition table and App is flashed through Uart/ USB.
After that point ot time, the customers get updates through ota, we have no physical access through the UART interface anymore without unmounting the hole thing..) So far so good...
Our Problem:
We would like to roll out a new update which requires a new 4MB partiton for a spiffs. (we have space enough at the end of the existing table). No problem for new systems were the csv partition table already contains the required partition.. But the existing systems does not have this required partition.
This is why we cannot update the systems in the field without accessing through the UART interface..
Is there an alternative way to add a partition to an existing partition table (which should come after the used partitions) e.g. through runtime (maybe calling once a magic function) or with ota?
Or is the only way to have physical access to the hardware and reflash the hole thing?
thanks.
Juergen
currently we are using a custom partition table with 2 ota partitions. The initial factory load, containing boot loader, partition table and App is flashed through Uart/ USB.
After that point ot time, the customers get updates through ota, we have no physical access through the UART interface anymore without unmounting the hole thing..) So far so good...
Our Problem:
We would like to roll out a new update which requires a new 4MB partiton for a spiffs. (we have space enough at the end of the existing table). No problem for new systems were the csv partition table already contains the required partition.. But the existing systems does not have this required partition.
This is why we cannot update the systems in the field without accessing through the UART interface..
Is there an alternative way to add a partition to an existing partition table (which should come after the used partitions) e.g. through runtime (maybe calling once a magic function) or with ota?
Or is the only way to have physical access to the hardware and reflash the hole thing?
thanks.
Juergen