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.

LAUNCHXL-F280039C: SYSCONFIG ERROR - Cannot copy settings

Part Number: LAUNCHXL-F280039C
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Hi there,

I am facing following problem when I try to copy settings (e.g. copy one EPWM settings to another) using Sysconfig:




Text:

Oh Snap! The last change caused an exception...

Error: Forbidden modification: Deprecated configurables may only be accessed from user scripts
Hide Details...

at Object.forbiddenModification (webpack:///src/pinmux/services/utils.ts:185:8) at Object.validateDeprecatedAccess (webpack:///src/pinmux/services/deprecatedAccessGuard.ts:30:3) at a.get (webpack:///src/pinmux/services/objectManagers/member.ts:140:4) at Object.get (webpack:///src/pinmux/services/objectManagers/proxyHandlers/managedObjectProxyHandler.ts:31:21) at copyAllSettings (C:\Users\farana\Documents\Repo%20GIT\01%20veh%20electrico\dab\CORE\local_sysconfig_c2000_4_02_00_00\driverlib\.meta\epwm.js:121:50) at performCopy (C:\Users\farana\Documents\Repo%20GIT\01%20veh%20electrico\dab\CORE\local_sysconfig_c2000_4_02_00_00\driverlib\.meta\epwm.js:85:17) at Object.onComplete (C:\Users\farana\Documents\Repo%20GIT\01%20veh%20electrico\dab\CORE\local_sysconfig_c2000_4_02_00_00\driverlib\.meta\epwm.js:283:21) at action (webpack:///src/pinmux/services/objectManagers/moduleInstance.ts:552:48) at x.runOnChanged (webpack:///src/pinmux/services/objectManagers/moduleInstance.ts:919:4) at x.onExternalExecutableExit (webpack:///src/pinmux/services/objectManagers/moduleInstance.ts:552:10)

Any solution?

Thanks in advance,
BR,
Fco.

  • Hi Francisco,

    Are you copying EPWM settings from an older version of the SysConfig tool or is this error occurring when you're trying to copy across EPWMs on the current version?

    Regards,
    Peter

  • Hi Peter,
    No, im copying from the same sysconfig version. I program for example PWM1 and then try to copy for PWM2 of the same project, but get this error.

  • Hi Francisco,

    Can you provide the .syscfg file you are using? It looks like you are using version 4.02.00.00 of C2000Ware and we have since updated the SysConfig compatibility since then. With the file, I will try the copying capabilities on our latest versions of the SysConfig tool to see what versions this issue affects

    Regards,

    Peter

  • For some reason, I cannot upload the original file, however, you can find here the file as a .txt.

    As an additional fact, I try that everything in my project is self-contained, so no reference to external C2000 Ware links is provided. Instead, I locally copied all neccessary files inside my project. Maybe the issue is related with that.

    my_sysconfig.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /**
    * 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 --board "/boards/LAUNCHXL_F280039C" --context "system" --product "C2000WARE@4.02.00.00"
    * @versions {"tool":"1.14.0+2667"}
    */
    /**
    * Import the modules used in this configuration.
    */
    const adc = scripting.addModule("/driverlib/adc.js", {}, false);
    const adc1 = adc.addInstance();
    const analog = scripting.addModule("/driverlib/analog.js", {}, false);
    const analog1 = analog.addInstance();
    const asysctl = scripting.addModule("/driverlib/asysctl.js");
    const cla = scripting.addModule("/driverlib/cla.js", {}, false);
    const cla1 = cla.addInstance();
    const clb = scripting.addModule("/driverlib/clb.js", {}, false);
    const clb1 = clb.addInstance();
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


    Thanks in advance,
    Fran

  • Hi Francisco, 

    Thanks for sending over the file, I was able to convert it to a .syscfg file and am in the process of testing this on different versions of the SysConfig tool to see. 

    Have you also copied all of the SysConfig relevant files into your project?

    Regards,

    Peter

  • Hi Francisco, 

    I have tested the code you provided on our latest release of C2000Ware (v5.00.00.00 which was released last Friday) and this Copy Settings issue seems to be fixed on this latest release. You can go ahead and download that and update your configuration file to the latest version and be able to utilize this copy settings feature. 

    Regards,

    Peter