Altera_Forum
Honored Contributor
19 years agoHow one program can download and run another.
I want to be able to run a program in high ram memory which reads the data for another program over a usb link and stores this data in low memory. Once all the data has been received and validated the high memory program will jump to the start address of the low memory program.
We have 16MB of SDRAM and the plan was to have the usb loader program run at 0xF00000 and the other program run at as low address as possible. I seem to have several problems with trying to do this: Both the high memory and low memory program have exception code at 0x20. Creating a bin file for the high memory program results in a file of over 15MB as it spans the full distance from 0x20 to 0xFxxxxx. I don't think I can move the exception address for the bootloader without affecting the subsequent program. Is there a way to do what I want, do I need to re-order how things are positioned in memory?