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.

LP-MSPM0G3507: MSPM0G3507

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG, MSPM0G3507

Tool/software:

I have installed sysconfig-1.22.0_3893 and mspm0_sdk_2_03_00_07 in the folders proposed by the tools (c:\ti\..)

When i try to load with sysconfig (Standalone) an example i get this error: "Error loading C:\ti\mspm0_sdk_2_03_00_07\examples\nortos\LP_MSPM0G3507\driverlib\sysctl_frequency_clock_counter\sysctl_frequency_clock_counter.syscfg"

When i use Keil with the same examples, the sysconfig-batch works well, i get my example-files generated and can use them.

sysctl_frequency_clock_counter is only an example - i tried this with several others.

I have tried this also on another laptop with version sysconfig-1.20 and also with uninstall and install both tools again with the same error.

Could you please give me some hint whats wrong.

Thanks in advance.

  • Hi, 

    This is my error log from my standalone syscfg to open the SDK syscfg file:

    Error loading C:\ti\mspm0_sdk_2_03_00_07\examples\nortos\LP_MSPM0G3507\driverlib\sysctl_frequency_clock_counter\sysctl_frequency_clock_counter.syscfg
    Would you like to re-try in compatibility mode?
    
    Error: Exception occurred calling scripting.addModule(): No such resource: /ti/driverlib/Board.syscfg.js
    
    Paths searched: 
    /ti/driverlib/Board.syscfg.js
    /ti/driverlib/.meta/Board.syscfg.js
    /ti/.meta/driverlib/Board.syscfg.js
    /.meta/ti/driverlib/Board.syscfg.js
    /ti/driverlib/Board.syscfg.js
    /ti/driverlib/.meta/Board.syscfg.js
    /ti/.meta/driverlib/Board.syscfg.js
    /.meta/ti/driverlib/Board.syscfg.js
        at Object.addModule (webpack://sysconfig/src/pinmux/services/scripting/scriptingGuard.ts:46:10)
        at scriptFunc (C:\ti\mspm0_sdk_2_03_00_07\examples\nortos\LP_MSPM0G3507\driverlib\sysctl_frequency_clock_counter\sysctl_frequency_clock_counter.syscfg:12:26)
        at cb (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:112:7)
        at withDeprecatedAccess (webpack://sysconfig/src/pinmux/services/deprecatedAccessGuard.ts:14:10)
        at runAsUserScript (webpack://sysconfig/src/pinmux/services/scripting/scriptingGuard.ts:61:3)
        at iteratee (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:110:5)
        at baseEach (webpack://sysconfig/node_modules/lodash/lodash.js:530:11)
        at Function.each (webpack://sysconfig/node_modules/lodash/lodash.js:9409:52)
        at iteratee (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:108:6)
        at Bt (webpack://sysconfig/node_modules/lodash/lodash.js:530:11)

    When i use Keil with the same examples, the sysconfig-batch works well, i get my example-files generated and can use them.

    CCS build-in syscfg works well from my side.

    Copy the SDK syscfg file to project folder, using CCS build-in syscfg also works well.

    No such resource: /ti/driverlib/Board.syscfg.js

    Seems standalone syscfg can not access this file.

    Need further discussion with software team~

    Regards,

    Helic

  • There are a couple of issues here.

    1) SysConfig needs to know what "product" and version the configuration uses.

    2) SysConfig needs to know where that product is.

    In CCS that information would be getting passed to SysConfig when is invoked.  I suspect the batch file that the Keil project is calling is also being passed that information.

    I would suggest running the command below (adjust the paths if needed).  That product.json tells sysconfig the SDK to use and its version.

    sysconfig_gui.bat --product C:\ti\mspm0_sdk_2_03_00_07\.metadata\product.json C:\ti\mspm0_sdk_2_03_00_07\examples\nortos\LP_MSPM0G3507\driverlib\sysctl_frequency_clock_counter\sysctl_frequency_clock_counter.syscfg

    If you then save the .syscfg file from the GUI it should write that product and version information back into the file.  From then on you could just run the GUI and browse to the .syscfg file.

    Regards,

    John