Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

TMDSCNCD280049C:How to load firmware in CCS

Part Number: TMDSCNCD280049C
Other Parts Discussed in Thread: TMDSHSECDOCK, C2000WARE

Tool/software:

I want to run a simple sample code using TMDSCNCD280049C and TMDSHSECDOCK.

In CCS, I was able to use the test connection in the ccml file to ensure that CCS and the board are connected properly, but I can't select the load program so I can't proceed.

How can I solve the above problem?

  • Hi Kotaro,

    The steps are

    1. open View -> Target Configurations
    2. right click on your target configuration file and select launch configuration
    3. in the debug window, right click on CPU1 and click connect to target
    4. click Run -> Load Program
    5. Select your .out file

    Let me know if these steps work for you.

    Thank you,

    Luke

  • Thanks to your advice, it looks like I was able to load the out file.

    However, a new problem appeared immediately.

    As a simple sample code, I imported "led_ex1_blinky" from C2000Ware and implemented it, but I am having trouble confirming the LED blinking operation on the board.

    When I loaded "led_ex1_blinky", it stopped just after the following line. (Is this the break point?)

     void main(void)

    After that, I pressed the "Step over" button several times to proceed to the following line, but I cannot confirm the LED lighting.

     GPIO_writePin(myboardLED0_gpio, 1);

    Please point out the possible problem points.

    (Looking at the circuit diagram, I don't think the configuration switch on the control card is related.)

    This may not be directly related to the above problem, but when I connect the control card to the PC, the LEDs (D3:A and D4:A) turn on for a moment and then turn off. Is this normal?

    I would appreciate your continued support.

  • Hi Kotaro,

    Can you look at the register window for the GPIO of the LED that is toggling? Does the state of the GPIO change?

    Thank you,

    Luke

  • Thank you for your quick reply.

    I checked the GpioDataRegs window and found that the GPIO state of the toggling LED does not change from 0x1.

    When I read the CCS manual, it said that "Step Over" does not execute the function, so does that mean that the GPIO will not be toggled even if I repeat "Step Over"?

    When I start debugging, it breaks immediately after the main(void) function, so I tried pressing the Continue button after that, but the GPIO state still does not change.

    By the way, is the following problem related?

    >> This may not be directly related to the above problem, but when I connect the control card to the PC, the LEDs (D3:A and D4:A) turn on for a moment and then turn off. Is this normal?

    Thank you in advance.

  • Hi Kotaro,

    I have another test you can try.

    Can you let your program run for a bit, set a breakpoint, and then manually change the state of the GPIO in the register window? Does the LED turn on or off when you do this? If not then the example probably uses the wrong GPIO for the F28004x launchpad.

    Thank you,

    Luke

  • Hi Luke, thanks for your quick response.
    As you pointed out, it turns out that the GPIO specified in the generated file was not suitable for the control card.

    So I checked the settings in the syscfg file and found that the target was set to Launchpad. I changed it to the control card and was able to light up the LED!


    I hope you can help me again if I have any problems.