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.

TMS320F280039C: Devices are not changed in SysConfig file (.syscfg)

Part Number: TMS320F280039C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hi, 

I have found a SysConfig error in the CCS.

I'm using the CCSv12.4 and the SysConfig v1.17.0 pulg-in to CCS.

Even if the device setting is changed in the .syscfg of the SDK example, it is not reflected.

I changed device from F280037 80PN to F280039C 100PZ.

And I compiled it.

The build log is as follows, and the settings are not reflected.

**** Build of configuration CPU1_FLASH for project gpio_ex2_toggle ****

"C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building file: "../gpio_ex2_toggle.syscfg"

Invoking: SysConfig

"C:/ti/ccs1240/ccs/utils/sysconfig_1.17.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_5_00_00_00/.metadata/sdk.json" -d "F28003x" --script "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/gpio_ex2_toggle.syscfg" -o "syscfg" --package 80PN --part F28003x_80PN --compiler ccs

Running script...

Validating...

Generating Code (gpio_ex2_toggle.syscfg)...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\board.c...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\board.h...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\board.cmd.genlibs...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\board.opt...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\pinmux.csv...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\c2000ware_libraries.cmd.genlibs...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\c2000ware_libraries.opt...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\c2000ware_libraries.c...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\c2000ware_libraries.h...

Writing C:\Users\137657\workspace_v12.4\gpio_ex2_toggle\CPU1_FLASH\syscfg\clocktree.h...

Finished building: "../gpio_ex2_toggle.syscfg"

 .... skip 

Building target: "gpio_ex2_toggle.out"

Invoking: C2000 Linker

"C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --define=DEBUG --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"gpio_ex2_toggle.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_5_00_00_00" -i"C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/syscfg" -i"C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --define=_FLASH --diag_wrap=off --display_error_number --xml_link_info="gpio_ex2_toggle_linkInfo.xml" --entry_point=code_start --rom_model -o "gpio_ex2_toggle.out" "./gpio_ex2_toggle.obj" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./device/device.obj" "./device/f28003x_codestartbranch.obj" "../28003x_generic_flash_lnk.cmd" "C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib"  -lc2000ware_libraries.cmd.genlibs -llibc.a

<Linking>

Finished building target: "gpio_ex2_toggle.out"

 

echo "========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) ============="

"========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) ============="

if 0 == 1  C:/ti/ccs1240/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "C:/ti/c2000/C2000Ware_5_00_00_00/utilities/clb_tool/clb_syscfg/" "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/syscfg" "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/syscfg/clb.dot"

if 0 == 1  mkdir "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/diagrams"

if 0 == 1  C:/ti/ccs1240/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/.meta/generate_diagrams.js" "C:/ti/c2000/C2000Ware_5_00_00_00" "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/diagrams" "C:/Users/137657/workspace_v12.4/gpio_ex2_toggle/CPU1_FLASH/syscfg"

**** Build Finished ****

And finally, if you look at the project's properties, it hasn't changed either.

I changed it by editing the properties>SysConfig>Miscellaneous option, but This needs to be improved.

Or Do I have configured it incorrectly?
  • Hi SY,

    Which version of C2000Ware did you pull the specific example from? We are aware of this migration issue that can occur when migrating device in SysConfig within a CCS example. CCS properties take priority so you will have to remove those for the project to pull properties from SysConfig. Please see the following video showing the process: 

    https://www.ti.com/video/6309991000112

    I believe in our newest versions of C2000Ware, we have decouple the properties from CCS so the projects should work correctly. Please refer to our Universal Project in our C2000Ware for this

    Regards,

    Peter

  • Hi, 

    I'm using C2000Ware v5.0.0.00.

    I thought all the settings were done with just the sysconfig settings.

    The video you linked was very helpful.

    Thank you for your support.