Managing Multiple Applications in A Single EPROM for Sharc Processors, EE-108 .
How to Manage Multiple Applications in ADSP-21363 using SPI Flash ?.
I understand that you want to be able to boot load one out of multiple applications present in the SPI FLASH based on some condition. You could do this by sending a new read command to the SPI FLASH with the appropriate address from where the application needs to be loaded. This command has to be issues in the USER_INIT section of the boot kernel to make sure that the read address is changed before the boot kernel starts fetching the boot stream.
I have a set up tested on ADSP-21364 EZ-Kit. It includes two applications: "blink1" to be stored in sector0 and "blink2" to be stored in sector 1 of the FLASH. The .ldr file of "Blink1" is generated with the modified boot kernel, while that of "Blink2" is generated using the default boot kernel. After reset,the modified boot kernel is loaded and it loads "Blink1" if FLAG0=0 else "Blink2". Attaching the modified boot kernel and the two blink codes here.
We are also in process of upgrading EE-108 that will include more details about how to modify the SHARC boot kernels for different application scenarios. It'll we available on the web soon.
I can't open the zip files neither with winzip (says : cannot open file : It does not appear to be a valid archive) nor with winrar (got garbage file).
Can you send the files again without compressing ?
I could open the zip files using winzip. I have unzipped the same and added for you without compressing. Check whether you are able to open this now?
Check this for the rest of the files.
Retrieving data ...