- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm working on Cyclon4Gx FPGA Project and I have a problem with the battery backup ram. Every time I reset the software the memory is always erased. In the past I worked on a similar cyclon 2 project and the memory was not erased after a reset. I'm using Quartus 2 12.1 and my code is located in on-chip-memory. Does anybody have a suggestion?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems kind of obvious, but did you measure the battery voltage? Maybe it's just a dead battery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The battery is ok, I did a couple of tests yesterday and I found that the data are cleared by system startup . If i save a variables with the IOWR instruction outside the map of linker the variables are not erased, I think the alt_load function erases all the section (.text .rwdata etc..) but i don't understand how to configure the bsp setting to avoid this. I have the reset vector , .text, . rwdata , .rodata and the other section in sram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This sounds like a software issue. Check the compiler and linker manuals. There might be an option to not clear memory on start up.

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