Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

CCS/CCSTUDIO: Double application handling

$
0
0

Part Number:CCSTUDIO

Tool/software: Code Composer Studio

Hi there,

I'm developing an application on a TMS320C6418 target, using CCS5.5.0.

I have a main application  "Application_1", and I need to be able to switch to a second application "Application_2" in case a special condition occurs.

I have 2 different projects, 2 different compilations and 2 .hex files (converted from the .out through hex6x.exe utility).

Application_1 and Application_2 have to be stored on an external EEPROM, ROM boot mode (CE1) is used.

Application_1 is the one that Always has to be executed after reset: it is stored at address 0 of the external ROM so that the boot sequence runs it on startup.

Application_2 is stored on the external memory also, on a different page of the EEPROM.

How do I let Application_2 be the new application to be executed, switching from the running Application_1?

Is it enough to create a partition on the onchip RAM, copy the entire Application_2 hex file and the move the program counter at the beginning of Application_2 RAM address?

Thank you

Regards


Viewing all articles
Browse latest Browse all 17527

Trending Articles