Other Parts Discussed in Thread: SYSCONFIG, , SYSBIOS
Tool/software: Code Composer Studio
Hi there,
trying to use the long expected SysConfig tool caused some time intense trial as I could not manage to find a clean and compete documentation how to install and use it. In the related thread in this forum is also information missing for somebody not having worked with this tool before.
I am designing the firmware for a custom board based on the CC1310F32 and as in the Academy suggested using the empty project to start with.
I could not manage to find the SysConfig file nor tool or how to install it in CCS10
So what I did was that I used the stand alone SysConfig tool to generate my configuration and saved it to the project path.
Suddenly when I opened it, CCS10 messaged that the SysConfig tool is missing and installed it automatically,
However, when I opened the sysconfig file my previous in the standalone version done setup was gone.
While configuring again, conflict messages came up and I used the smart option to ignore them to generate the files.
However, I could not see the files in the project as I did not see any comment in the documentation that these files are generated in the output configuration directory (Debug or Release)
I closed and opened changed configuration but I could not get rid of these conflict messages.
However right after closing and opening the internal SysConfig the RTC configuration option disappeared in SysConfih.
I then opened the ssconfig file in an external editor and deleted the sections I thought causing the conflict.
As result I can confirm that CCS19 sysconfig and stand alone version 1.5.0+1397 are not really compatible but I manged so far.
However, how do I get the RTC setup back ?
here are the file showing the conflicts
/** * These arguments were used when this file was generated. They will be automatically applied on subsequent loads * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. * @cliArgs --device "CC1310RSM" --package "RSM" --part "Default" --product "simplelink_cc13x0_sdk@4.10.01.01" * @versions {"data":"2020052512","timestamp":"2020052512","tool":"1.5.0+1397","templates":"2020052512"} */ /** * Import the modules used in this configuration. */ const GPIO = scripting.addModule("/ti/drivers/GPIO", {}, false); const GPIO1 = GPIO.addInstance(); const GPIO2 = GPIO.addInstance(); const GPIO3 = GPIO.addInstance(); const GPIO4 = GPIO.addInstance(); const GPIO5 = GPIO.addInstance(); const GPIO6 = GPIO.addInstance(); const Power = scripting.addModule("/ti/drivers/Power"); const RTOS = scripting.addModule("/ti/drivers/RTOS"); /** * Write custom configuration values to the imported modules. */ GPIO1.mode = "Output"; GPIO1.initialOutputState = "High"; GPIO1.$name = "Board_LED"; GPIO1.gpioPin.$assignAllowConflicts = "DIO_0"; GPIO1.pinInstance.$name = "Board_PIN0"; GPIO2.$name = "ScrewSense"; GPIO2.interruptTrigger = "Rising Edge"; GPIO2.callbackFunction = "SenseScrewISR"; GPIO2.gpioPin.$assignAllowConflicts = "DIO_1"; GPIO2.pinInstance.$name = "Board_PIN1"; GPIO3.interruptTrigger = "Low"; GPIO3.callbackFunction = "HallTriggerISR"; GPIO3.$name = "Trigger"; GPIO3.gpioPin.$assignAllowConflicts = "DIO_6"; GPIO3.pinInstance.$name = "Board_PIN2"; GPIO4.$name = "Hall1"; GPIO4.pinInstance.$name = "Board_PIN3"; GPIO5.$name = "Hall2"; GPIO5.gpioPin.$assignAllowConflicts = "DIO_8"; GPIO5.pinInstance.$name = "Board_PIN4"; GPIO6.$name = "Hall3"; GPIO6.pinInstance.$name = "Board_PIN5"; Power.policyFunction = "PowerCC26XX_doWFI"; /** * These are the reserved peripherals and settings in this configuration */ const iGPIO1 = scripting.addPeripheral("GPIO"); iGPIO1.$numPins = 6; iGPIO1["0"].$assignAllowConflicts = "DIO_0"; iGPIO1["1"].$assignAllowConflicts = "DIO_1"; iGPIO1["2"].$assignAllowConflicts = "DIO_6"; iGPIO1["3"].$assign = "DIO_7"; iGPIO1["4"].$assignAllowConflicts = "DIO_8"; iGPIO1["5"].$assign = "DIO_9"; iGPIO1.$name = "MyGPIO1"; const iJTAG1 = scripting.addPeripheral("JTAG"); iJTAG1.$name = "MyJTAG1"; iJTAG1.$assign = "JTAG"; iJTAG1.TDI.$assign = "DIO_4"; iJTAG1.TDO.$assign = "DIO_3"; iJTAG1.TMSC.$assign = "JTAG_TMSC"; iJTAG1.TCKC.$assign = "JTAG_TCKC"; const iRTC1 = scripting.addPeripheral("RTC"); iRTC1.$name = "MyRTC1"; iRTC1.$assign = "RTC0"; iRTC1.DMA_RTC.$used = false; const iWDT1 = scripting.addPeripheral("WDT"); iWDT1.$name = "MyWDT1"; /** * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future * version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to * re-solve from scratch. */ GPIO4.gpioPin.$suggestSolution = "DIO_2"; GPIO6.gpioPin.$suggestSolution = "DIO_5"; iWDT1.$suggestSolution = "WDT0";
and here the cleaned one
/** * These arguments were used when this file was generated. They will be automatically applied on subsequent loads * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. * @cliArgs --device "CC1310RSM" --package "RSM" --part "Default" --product "simplelink_cc13x0_sdk@4.10.01.01" * @versions {"data":"2020052512","timestamp":"2020052512","tool":"1.5.0+1397","templates":"2020052512"} */ /** * Import the modules used in this configuration. */ const GPIO = scripting.addModule("/ti/drivers/GPIO", {}, false); const GPIO1 = GPIO.addInstance(); const GPIO2 = GPIO.addInstance(); const GPIO3 = GPIO.addInstance(); const GPIO4 = GPIO.addInstance(); const GPIO5 = GPIO.addInstance(); const GPIO6 = GPIO.addInstance(); const Power = scripting.addModule("/ti/drivers/Power"); const RTOS = scripting.addModule("/ti/drivers/RTOS"); /** * Write custom configuration values to the imported modules. */ GPIO1.mode = "Output"; GPIO1.initialOutputState = "High"; GPIO1.$name = "Board_LED"; GPIO1.gpioPin.$assignAllowConflicts = "DIO_0"; GPIO1.pinInstance.$name = "Board_PIN0"; GPIO2.$name = "ScrewSense"; GPIO2.interruptTrigger = "Rising Edge"; GPIO2.callbackFunction = "SenseScrewISR"; GPIO2.gpioPin.$assignAllowConflicts = "DIO_1"; GPIO2.pinInstance.$name = "Board_PIN1"; GPIO3.interruptTrigger = "Low"; GPIO3.callbackFunction = "HallTriggerISR"; GPIO3.$name = "Trigger"; GPIO3.gpioPin.$assignAllowConflicts = "DIO_6"; GPIO3.pinInstance.$name = "Board_PIN2"; GPIO4.$name = "Hall1"; GPIO4.pinInstance.$name = "Board_PIN3"; GPIO5.$name = "Hall2"; GPIO5.gpioPin.$assignAllowConflicts = "DIO_8"; GPIO5.pinInstance.$name = "Board_PIN4"; GPIO6.$name = "Hall3"; GPIO6.pinInstance.$name = "Board_PIN5"; Power.policyFunction = "PowerCC26XX_doWFI";