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.

Compiler/LAUNCHXL-CC1352R1: 1350 project updated 1352, Problem possibly with XDC

Other Parts Discussed in Thread: SYSBIOS, CC1310
I have a CCS project that works well and runs on a 1350 chip. We want to upgrade 1352. The way I went about it was to go to the general tab and update variant to "SimpleLink Wireless MCU" so as to get access to the correct board type CC1352R1F3. It is worth mentioning that the variant does not really stick; if I close and open the window again it says <select or type filter text> but CC1352R1F3 is still there. The resulting build is seen in the log below.
It is worth noting that I've tried from a working, tested TI example to which I added our sw on top and the problems started with ti.mw.Config. Not exactly the same but close enough to mention.  
Let me know if you need rfExamplesIdleLog.cfg. 
Best Regards
Mikael
.
.
Building file: "../rfExamplesIdleLog.cfg"
Invoking: XDCtools
"/home/mikael/ti/xdctools_3_32_02_25_core/xs" --xdcpath="/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;/home/mikael/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC1310F128 -r release -c "/home/mikael/ti/ccsv7/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=vfplib -me -O3 --opt_for_speed=4 --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/SGR\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/IPC_TL\" --include_path=\"/home/mikael/repo/A/Wittra_libraries/IPC_AL\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/NVStorage\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/smartrf_settings\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/UART_Console\" --include_path=\"/home/mikael/repo/A/dev_LCxTDoA_slave/Utils\" --include_path=\"/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272\" --include_path=\"/home/mikael/ti/ccsv7/tools/compiler/ti-cgt-arm_18.12.1.LTS/include\" --define=ccs --define=BATTERY_CAPACITY=450 --define=LAUNCHXL --define=xDK7XD --define=TESTMODE_IS_SUPPORTED --define=SIGNAL_PING_SYNC --define=TI_ORG_SPI_DRV --define=XDC_TIMESTAMP_SUPPORT --define=TETHERING_BITRATE_KBPS_20 --define=TDOA_DEFAULT_PROFILE_P1 --define=TDOA_P2P3_CRC8 --define=xTDOA_P2P3_CRC16 --define=TDOA_PACKET_FIXLEN -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../rfExamplesIdleLog.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring rfExamplesIdleLog.xem4 from package/cfg/rfExamplesIdleLog_pem4.cfg ...
generating custom ROM library makefile ... 
subdir_rules.mk:45: recipe for target 'build-132717169-inproc' failed
warning: ti.sysbios.rom.cortexm.cc13xx.CC13xx: "/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/rom/cortexm/cc13xx/CC13xx.cfg.xs", line 46: ti.sysbios.BIOS logsEnabled: BIOS.logsEnabled must be set to false for ROM applications.
js: "/home/mikael/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find the library '/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages/ti/mw/display/lib/display.aem4' specified by package ti.mw.display.
gmake: *** [package/cfg/rfExamplesIdleLog_pem4.xdl] Error 1
gmake: *** Deleting file `package/cfg/rfExamplesIdleLog_pem4.xdl'
gmake: *** [package/cfg/rfExamplesIdleLog_pem4.xdl] Deleting file `package/cfg/rfExamplesIdleLog_pem4.h'
gmake: *** [package/cfg/rfExamplesIdleLog_pem4.xdl] Deleting file `package/cfg/rfExamplesIdleLog_pem4.c'
js: "/home/mikael/ti/xdctools_3_32_02_25_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-132717169-inproc] Error 1
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-132717169', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.
ReplyForward
  • Hi,

    Are you only changing the device type in a project built for CC1310 and programming CC1352 device?
    These devices have different ARM processors. The recommended process is to use one of the SDK examples for CC1352 device as base and port the application code to the example.

    Regards,
  • Hello,

    As mentioned in the original post that was tested but not thoroughly described. Here is a better description of the whole flow. Pls note the comment in the end.

    in CCS7:
    * pull in example uartecho, build with minor change, execute on eval board.
    * #if 0 code in main_tirtos.c and uartecho.c, but keeping all others since they look board related.
    * copy files and dirs in minus what looks like board oriented
    * get result :

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    _LaunchXL_Debug/configPkg/package/subdir_rules.mk:10: recipe for target 'build-75880337-inproc' failed
    gmake: *** No rule to make target 'package/cfg/rfExamplesIdleLog_pem3_pem4.cfg', needed by 'package/cfg/rfExamplesIdleLog_pem3_pem4.xdl'. Stop.
    js: "/home/mikael/ti/xdctools_3_51_02_21_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-75880337-inproc] Error 1
    gmake: *** [build-75880337] Error 2
    _LaunchXL_Debug/configPkg/package/subdir_rules.mk:7: recipe for target 'build-75880337' failed
    _LaunchXL_Debug/configPkg/package/cfg/subdir_rules.mk:17: recipe for target 'build-115526239-inproc' failed
    gmake: *** No rule to make target 'package/cfg/rfExamplesIdleLog_pem3_pem4.cfg', needed by 'package/cfg/rfExamplesIdleLog_pem3_pem4.xdl'. Stop.
    js: "/home/mikael/ti/xdctools_3_51_02_21_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-115526239-inproc] Error 1
    gmake: *** [build-115526239] Error 2
    _LaunchXL_Debug/configPkg/package/cfg/subdir_rules.mk:14: recipe for target 'build-115526239' failed
    subdir_rules.mk:66: recipe for target 'build-1587337983-inproc' failed
    gmake: *** No rule to make target 'package/cfg/rfExamplesIdleLog_pem3_pem4.cfg', needed by 'package/cfg/rfExamplesIdleLog_pem3_pem4.xdl'. Stop.
    js: "/home/mikael/ti/xdctools_3_51_02_21_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1587337983-inproc] Error 1
    gmake: *** [build-1587337983] Error 2
    subdir_rules.mk:63: recipe for target 'build-1587337983' failed
    gmake: Target 'all' not remade because of errors.

    Since this looks too off to be handled outside of TI I hoped for better luck with CCS9.

    * start CCS9
    * pull in example uartecho, build with minor change, execute on eval board.
    * #if 0 code in main_tirtos.c and uartecho.c, but keeping all others since they look board related.
    * copy files and dirs in minus what looks like board oriented
    * rm _LaunchXL_Debug dir
    * update path in xdctools as:
    --xdcpath="/home/mikael/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/source;/home/mikael/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages;/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC1352R1F3 -r debug -c "/home/mikael/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS"
    * get result:




    **** Build of configuration Debug for project tof_tag_II ****

    /home/mikael/ti/ccs901/ccs/utils/bin/gmake -k -j 12 all -O

    Building file: "../rfExamplesIdleLog.cfg"
    Invoking: XDCtools
    "/home/mikael/ti/ccs901/xdctools_3_55_00_11_core/xs" --xdcpath="/home/mikael/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/source;/home/mikael/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages;/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC1352R1F3 -r debug -c "/home/mikael/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" "../rfExamplesIdleLog.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring rfExamplesIdleLog.xem4 from package/cfg/rfExamplesIdleLog_pem4.cfg ...
    subdir_rules.mk:17: recipe for target 'build-1063771407-inproc' failed
    warning: ti.sysbios.rom.cortexm.cc13xx.CC13xx: "/home/mikael/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages/ti/sysbios/rom/cortexm/cc13xx/CC13xx.cfg.xs", line 47: ti.sysbios.BIOS logsEnabled:
    Logs are disabled in all ROM APIs.
    Only APIs not in the ROM will have their Logs enabled.
    js: "/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages/ti/mw/Config.xs", line 45: xdc.services.global.XDCException: xdc.MODULE_NOT_FOUND: xdc.module: no module named 'Config' in the package ti.drivers
    "/home/mikael/workspace_v9/tof_tag_II/rfExamplesIdleLog.cfg", line 600
    "./package/cfg/rfExamplesIdleLog_pem4.cfg", line 181
    gmake: *** [package.mak:201: package/cfg/rfExamplesIdleLog_pem4.xdl] Error 1
    js: "/home/mikael/ti/ccs901/xdctools_3_55_00_11_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1063771407-inproc] Error 1
    gmake: *** [build-1063771407] Error 2
    subdir_rules.mk:14: recipe for target 'build-1063771407' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


    Comment: The xdc path update is needed to find ti.mw.Config. This file uses ti.drivers.Config. The path added above is "/home/mikael/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages" thus it should find driver.Config if this path is used. If this path is not used
  • If this path is not used where should I update to find ti.drivers.Config?
  • Hi,

    After upgrading to CCS9 there might be some related updates that will need to be installed and XDS drivers is part of this.

    Can you please check if the updates are installed and if you have the correct version of XDS in the project settings.

    Regards,

  • Ok, how do I find out what the needed versions are and how do I get hold of them?

    Regards

    MIkael

  • It would be best if you uninstall CCS and install the latest version of CCS. The software automatically prompts for updates and additional drivers that can be installed and you can select all the relevant software at this stage. If it is not possible to do a clean install, you may have to manually check for available updates after installing the latest version of SDK and install all the software needed for CC135x family of devices. Hope this helps.

    Regards,