FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
266 views 0 comments
by anonymous
I afraid  life span of SPI flash memory.
check the following source, you will see that it is read and written in 64KB units.
Are writes by 'uci commit(mtd5?)' and 'eventslog(mtd7?)' subject to the 100,000 count limit?
mtd5 and mtd7 both seem to set use Jffs2 Filesystem
mtd5 is 20x64KB=1280KB
mtd7 is 9x64KB=576KB
'uci commit' is 100,00 x 20 count limit ?
'eventslog' is 100,000 x 9 count limit ?
Is it guaranteed by the above formula?

RUT2XX_R_GPL/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.44/.config
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
RUT2XX_R_GPL/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.44/drivers/mtd/spi-nor/spi-nor.c

1 Answer

0 votes
by anonymous
Hi,

Flash of RUT240 should be able to go through 100,000 (100k) cycles of erasing and read is unlimited.

So if we won't look at the accurate numbers (as these are not really accurate when there are hundreds of services running and doing the same thing with your flash and that's excluding uci commit and eventslog that you've mentionted), your flash should be alright as long as you're not trying to push something big, that could fill up your whole flash in one go, back and forth each day, each hour and so on.

EB.