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: Debug mode Issue

Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi, 

I am working with a piece of code running a motor on F28379D launchpad.  I have changed the value of speed of motor variable from 1500 to 1800 units on core2. 

However, When I run it in debug FLASH mode, the motor seems to run at the 1800 speed but when I check the Speed value on EXPRESSIONS window it displays 1500. Also this issue does not exist when the launchpad is run in STANDALONE MODE. Kindly help me understand why this is occurring. 

Thanks,

  • Hi,

    We need some more details about your project.

    Are you working with your own solution or TI tools such as ControlSuite, InstaSpin, and MotorControl SDK? 

    Please specify the tool that you are working on and it will help to find the right expert.

    Best 

    John

  • Hi John,

    I am using my own solution. 

  • Hi Ashrith,

    Can you check the properties of your project's build configurations? Maybe there's a setting for the debug FLASH mode that is causing this issue

    Is there a TI example project you built yours off of?

    Best,

    Kevin

  • Hi Kevin,

    I have checked the debug configurations. This issue does not apply to any other parameter during runtime but only one ie. HIGH_SPEED move . 

    I request you to be more specific about the setting i could check in the build configurations. 

    Thank you

    ASHRITH

  • Ashrith,

    If it's working as you'd expect when in the STANDALONE build configuration, but not when in the debug FLASH build configuration, then you should compare the build configuration properties of the two to see what's different.

    It's difficult to point to one specific configuration that could be different between the two. Maybe the HIGH_SPEED move parameter is stored in a different location in memory when in the debug FLASH build that the expressions window cannot always access.

    If you can provide the specific C2000 example project you worked off of we will be able to provide better answers. Right now I don't know how you configured your project / build configs.

    Best,

    Kevin