Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem generating Hex files for on chip memories.
I have two on chip memories for my Nios system. ("instruction_rom" and "data_ram", both are actually RAM's) I am having problems with .hex files generated for these internal memories. The I...
Altera_Forum
Honored Contributor
16 years agoThis is quite helpful :-)
Using elf2hex as above I can generate a hex file that contains data rather than just 0's. My problem now is that I have two rams. One for instructions and one for data. eg (.text) in Instruction_Rom (.rodata, .rwdata, heap and stack) in Data_RAM I assume that both of these are contained within the elf file. So how do I extract the relevant sections? Cheers H