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/CODECOMPOSER: Unable to start the application(Click Run->Resume(F8)), since its been grayed out.

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN

Tool/software: Code Composer Studio

Hi,

Below are the details:

Code composer studio Version: 7.3.0.00019 

Target used: TMS570LC4357

Halcogen version: HALCoGen: 04.07.00 - Released 7.July.2017

Below is the snap shot showiing the resume button being grayed out.

Debug the application (Run → Debug (F11)). This starts the debugger, which gains control of the target, erases the target memory, programs the target memory with the application, and resets the target.

once the above step is completed, i cannot start the application by pressing F8 or by clicking on Run->Resume. It seems to be disabled.

Please do the needful.

Thanks,

Vivek

  • Hi Vivek,

    Based in the screenshot, it looks like the target is already running. To enable the options to halt execution, please select the node under "test1" (which is currently selected), in the Debug view.

    Thanks

    ki

  • Hi Ki,

    The screenshot that i posted is the condition after the initial debug(Click on DEBUG) of the application. Usually the CCS was waiting for the user to click on RESUME to start the application after a DEBUG. 

    In this case, The application is not running on the target but, still it shows running. When i select the node under 'test1', I can only SUSPEND or TERMINATE the application. However, if I SUSPEND the application and then try to RESUME, but to no avail the application doesn't run on target. This i ensured only by sending some characters on SCI in a while loop after the SCI initialization.

    Is there any settings that i am missing here.

    Look forward for any suggestions.

    Thanks,

    vivek

  • Vivek Naik said:
    The application is not running on the target but, still it shows running. When i select the node under 'test1', I can only SUSPEND or TERMINATE the application. However, if I SUSPEND the application and then try to RESUME, but to no avail the application doesn't run on target.

    It looks like that the target is indeed running - but that the application is not running as expected. When you launch a debug session to DEBUG a project, it will load the program and attempt to auto-run to 'main' and then halt there. If there is no 'main' in your application OR the application is unable to reach main, then the target will be left running. This is the state of the target that you see. Since you can SUSPEND the application and then try to RESUME but as you mention "the application doesn't run on the target", then this means that the target is indeed running, but the application is not running as expected. The big question is why? It does not appear to be a tools question but an issue with the application or the target configuration. Try disabling the "auto-run to main" option and reload the application. This should just load the application and set the program counter to the application entry point. From there, you can start you debug to see why your application is not running as expected.

    ki

  • Hello,
    I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).

    Thanks,
    ki