单片机/MCU论坛
直播中

池鹄展

9年用户 1021经验值
擅长:可编程逻辑 电源/新能源
私信 关注

modusToolbox在加载离线库时,总是在loading device_db时提示错误的原因?

我的modusToolbox在加载离线库时,总是在loading device_db时提示错误。信息如下:
Finished download of file 'file:///D:/ModusToolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest.xml'
Finished download of file 'file:///D:/ModusToolbox/offline/manifests-v2.X/mtb-wifi-mw-manifest-fv2.xml'
Finished download of file 'file:///D:/ModusToolbox/offline/manifests-v2.X/mtb-wifi-mw-dependencies-manifest.xml'
Finished loading the manifest data (377 ms)
Loading the device db
fatal: 'D:ModusToolboxoffline/git/https___github.com_Infineon_device-db/device-db' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR:there was an error retreiving the asset 'https://github.com/Infineon/device-db' commit 'release-v4.0.2' - fatal: 'D:ModusToolboxoffline/git/https___github.com_Infineon_device-db/device-db' does not appear to be a git repository
ERROR:fatal: Could not read from remote repository.
ERROR:Please make sure you have the correct access rights
ERROR:and the repository exists.
ERROR:Global asset download of device-db loading completed with error.
ERROR:The asyncStepComplete failed for LoadFlag DEVICE_DB.
3 error(s), 0 warning(s)
我的Modus安装在自定义目录下,offline放在modustoolbox的安装目录下,环境变量已设置。出现这种错误是哪里配置的不对呢?
                                                                                                                                                                                                                                                                                                                                                                                               

回帖(2)

曹阳

2024-2-2 15:21:29
这个错误有点像是 offline library 的版本与 MTB 的版本兼容性问题。 如果你使用的是 ModusToolBox 3.0 ,那么你需要使用最新版本的 offline library v1.3,之前的 v1.2 版本与 MTB 3.0 是不能兼容的。
举报

苹果派派

2024-2-2 16:40:17
device_db的错误提示可能是由于以下原因导致的:

1. 离线库文件损坏:检查下载的离线库文件是否完整和正确。如果文件损坏,重新下载或尝试使用其他来源下载。

2. 文件路径错误:确保离线库文件的路径是正确的,并且modusToolbox能够正确读取该文件。检查文件路径和文件名是否正确。

3. 内容格式不兼容:离线库文件可能不兼容当前版本的modusToolbox。确保离线库文件与你使用的modusToolbox版本匹配。

4. 其他错误:查看modusToolbox的日志文件或错误信息,以获取更多详细信息。这些信息可能会指示具体的错误原因,如缺少依赖项或软件包冲突等。

如果以上方法都没有解决问题,建议联系modusToolbox的支持团队,他们可能会提供更专业的帮助和支持。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分