CC6UL: read/write NAND flash

Hi,

Is there any way to read/write the local NAND flash programmatically when running the linux or bootloader partitions? I would like to use this, for example, to repair/update partitions with new images being transferred over I2C or SPI.

This may look like a strange request, but for my application updating over the SD Card or TFTP is not an option, and i need a workaround.

Thanks

which module are you using? based on your tags, i assume it is cc6 What is the format of the partition JFFS2 or UBIFS? it’s probably UBIFS if it’s cc6.
You cannot update UBIFS rootfs on the fly, however you can download firmware update images, reboot in to recovery and then flash them. This process is described here:
https://www.digi.com/resources/documentation/digidocs/90001546/#concept/yocto/c_recovery_partition_utils_yocto.htm