Forum Discussion
Altera_Forum
Honored Contributor
16 years agoi tried a similar exercise from commans shell using
elf2hex --base=0x0 --end=0x1fff <input elf file > <output hex file name > --width=32 earlier i tried with the actual start and end base addresses of the onchip memories used in the design. Then i too got a hex file will only 0s. with base starting from 0 to the actual size i was able to get hex file other than 0s. what bothers me though is when quartus is asked to update the memory init file, it gives a warning that data in hex file is greater than that can be accomodated and hence will be wrapped around . Hope it does not cause data corruption :)