2025-07-03 10:28 PM
The single-resistance mode of the current sensor can generate successfully, while the three-resistance mode fails to generate
Software version:
MCSDK 6.4.0
CUBEMX 6.14.1
CUBEFW 1.28.2
log
2025-07-04 10:29:20,884 DEBUG [WB_to_MX.lambda$run_gui_mode$0] Arguments: [-mx_timeout, -1, -pack, assets/MotorControlPack/MotorControl.zip, -exp, templates/wb-defines_where_and_what.txt, -ftl, templates/wb_ioc_template.ftl, -xdm, F:\06.Code\FOC\STMC2M\STMC2M.wbdef, -ioc, F:\06.Code\FOC\STMC2M\STMC2M.ioc]
2025-07-04 10:29:20,885 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ftl]: templates/wb_ioc_template.ftl
2025-07-04 10:29:20,885 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[exp]: templates/wb-defines_where_and_what.txt
2025-07-04 10:29:20,885 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: F:\06.Code\FOC\STMC2M\STMC2M.wbdef
2025-07-04 10:29:20,886 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: F:\06.Code\FOC\STMC2M\STMC2M.ioc
2025-07-04 10:29:20,887 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[pack]: assets/MotorControlPack/MotorControl.zip
2025-07-04 10:29:20,887 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[mx_timeout]: -1
2025-07-04 10:29:20,887 DEBUG [ArgsValue.retrieve] {xdm=F:\06.Code\FOC\STMC2M\STMC2M.wbdef, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=F:\06.Code\FOC\STMC2M\STMC2M.ioc, pack=assets/MotorControlPack/MotorControl.zip, ftl=templates/wb_ioc_template.ftl}
2025-07-04 10:29:20,935 DEBUG [WB_to_MX.run] Targeted MCU family = F4
2025-07-04 10:29:20,951 DEBUG [WB_to_MX.run] Minimum associated CubeMx to the `6.0.0-a0` targeted MCU family is `F4`
2025-07-04 10:29:26,645 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.14.1-RC2
2025-07-04 10:29:26,649 DEBUG [RetrieveFirmwareVersion.from_zip] Trying to read Firmware version from zipped version Pack: C:\Program Files (x86)\STMicroelectronics\MC_SDK_6.4.0\Utilities\PC_Software\STMCWB\assets\MotorControlPack\MotorControl.zip
2025-07-04 10:29:26,671 DEBUG [RetrieveFirmwareVersion.minimum_supporte_version] minimum_supporte_version MotorControlFirmware.Version: 6.4.0-Full
2025-07-04 10:29:26,672 DEBUG [PackInfoFactory.deploy_MCPack_to_MxRepo] Deployment strategy class: VersionedFolderStyle_MCPackDeployer
2025-07-04 10:29:26,672 DEBUG [PackInfoFactory.deploy_MCPack_to_MxRepo] Expected MC Pack 6.4.0-Full already deployed
2025-07-04 10:29:26,692 DEBUG [DataSetUpdater.update] Updating data set
2025-07-04 10:29:26,692 DEBUG [DataSetUpdater.update] Update done
2025-07-04 10:29:26,693 INFO [IocGenerator.logModulesVersionInfo] Version info:
2025-07-04 10:29:26,702 INFO [IocGenerator.logModulesVersionInfo] MC Workbench : 6.4.0
2025-07-04 10:29:26,702 INFO [IocGenerator.logModulesVersionInfo] WB_to_Mx : 6.4.0-Full.template-25-05-06
2025-07-04 10:29:26,703 INFO [IocGenerator.logModulesVersionInfo] STM32CubeMX : 6.14.1
2025-07-04 10:29:26,703 INFO [IocGenerator.logModulesVersionInfo] MC Firmware Library: 6.4.0-Full
2025-07-04 10:29:26,704 INFO [IocGenerator.logModulesVersionInfo]
Generation options:
2025-07-04 10:29:26,704 INFO [IocGenerator.logModulesVersionInfo] Target Toolchain : Makefile
2025-07-04 10:29:26,704 INFO [IocGenerator.logModulesVersionInfo] Target Driver : LL - Low Level
2025-07-04 10:29:26,705 INFO [IocGenerator.logModulesVersionInfo] Target STM32 FW : 1.28.2
2025-07-04 10:29:26,707 DEBUG [IocGenerator.process] F:\06.Code\FOC\STMC2M\STMC2M.ioc ioc file: Generating
2025-07-04 10:29:26,707 DEBUG [IocGenerator.createOutput] Generating file from template templates\wb_ioc_template.ftl
2025-07-04 10:29:27,363 ERROR [LineInfo_to_exitCode.manage_IocGenerationError] Unable to generate ioc file due to: When calling function "add_extra_regular_cnv_if_needed", required parameter "cnv" (parameter #2) was specified, but had null/missing value....
2025-07-03 10:39 PM