Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThanks a lot friends for your precious time...I dont know how to find the offset of the SOF...But what i did was first i converted the SOF to flash and then flash to binary.....similarly the elf to flash and flash to binary..then i used the command concatenate command "cat" and concatenated the SOF and ELF binary files to a single binary file....Then i got this file over UART into my NIOS processor flashed it on the EPCS flash device using the EPCS flash write commands provided by the altera library ....after rebooting the application worked fine....
?????????????? Now i am writing two application images ...In the first application image i just jump to the starting address of the second application image..... In order to do this i need the address of the second application image in the RAM in order to make a jump to it... 1>How do i make sure that the boot loader(EPCS boot loader) doesnt load the second image on top of the first image in the RAM and that it loads the second image at the address given by me(How do i give this as a input???) Currently the EPCS boot loader loads the application starting at 0x800000 in the RAM. I want my second application to be loaded at a address 0x820000 in RAM....and hence i can make a jump to this location from my first application... Please help...thanks a lot in advance