Altera_Forum
Honored Contributor
15 years agoFile System Help
I have a system where I can make a linked list of a data structures that contain some 32-bit numbers. The main software uses these linked lists as sort of points on a curve where the hardware uses logic to connect the dots in a linear fashion. These data structures are the main part of the system. Some systems will create, edit, and delete these structures more than other systems so I need something that can potentially handle a lot of wear.
For the time being I have just been allowing 1 sector of an EPCS64 chip to be used as user data. This means anytime I make a small change I'm copying the sector to a buffer making changes to it, and then erasing the entire 64KBytes and then writing the updated buffer back. This seems like a very good way to lower the lifespan of the chip. I'm guessing on average possibly 20 updates a day. I've also been asked to give the ability in the future for users to make these list structures, or more complicated ones, using some customized software. We want them to be able to send them from a PC to the FPGA board like a copy paste function. Would the best way to achieve this functionality be using a FAT file system? Also, should I switch over to a SPI mode MMC card for the storage, or will the EPCS device be adequate?