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.

tms570ls1227

Other Parts Discussed in Thread: TMS570LS1227, HALCOGEN

How to program in CCS Compiler with TMS570LS1227. Give example programs.

  • SARAVANAKUMAR,

    This is a very vague question.

    So here is a basic project generated using Halcogen. You will find under Halcogen->Help->Help Topics a list of examples. The one I'm using is: example_rti_Blinky.

    1256.TMS570LS1227_Blinky.zip

    What you have to do is to unzip this project. Under CCS, go to Project->Import Existing CCS Eclipse Project and locate this Blinky example.
    Next go to View-Target Configuration. This will open a new window "Target Configuration"
    In this window, under User Defined right click and create a new configuration.
    Choose a name like 1227_XDS100
    Under Connection, select Texas-Instruments XDS100v2.
    Check the device type, TMS570LS1227 and save the configuration.

    Right click on this new configuration and select Launch Selected Configuration. (Your board has to be connected to your PC using the USB cable)
    A window "Debug" should be available. Right click on CortexR4 and select Connect Target.
    Once connected, go to Run->Load->Load Program. Browse Project.
    Expand TMS570LS1227/Debug and select TMS570LS1227_Blinky.out. Than click OK.

    CCS will now erase your device and download (Program in Flash) this test program.

    Under Run menu click on Resume. The program will execute and you should see a white led on the board blinking every second.

    Please let me know if you can go through all these step.