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/CC1310: Failed to link empty project with no RTOS.

Part Number: CC1310
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

I created empty project with main() for CC13x0f128 but I got unresolved symbol ResetISR from cc130x0128.cmd file ?


Project failed to link. I have CCv7 .

I removed --entry_ponit ResetISR line from linker file but after successful link and download CC1310 got locked so I cannot load code any more. 

First time I load project loads and runs immediately with no jump to main and no run button .

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.

Cortex_M3_0: GEL Output: Board Reset Complete.

Second time I try load I get this error.

Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target to halt

Cortex_M3_0: GEL: File: C:\Users\arudel\workspace_v7\Boot\Debug\Boot.out: Load failed.

  • Andrzej Rudel said:
    I created empty project with main() for CC13x0f128 but I got unresolved symbol ResetISR from cc130x0128.cmd file ?

    The reason for this is that the CCS new project wizard for CC13xx does not add the required startup file and driverlib required for a successful build.

    The preferred and recommended method of starting development with CC13xx devices is to start with the examples in the Simplelink CC13x0 SDK rather than creating a new project in CCS.

    You can follow the steps below to fix the "unresolved symbol" error and get a successful build of a new project created in CCS. However please note that this is not a tested/validated configuration and the recommendation is to start with one of the TI-RTOS examples, whenever possible.

    To fix the unresolved symbol ResetISR error:

    copy the file startup_ccs.c from C:\ti\simplelink_cc13x0_sdk_1_30_00_06\source\ti\devices\cc13x0\startup_files to your CCS project
    - Under Project Properties->Build->Compiler->Include Options, add the path to the startup_files folder to --include_path (eg: "C:\ti\simplelink_cc13x0_sdk_1_30_00_06\source\ti\devices\cc13x0\startup_files")
    - Under Project Properties->Build->Linker->File Search Path, add driverlib.lib to --library option, and add the path to driverlib.lib to --search_path option (eg: "C:\ti\simplelink_cc13x0_sdk_1_30_00_06\source\ti\devices\cc13x0\driverlib\bin\ccs")

  • Thank you. I was able to link but project does not start from main it runs right after it loads to flash.
    I could not get it to reach any breakpoints.
    I cannot load it second time without full erase from UniFlash tool.


    I have tried to make project with no RTOS in attempt to make small flash footprint boot loader that takes care of flash copy from one area to another.

    Andrew