Forum Discussion
Altera_Forum
Honored Contributor
19 years agowpaulus,
Thank you for your reply. I believe you are pointing me in the right direction. I had looked at the objcopy command but was somewhat overwhelmed by all the options. In my NIOS C code I am assigning the desired function to the desired memory address using the "section" attribute. In fact I can run the code if I do an ALT_LOAD_SECTION_BY_NAME command within my code. But what I'd like to do is generate the binary file containing the memory contents for this seperate piece of memory and it sounds like objcopy is the way to do it. Do you think you could provide a little more detail on the objcopy command? I've got the .elf file. The object dump indicates that my function is at the desired memory address. I know the name of the section where I want the code to reside and I want a raw binary output. Again thank you and any additional help is welcome. Thanks, Jake