Any recommendation for a filesystem for nand flash?
My application uses zephyr on nrf85240 with a 128MB nand flash.
It samples sensors and streams their data to the flash device so write throughput and latency are critical.
Regards
Any recommendation for a filesystem for nand flash?
My application uses zephyr on nrf85240 with a 128MB nand flash.
It samples sensors and streams their data to the flash device so write throughput and latency are critical.
Regards
Hi,
Please find related information in the discussions on these links:
devzone.nordicsemi.com/.../nrf52840-external-spi-nand-flash-fatfs
devzone.nordicsemi.com/.../external-nand-flash-with-nrf5340-non-spi
devzone.nordicsemi.com/.../suitable-filesystem-for-external-slc-nand-flash-memory
Best regards,
Dejan
Thanks, I've decided to give little_fs a try.
But I'm having some trouble.
I was following the documentation here for configuring the partition:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions
For some reason I get an error regarding qspi nor, while there is no qspi nor used in the project. checking .config I see that qspi nor flash has been configured (CONFIG_NORDIC_QSPI_NOR=y)
error message: ncs/zephyr/include/devicetree.h:305:40: error: 'DT_N_INST_0_nordic_qspi_nor_P_sck_frequency' undeclared here (not in a function) 305 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
Can't understand what caused for this undesired configuration
I'm using the nrf52840 with ncs 1.7.1
this problem was caused by CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY config which is by default y when using external flash and mcuboot, which I'm using but not on external flash
Hi,
Are there any problems left? Could you share the current status?
Best regards,
Dejan
I have successfully managed to mount littlefs on the external flash
I needed to configure CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
the default for CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY is y, which initiates a qspi nor flash configuration, which I don't have in my system, and therefore caused some trouble
I have successfully managed to mount littlefs on the external flash
I needed to configure CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
the default for CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY is y, which initiates a qspi nor flash configuration, which I don't have in my system, and therefore caused some trouble
Hi,
It is good to hear that your chosen file system is working on external flash.
Best regards,
Dejan