ST Motor Control Workbench生成工程报错PDSC version is not supported解决办法


前言

使用 ST Motor Control Workbench 5.4.4 FOC 电机开发工具和 stm32cubemx 6.1.1 生成的工程报错,记录一下解决的办法。


一、报错相关信息

报错信息如下:

2024-04-09 18:35:28,527 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-SMBUS.2.1.0.pdsc: PDSC version is not supported
2024-04-09 18:35:28,621 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.FP-SNS-FLIGHT1.5.0.2.pdsc: PDSC version is not supported
2024-04-09 18:35:28,638 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-DISPLAY.3.0.0.pdsc: PDSC version is not supported
2024-04-09 18:35:28,682 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\emotas.I-CUBE-CANOPEN.1.3.0.pdsc: PDSC version is not supported
2024-04-09 18:35:28,698 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-BLEMGR.3.1.0.pdsc: PDSC version is not supported
2024-04-09 18:35:28,709 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.FP-SNS-SMARTAG2.1.2.0.pdsc: PDSC version is not supported
2024-04-09 18:35:28,747 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.FP-SNS-MOTENV1.5.0.0.pdsc: PDSC version is not supported
2024-04-09 18:35:29,258 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.FP-SNS-MOTENVWB1.1.3.1.pdsc: PDSC version is not supported
2024-04-09 18:35:29,561 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-FREERTOS.1.1.0.pdsc: PDSC version is not supported
2024-04-09 18:35:29,615 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-TOF1.3.4.1.pdsc: PDSC version is not supported
2024-04-09 18:35:29,660 ERROR [LineInfo_to_exitCode.log_LineInfo] C:\Users\.stm32cubemx\thirdparties\pdsc\Infineon.AIROC-Wi-Fi-Bluetooth-STM32.1.6.0.pdsc: PDSC version is not supported

导致工程生成失败
在这里插入图片描述

试过更换不同的 ST Motor Control Workbench 版本,但是问题还没有得到解决。

官方给出了不同版本的 STM32CubeMx 的限制,但是并未提到针对 6.1.1 版本的说明
在这里插入图片描述

二、解决办法

将上述的报错的 .pdsc 文件改成 .pdsc.bak,避开检测
在这里插入图片描述
打开 stm32cubemx,再次使用 ST Motor Control Workbench 5.4.4 生成工程
在这里插入图片描述
工程生成成功~


我的qq:2442391036,欢迎交流!


  • 4
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
loading PDSC错误是由于Keil ARM在加载PDSC(Debug Description)文件时失败导致的。这个问题可以通过修改对应的PDSC文件来解决。根据引用\[1\]和引用\[2\]的描述,你需要找到Keil软件目录下对应的PDSC文件(例如Keil.STM32G4xx_DFP.pdsc或Keil.STM32F4xx_DFP.pdsc),去掉该文件的只读属性,并根据Keil底部的build output内的提示找到对应行,删除该行的报错提示,然后保存文件。这样就可以解决loading PDSC错误了。引用\[1\]和引用\[2\]提供了详细的步骤和解决思路。另外,引用\[3\]提到了如果你使用的是STM32F7xx pack版本2.10.0(或更高版本)或STM32H7xx pack版本2.1.0(或更高版本),并且使用的是之前版本的µVision项目,那么可能会出现此问题。在这种情况下,需要注意Debug Description文件(.dbgconf)的兼容性问题。 #### 引用[.reference_title] - *1* [报错解决:Loading PDSC Debug Description Failed](https://blog.csdn.net/weixin_51651698/article/details/127950820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* *3* [关于“Loading PDSC Debug Description Failed”](https://blog.csdn.net/DonaldStewart/article/details/130303026)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

须尽欢~~

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值