Embedded IDE CCS
CCS (Code Composer Studio) Tools from Texas Instruments, This will support many TI MCU’s, Like MSP430, TMS570LC4357 and etc. Download the tools from here: . You can run Without hardware in CC tools check here.
Shortcuts
- Go Back: ALT + Right Arrow
- Go Forward: ALT + Left Arrow
- Function or varibale declaration – CNTL + Click the function name or Variable Name.
How generate .bin and .hex files?
- GOTO Properties →Build →Steps → then add the following
- For Bin File “${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat” “${BuildArtifactFileName}” “${BuildArtifactFileBaseName}.bin” “${CG_TOOL_ROOT}/bin/armofd.exe” “${CG_TOOL_ROOT}/bin/armhex.exe” “${CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe”
- For Hex file “${CG_TOOL_HEX}” -order MS –memwidth=8 –romwidth=8 –intel -o “${ProjName}.hex” “${ProjName}.out”
- Reference:
- http://e2e.ti.com/support/tools/ccs/f/81/p/65174/826785#826785
- https://unboxnbeyond.files.wordpress.com/2015/02/build-steps.jpg
- http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_project-management.html#pre-and-post-build-steps
Custom clean method
- https://e2e.ti.com/support/tools/ccs/f/81/t/477710?Additional-Clean-Command
- http://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_project-management.html
What is _c_int00 file?
- _c_int00 is the name of the symbol of the C environment entry point .
- Sometimes it is necessary to obtain this address (e.g., to reset the software) or even to set c_int00 address to a fixed location (so that the host that is booting the processor can make it jump to that location).
- Reference : http://processors.wiki.ti.com/index.php/Accessing_c_int00
sys_link.cmd
- http://software-dl.ti.com/ccs/esd/documents/sdto_cgt_Linker-Command-File-Primer.html
- http://processors.wiki.ti.com/index.php/Linker_CMD_Files_for_CCS
Memory
- The tool will allocate flash space based on the address defined in cmd file, and load the code to that address
Trouble shoots
Issue-1 : CCS/LAUNCHXL-CC2640R2: Project already exists in the workspace
- This means Rename the already exists project and try again
Issue-2 : Target must be connected before loading program.
- I was used the this tool and Version:8.2.0.00007 with XDS100v2 USB Debug Proble. I got this error “Texas Instruments XDS100v2 USB Debug Probe_0/CortexR5 : Target must be connect before loading program”.
- It was solved throw set one parameter in debug configuration. “In the CCS Debug perspective: “Tools -> Debugger Options -> Generic Debugger” and slect “Connect to Target on Debugger Setup”.”
- Refer : Target must be connected before loading with TM4C123GH6PM