MATLAB Link for Code Composer Studio Development Tools    
reload

Reload to the target signal processor the most recently loaded program file

Syntax

Description

s = reload(cc,timeout) resends the most recently loaded program file to the target processor. If you have not loaded a program file in the current session (so there is no previously loaded file), reload returns the null entry [] in s indicating that it could not load a file to the target. Otherwise, s contains the full pathname to the program file. After you reset your target processor or after any event produces changes in your target processor memory, use reload to restore the program file to the target for execution.

To limit the time CCS IDE spends trying to reload the program file to the target, timeout specifies how long the load process can take. If the load process exceeds the timeout limit, CCS IDE stops trying to load the program file and returns an error stating that the time period expired. Exceeding the allotted time for the reload operation usually indicates that the reload was successful but CCS IDE did not receive confirmation before the timeout period passed.

s = reload(cc) reloads the most recent program file, using the timeout value set when you created link cc, the global timeout setting.

Examples

After you create a link, use the link to reload your most recently loaded project. If you have not loaded a project in this session, reload returns an error and an empty value for s. Loading a project eliminates the error.

See Also

cd, load, open


  regwrite remove