Hi,
I'm currently working with a nrf6191 on a custom board using Zephyr and I would like to use little FS as my file system.
So far I've set the configuration and overlay for it to work on the external flash, but whenever I start the program, and I write whatever logs which should be saved using littlefs are located in the internal flash. I can see that it is on the internal flash because whenever I erase and program the same FW version again, the file is not present anymore.
Another test I ran was to directly read the external flash, where I could see that there were no logs.
My overlay is the following one:
And my configuration is as it follows:
I'm setting the littlefs partition so far behind in the memory because I am reserving the addresses from 0x00000000 to 0x000C0000 for the secondary to update, and so far that has worked.
When I write the .bin file I download through HTTP on the external flash on the region I declare in:
It gets written and when I reset it gets updated, therefore I know that the external flash gets recognized.
My external flash is a EN25QH128A whose size is 16MB. I am setting this size because of another custom board that only has 2MB, so the system will be compatible.
So far I got that the littlefs system has worked, but only on the internal flash.
I'm probably missing something on the configuration or while mounting (although I have automount active).
Thank you very much in advance for your help.
Best regards,
Daniel Ovejero Trigo