Если я правельно понял задачу, тебе надо сделать script или ехе которая при вызове автоматически заставляет CCS производит компиляцию, программирует DSP, и его включает. Жалко что тебя заставляют пользоватся C5402. От
сюда (supported hardware->supported platforms->link feature) видно что для С55 и новее есть PIL (processor in the loop) возможность из матлаба. Через simulink автоматически вызывается CCS, и, если ты пользуешся стандартным demo board (DSK), DSP програмируется сам. Тогда можно контролировать DSP через матлаб, получается нечто вроде debugger.
Но, возможно не все для тебя проигранно - я вхожу в не очень знакомые воды, сам это не пробовал, но есть возможность RTDX, которая поддерживается для твоего DSP если у тебя с матлабом установлен link for Code Composer toolbox.
Цитата
Link for Code Composer Studio provides components that work with and use CCS IDE and TI Real-Time Data Exchange (RTDX):
- Debug Function — Lets you use objects to create links between CCS IDE and MATLAB. From the command window, you can run applications in CCS IDE, send to and receive data from target memory, and check the processor status, as well as other functions such as starting and stopping applications running on your digital signal processors.
- Data Manipulation Function — Provides object methods and properties that let you access and manipulate information stored in memory and registers on digital signal processors, or in your Code Composer Studio project. From MATLAB you gather information from you project, work with the information in MATLAB, doing things like converting data types, creating function declarations, or changing values, and return the information to your project — all from the MATLAB command line.
- Function Call function — Enables you to write scripts in MATLAB that exercise functions from your project on your target processor. From MATLAB, you can generate data, send the data to your target and use a C function in your program to manipulate the data on your hardware or simulator. Afterwards, you return the output to MATLAB so you can analyze the results.
- Real-Time Data Exchange (RTDX) Component — Provides a communications pathway between MATLAB and digital signal processors installed on your PC. Using objects in Link for Code Composer Studio, you open channels to processors on boards in your computer and send and retrieve data about the processors and executing applications, as well as send data to the processes for use and get data from the applications.
- Processor-in-the-Loop (PIL) — Provides the ability to evaluate how a candidate algorithm runs on your hardware and compare the performance to a simulation.
- Real-Time Execution Profiling — Reports how your process runs in real-time on your target hardware at the task level.
С твоим С5402, ты можешь делать все кроме PIL... Я бы копал именно под это.
In Mozilla, you keep tabs on your browser. In the USSR, your browser keeps tabs on you.