Forum Discussion
Altera_Forum
Honored Contributor
21 years agoOption to skip elf2hex?
Is there such on option?
It would help tremendously. I have two builds, one of which I run in SRAM, the other runs in onchip-ROM. Every time I do the SRAM-code build it overwrites the onchip-ROM HEX file, filling it with zeroes. This is a pain; as I do PLD updates I have to make sure I perform a rebuild of the on-chip-code in order to make sure the HEX files are OK.1 Reply
- Altera_Forum
Honored Contributor
I don't know the answer but how about setting the hex file to read only? I've run into this problem in the past when I had a pre-initialized lookup table that Nios could access but I didn't have the compiler pre-populate. I'd tell you what I did (since you have a very similar case) but I can seem to remember (I must be getting old and the brain isn't what it used to be http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif )