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.

CCSv4 can't run program

Hi everyone!

I've just installed CCSv4 and I got a problem with debuging.

I've programmed led toggling program. It works only when I turn off and on MCU. When I click Target -> Debug active project it's programming, but I can't click run, halt etc.

Can you help me with that?

I'm using MSP_FET430UIF, CCSv4, MSP430 Experimenter's board. My OS is windows 7.

  • Hi Radek,

    what do you mean by "it only works when I turn off and on MCU"?

    What version of CCS4 do you have?  The MCU code limited version?

    What exactly are you experiencing?  Do you get any error logs or dump files generated?

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS

    Have you tried a fresh workspace/project?   Are you sure you are in the debug perspective?  At the top right corner of CCS normally you should see with CCS Edit or CCS Debug.  You will not have the run, halt, step over, etc unless you switch to the CCS Debug perspective.

    Please keep us informed.

    Best REgards,

    LIsa

  • Hi Lisa,

    thanks for interest. I'll try to describe my problem, but my english is not really good. 

    I've bought MSP-FET430UIF. On included CD there was CCS Version: 4.0.2.01003. I've created new project and prepared example code:

    #include "msp430x41x.h"

    int main(void)
    {
    WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
    P5DIR |= 0x02; // Set P5.1 to output direction

    for (;;)
    {
    volatile unsigned int i; // volatile to prevent optimization

    P5OUT ^= 0x02; // Toggle P5.1 using exclusive-OR

    i = 10000; // SW Delay
    do i--;
    while (i != 0);
    }
    }
    
    
    Then i click Project -> Rebuild All
    Target -> Debug active project
    
    
    Program switch me to Debug view. Than I'd like to click Target -> Run but the icon is "gray". There is no errors. In console is writen:
    MSP430: Program loaded. Code Size - Text: 78 bytes  Data: 2 bytes
    and there is flashing red led on FET (MODE)
    
    
    When turn off and on power supply program starts working (led is blinking)
    So I know that debugger is progamming but no debugging. I suppose I have to extra configure debugger, am I right?
  • Hi Radek,

    could you send a screen shot?  What if you try upgrading to the latest production release?  (4.2.5)   Are you using the code size limited version?

    Do you have the JTAG plugged in to the experimenter board in the correct JTAG slot?  The old experimenter board you have has two, one for the FG4x device and one for the F2x device on board.

    Best Regards,
    Lisa

  • Hi Radek,

    just wanted to check whether there is any update here.  Were the tips helpful?

    Best Regards,

    Lisa