Getting Started with LAUNCHXL2-TMS67012
- Janardan

- Jul 11, 2025
- 2 min read
Let's setup the environment to start configuring and using TMS67012 evaluation board.
We use Code Composer studio 10.4.0, an eclipse-based IDE for development, download and install from below link. Make sure to select all the processors during installation.
Download and install HALOGEN - HAL Code Generator Tool - TMS570 (v4.07.01) from below link.
Create Project in CCS, HALOGEN and Link both
Create project in CCS
File>New>CCS Project, below window appears, select target as TMS570LS1224, give some project name, here I am giving name as "TMS570LS1224_FREE_RTOS" and click on Empty Project.

With this a project will be created in workspace as below.

The above created project doesn't have files apart from project files, we need to add source and include files, let's see how to generate code using HALOGEN and how to add it to created CCS project.
Right click on the project > properties > resources, copy the Location where project is created including project name and paste it somewhere at your convenience.

Use HALOGEN to generate code
Open HAL code generator, File > New > Project, this opens a window, select
Family: TMS570LS12x
Device: TMS570LS1224PGE_FREETOS
Name: Any name of your wish
Location: Copy paste CCS project location earlier you copied
Untick "Create directory for project"

click okay and you will see a page as below.

go to file>save project, again go to file>generate code, this will generate code. To view the generated code, go to CCS and check the project, you can see generated code added to CCS project.

So, now HALOGEN code generator and CCS project are linked, whatever code generation changes done through HALOGEN reflects in CCS project directly.
So, does building the project on CCS will be error free? Answer is no, let's see how to get it building successfully.
Build the project successfully
Go to CCS, right click on your project, go to properties, below window appears.

Go to Build>Arm Compiler>Include Options, click on "+" highlighted above, a window
pops up, there you paste below without changing anything, then press "apply and close" button.
${PROJECT_ROOT}/include
Now, build the project, it will generate executable without any errors.
So, that's all for now, let's have hands on hardware in next post.



Comments