- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I got use SOPC builder and specified a "your_image.hex" as the memory initialization file for the on-chip memory. May I know are there any ways to change the content of the hex file without recompiling the whole project ? Each time I change the content I need to recompile again for it to work. Thank you in advance.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, for the debug you can use the "In system memory editor" described here : http://www.altera.com/literature/hb/qts/qts_qii53012.pdf
You select the target memory, then import relevant data file and write it to the embedded RAM and it's done !- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Too bad that method doesn't support Nios II on-chip memory and only works on certain megafunctions. Are there other ways?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Originally from http://www.alteraforum.com/forum/showpost.php?p=22783&postcount=7
quartus_cdb --update_mif <your quartus project name>.qpf quartus_asm <your quartus project name>.qpf Will generate new programming files with up to date memory initialization files.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this should be the same as going to Processing => Update Memory Initialization File, then running the Assembler (if you're a GUI user).

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