Home/Support/Support Forum/CC6UL: read/write NAND flash
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

CC6UL: read/write NAND flash

0 votes
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
asked Sep 28, 2017 in Linux by tnogueir New to the Community (10 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
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
answered Sep 29, 2017 by LeonidM Veteran of the Digi Community (3,203 points)
selected Oct 4, 2017 by tnogueir
...