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.

CCS/TMS320F28022: Using DSS, Is there a more automated way to decide whether to program FLASH?

Part Number: TMS320F28022


Tool/software: Code Composer Studio

Win7 SP1 32bit, CCS v6.1.3, F28022

Please see related ? here https://e2e.ti.com/support/tools/ccs/f/81/t/585732?tisearch=e2e-sitesearch&keymatch=%20user:16348

I have started getting into DSS (Debug Server Scripting) and would like to know how to access the script CCS (V6) uses. (assuming CCS is using a DSS script at all.)

I really don't want to recreate the wheel, just file off a nub or two.

Here is what I want...

When I compile my prog, I'd like to first examine the flash code in my target then only erase/program those sectors that need it. Currently, CCS just blindly does it all.

Many times I will place the function(s) I am debugging in RAM so the FLASH does not need to be touched at all, yet I must wait each time I test.

I see I can do that using the DSS, but I fear I may miss something important that generations of programmers have fixed.

Rather, If I can start with whatever CCS is using and just change it a little I can reduce my DSS development time by quite a lot.

Thanks, Mark.

  • Hi Mark,

    Cool Javelin said:
    When I compile my prog, I'd like to first examine the flash code in my target then only erase/program those sectors that need it. Currently, CCS just blindly does it all.

     

    I was looking at the CCS flash options for C28x and I don't see a differential download option. I see options to specify which sectors to erase. I see options to specify the type of download operation, but a differential download option is not one of them. I may be missing something. How are you accomplishing this in CCS?

    Thanks

    ki

  • I am not "automatically" doing this (I want to do automatically.) I posed this question before, (see link in my post,) and you suggested to use DSS.

    I want to start using DSS, and am starting to get my feet wet.

    I do not know if DSS is an "all or nothing" step or if I can tweak something that already exists.

    I guess the question should have asked the following also: "Does CCS use DSS to load my program and go into the debugger, or is a third method used?"

    Hence this question, Assuming CCS uses DSS, can I start with the script CCS uses or am I creating totally from scratch?

    Even better, if CCS is using DSS, can I modify THAT script to do what I want?

    M.
  • Cool Javelin said:
    I am not "automatically" doing this (I want to do automatically.

    I was referring to your statement "Currently, CCS just blindly does it all.". From my understanding, this is not a functionality the CCS supports. Hence I was asking what you meant by this comment.

    Cool Javelin said:
    I guess the question should have asked the following also: "Does CCS use DSS to load my program and go into the debugger, or is a third method used?"

    CCS does NOT use DSS to make calls to the debugger. CCS directly interfaces with the debugger without using DSS:

    Cool Javelin said:
    Hence this question, Assuming CCS uses DSS, can I start with the script CCS uses or am I creating totally from scratch?

    Even better, if CCS is using DSS, can I modify THAT script to do what I want?

    Hence there is no internal DSS script used by CCS to start with.

    Thanks

    ki

  • OK, Ki, thanks.