Other Parts Discussed in Thread: SYSCONFIG
So I am following the example in ti/MMWAVE_L_SDK_05_04_00_01/docs/api_guide_xwrL64xx/MAKEFILE_BUILD_PAGE.html and I get the following error:
make -C examples/drivers/epwm/epwm_duty_cycle/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang -f makefile all make[2]: Entering directory '/home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/epwm/epwm_duty_cycle/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang' Generating SysConfig files ... /home/user/ti/sysconfig_1.17.0/nodejs/node /home/user/ti/sysconfig_1.17.0/dist/cli.js --product /home/user/ti/MMWAVE_L_SDK_05_04_00_01/.metadata/product.json --context m4fss0-0 --part Default --package FCCSP --output generated/ ../example.syscfg Running script... Error: Exception occurred calling addInstance() at cb (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/scripting/runScript.ts:113:13) at Object.withDeprecatedAccess (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/deprecatedAccessGuard.ts:14:10) at Object.runAsUserScript (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/scripting/scriptingGuard.ts:49:3) at iteratee (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/scripting/runScript.ts:109:5) at baseEach (/home/user/ti/sysconfig_1.17.0/dist/webpack:/node_modules/lodash/lodash.js:530:11) at Function.each (/home/user/ti/sysconfig_1.17.0/dist/webpack:/node_modules/lodash/lodash.js:9409:52) at iteratee (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/scripting/runScript.ts:107:6) at baseEach (/home/user/ti/sysconfig_1.17.0/dist/webpack:/node_modules/lodash/lodash.js:530:11) at Function.each (/home/user/ti/sysconfig_1.17.0/dist/webpack:/node_modules/lodash/lodash.js:9409:52) at Object.t.runScripts (/home/user/ti/sysconfig_1.17.0/dist/webpack:/src/pinmux/services/scripting/runScript.ts:93:4) make[2]: *** [makefile:205: syscfg] Error 1 make[2]: Leaving directory '/home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/epwm/epwm_duty_cycle/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang' make[1]: *** [makefile.xwrL64xx:1639: sbl] Error 2 make[1]: Leaving directory '/home/user/ti/MMWAVE_L_SDK_05_04_00_01' make: *** [makefile.xwrL64xx:22: all] Error 2
The command I use is:
user@userspace:~/ti/MMWAVE_L_SDK_05_04_00_01$ make -f makefile.xwrL64xx all PROFILE=release
It runs well for awhile (note that the following is with the -s silent option set):
Generating SysConfig files ... Running script... Validating... Generating Code (example.syscfg)... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_dpl_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_dpl_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_drivers_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_drivers_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_drivers_open_close.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_drivers_open_close.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_pinmux_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_power_clock_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_board_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_board_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_board_open_close.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_board_open_close.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_cli_mpd_demo_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/generated/ti_cli_mmwave_demo_config.h... Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: ../../../edma_polled_transfer.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: ../main.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_drivers_config.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_drivers_open_close.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_board_config.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_board_open_close.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_dpl_config.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_pinmux_config.c Compiling: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_power_clock_config.c . Linking: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out ... Linking: xwrL64xx:m4fss0-0:nortos:ti-arm-clang edma_polled_transfer.release.out Done !!! . Boot image: xwrL64xx:m4fss0-0:nortos:ti-arm-clang /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/edma_polled_transfer.release.appimage ... Boot image: xwrL64xx:m4fss0-0:nortos:ti-arm-clang /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_nortos/ti-arm-clang/edma_polled_transfer.release.appimage Done !!! . Generating SysConfig files ... Running script... Validating... Generating Code (example.syscfg)... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_dpl_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_dpl_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_drivers_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_drivers_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_drivers_open_close.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_drivers_open_close.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_pinmux_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_power_clock_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_board_config.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_board_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_board_open_close.c... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_board_open_close.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_cli_mpd_demo_config.h... Writing /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/generated/ti_cli_mmwave_demo_config.h... Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: ../../../edma_polled_transfer.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: ../main.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_drivers_config.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_drivers_open_close.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_board_config.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_board_open_close.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_dpl_config.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_pinmux_config.c Compiling: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out: generated/ti_power_clock_config.c . Linking: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out ... Linking: xwrL64xx:m4fss0-0:freertos:ti-arm-clang edma_polled_transfer.release.out Done !!! . Boot image: xwrL64xx:m4fss0-0:freertos:ti-arm-clang /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/edma_polled_transfer.release.appimage ... Boot image: xwrL64xx:m4fss0-0:freertos:ti-arm-clang /home/user/ti/MMWAVE_L_SDK_05_04_00_01/examples/drivers/edma/edma_polled_transfer/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/edma_polled_transfer.release.appimage Done !!! .
But after that last line I get the error I mentioned.
Any idea what is going wrong? What is this addInstance() and what does it mean exactly that "an exception" occurred when calling it? Why does it need to be called exactly? How can I fix this issue and build everything?
I am running Ubuntu 22.04 and the docs tell me to use SysConfig 1.17 which I am using.