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/LAUNCHXL2-570LC43: hercules safety

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN,

Tool/software: Code Composer Studio

I am new to LAUNCHXL2-570LC43 and I am trying to evaluate it. I have installed CCS V7, HALCOGEN, MINGW. How to develop application code for the Launchpad?? kindly Help..Thank you

  • Hello Deepak,

    The Help Topic in HALCoGen provides a list of examples.

    To create a CCS project:

    1. Select File → New → CCS Project, from the Code Composer Studio menu bar, after starting the Code Composer Studio IDE. A window will open asking you where to create the Code Composer Studio project. You can create the project in the existing workspace, and name the project.

    2. Create the project using the template of TMS570LC43x device

    (a) Select the Target: TMS570LC43xx

    (b) Select the Emulator (XDS110 USB Emulator)

    (c) Create the project in the existing workspace, and name the project

    (d) Select the Compiler version

    (e) Leave Advanced settings to default. ( Output type - Executable, Output format - eabi)

    (f) Under Project Templates select "Empty Project"

    3. Select Finish and a Code Composer Studio project will be created in the workspace folder

    4. Then use HALCoGen to generate source files directly into this folder

    To create a HALCoGen project:

    1. Start the HALCoGen program, which will bring up a startup screen

    2. Select File → New → Project from the HALCoGen startup screen. A window appears asking you to select a device type, a working folder, and to select a name for the project. Please use the same workspace folder for the project

    3. With the same device (TMS570LC43x) as was selected when creating the Code Composer Studio Project

    4. With the same project name and location used when creating project in CCS

    So you get a project in CCS with the source code and header files. 

  • Thank you QJ Wang,..with your suggested steps I created project in workspace. Now I want to develop code in C LANGUAGE whether I need a separate c compiler or some C compiler is integrated in CCS v7?? how can I generate c code for my configuration in halogen and how I can import halogen generated C code to CCS v7?? ..please guide..
  • Hello Deepak,

    The HALCoGen will generate source files (C, and asm) and header files. Those files are imported into CCS project (followed the steps I listed above).

    You need to write your own code into sys_main.c, or you copy the example code into sys_main.c. The example code is under example folder of HALCoGen.

    CCS7 has compiler for ARM devices, you don't need to install compiler separately.
  • Thank you QJ Wang.... with your suggested steps now i am able to build the project but unable to load it into the launchpad(TMS70LC4357 LAUNCHPAD). During debug process i am able to erase the flash but unable to load the code.
    message "CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset" is showing. How to solve??