My project needs to store 10000+ different records, 25 bytes per record. How to configure FDS module space?
My project needs to store 10000+ different records, 25 bytes per record. How to configure FDS module space?
I recommend using external SPI/I²C flash memory - you would not have enough internal flash space left for application and softdevice.
The internal flash space of nrf52832 is 512K,including 152K softdevice and 40K application,and the remaining 300K space is available.The 300K flash space should be enough.
I don't think so. FDS overhead is at least 12 bytes/record IIRC - yielding significanly more than 300KB flash usage. And since records need to be 4-byte aligned, the 25 bytes expand to 40byte/record.
Also finding a specific record would take a significant amount of time.
You could try combining your data records in larger structures for more efficient FDS memory usage, but - depending on how often you need to update - you might soon run out of flash erase/write cycles.
I don't think so. FDS overhead is at least 12 bytes/record IIRC - yielding significanly more than 300KB flash usage. And since records need to be 4-byte aligned, the 25 bytes expand to 40byte/record.
Also finding a specific record would take a significant amount of time.
You could try combining your data records in larger structures for more efficient FDS memory usage, but - depending on how often you need to update - you might soon run out of flash erase/write cycles.