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.

CC2340R5: Getting error while updating simplelink lowpower f3 sdk from 8.40 to 9.10 in CCS theia

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software:

Hi, 

I am currently attempting to update the SimpleLink Low Power F3 SDK within CCS Theia from version 8.40 to the latest version 9.10. However, during this process, I encountered the following error:

"Exception occurred calling scripting.addModule(): No such resource: /ti/ble5stack/ble.syscfg.js".

Although I came across a similar thread on the E2E forum discussing this issue the link is below:

e2e.ti.com/.../mspm0l1306-error-exception-occurred-calling-scripting-addmodule-no-such-resource-ti-driverlib-board-syscfg-js

, the solutions provided there have not resolved my query.

Could you please suggest a solution or workaround for this issue?

Regards,

Shivam

  • Hi Shivam,

    One approach would be to recreate the project using the 9.10 SDK, then move your application files over. Sometimes there are issues with the .syscfg files being incompatible between different versions of the SDK, as these change the most between SDK versions.

    Could you please highlight the steps you have taken so far in updating your SimpleLink F3 SDK within CCS Theia?

    Regards,
    Nico G

  • Hi,

    This is the first time I am facing this kind of issue. In all previous SDK versions, I was able to update them without any issues or changes required in any files. The only difference this time is till now i was using CCS Eclipse(version 12.8.1) but due to 9.10 SDK requirement i switched from Eclipse to Theia(version 1.5.1.3).
    Below are the steps I followed to update the SDK version:

    • Downloaded and installed the new SDK from View -> Resource Explorer -> Wireless Connectivity -> Embedded Software -> SimpleLink Low Power F3 SDK-9.10.00.83.

    • Restarted CCS Theia.

    • Went to Properties -> General -> Dependencies -> Product Dependencies and changed SimpleLink Low Power F3 SDK from 8.40 to 9.10.

    • Updated SysConfig from 1.22.0 to 1.23.1.

    • Saved and closed the Properties.

    • Cleaned the project.

    • Rebuilt the project.

    Regards, 

    Shivam

  • Hi Shivam,

    Thanks for adding the steps you took so far.

    I attached images of the file structure within <sdk_version_folder>/source/ti for both versions (8.40 and 9.10)

    Note the name changes that were implemented in the file structure between 8.40 and 9.10. 

    Because of these name/file structure changes, you will likely have to update the file path of your project/project components to match the structure in the new SDK. 

    Specifically, the error "No such resource: /ti/ble5stack/ble.syscfg.js" directly results from the lack of a ble5stack folder in the new SDK.

    I hope this helps.

    Regards,
    Nico G

  • Hi, 

    I've changed everything as per the guide provided and able to resolve previous errors that i was facing, but I'm facing the following errors now and can't trace the root cause. For example, I am not able to find the symbol bleStackConfig anywhere in the project.

    [6] undefined                                             first referenced
    [7] symbol                                                  in file
    [8] ---------                                                   ----------------
    [9] appAssertCback                                   ./SRC/CC2340R5_COMMON_LIBS/iCall/icall_user_config.o
    [10] bleStackConfig                                   ./SRC/PROJECT_ASSOCIATED_LIBS/PROJECT_TOP_LEVEL/main/main_freertos.o
    [11] setBleUserConfig                               ./SRC/CC2340R5_COMMON_LIBS/Startup/osal_icall_ble.o

    [12]error #10234-D: unresolved symbols remain
    [13]error #10010: errors encountered during linking; "cc2340r5_telit_fw.out" not built
    [14]tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
    [15]gmake[1]: *** [makefile:222: cc2340r5_telit_fw.out] Error 1
    [16]gmake[1]: Target 'secondary-outputs' not remade because of errors.
    [17]gmake: *** [makefile:216: all] Error 2

    Could you help me with these errors?

    Regards,

    Shivam

  • Hi Shivam,

    The error you see is generated by the linker when it is unable to find the definition for the symbol. This happens if an object file or library containing the definition for the symbol was not provided to the linker. Thus, the .out file cannot be built. To resolve the error, locate the source file(s) or library containing the definition for the symbol and make sure that it is part of the project. More information on this here: Project Import and Build errors in CCS

    I would start by checking iicall_user_config.c and osal_icall_ble.c as these had file path related edits. Similarly, you should check that you have all the proper libraries included in your main_freertos.c. 

    I hope this helps.

    Regards,
    Nico G