- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the best way to store variables (nonvolatile) on NIOS hardware? Can somebody give some examples to store a array of stuct's? On my hardware is a EEPROM (SPI) and flash.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Open the flash for reading/writing... just store them sequentially... if you aren't using the flash for anything else of course.
You can use fseek and fread/fwrite to do your bidding. Don't forget to use fopen with the read/write binary flags.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page