This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

On -chip Flash Programmer Automation

as part of automation of a process I am trying to load the COFF file through the On-Chip Flash Programmer automatically. I am not able to find the executable for that. Need help in programming a batch script that will open CCS, then open the flash programmer, load the COFF file and program it on the target, then run the build.

  • If you are using CCSv3.3 then you cannot automate this.  If you are using CCSv4 then it is possible.  The Debug Server Scripting (DSS) package that is included in CCSv4 allows you to automate essentially everything the debugger can do.  In v4 when you load a program onto a device that has onchip flash (like 28x, MSP430, Stellaris) it automatically programs the flash, similarly when you call the API to load a program from DSS it will automatically program the flash.

    Regards,

    John

     

  • Thanks John.

    My peer suggested that I can initially load my project manually in flash memory and then use "sload Filename"  specifying the .out file of my project in the place of filename. Could you give me some knowledge of what this does and where sload loads the file? I'm using CCSv3.3.

     

    Regards,

    SKV