Hi,
Using CCSv4 and Spectrum Digital XDS510 USB/JTAG connected to target board equipped with TMS320F2812.
I have two applications, app#1 and app#2, generated in their own projects. I have built each application with a unique linker command file which specifies entrypoint and flash sector location. The idea is to boot app#1 after reset, do some tests and then continue execution in app#2.
So, when trying to program both of the applications to flash I do the following:
1. Start a debug session from app#1 project - this erases the whole flash and writes everything as expected to the sector I specified in linker command file.
2. While in that debug session, I tried Tools->On-Chip flash, and changed load procedure from "erase-program-verify" to only "program-verify"
3. Still in the same debug session, I then used Target->Load program and selected app#2. This seems ok; it doesen't say "erasing" or anything like that and, and I end up in main() of app#2 which is at the correct sector according to the linker command file for app#2.
My problem here is that after loading app#2, app#1 has disappeard! When examining app#1 flash sector it contains nothing but 0xFFFF. Does anyone know the correct procedure of loading two different applications to different internal flash sectors?
Thanks!
/Ola