Modus ToolBox Device_DB

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mozi
Level 1
Level 1
5 sign-ins First like given First reply posted

Hello everyone,

after a lot of back and forth we have decided to use ModusToolbox as an alternative to PsocCreator. During the installation I already had the problem that my user folder contains a space (C:\Users\M. Zim>). So I installed everything directly on C:/. I then set the following environment variables as recommended in the installation guide:

CY_TOOLS_PATHS = C:/ModusToolbox/tools_3.0

CY_GETLIBS_OFFLINE_PATH = C:/.modustoolbox/offline/

CY_GETLIBS_CACHE_PATH = C:/.modustoolbox/cache/

CyManifestLocOverride = C:/.modustoolbox/manifest.loc


However, there is still a problem with the paths. When I open the ProjectCreator and the LibraryManager, I get the same error.

 

lib_1.png

 

proj_1.png

I hope the problem can be easily solved with another path variable.

 

Regards

Moritz

 

 

0 Likes
1 Solution
LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @mozi 

Please set the environment variable CY_GETLIBS_GLOBAL_PATH = C:/.modustoolbox/global and restart ModusToolbox. In your case, the default path for device-db contains a space, which is why ModusToolbox cannot retrieve the asset.

Thanks and Regards,
Leo

View solution in original post

5 Replies
Bhamy
Moderator
Moderator
Moderator
100 replies posted 10 likes given 10 likes received

Hi @mozi ,

Are you using the offline packages? Did you try to restart the ModustoolBox after setting the environment variables? Did you set the CyRemoteManifestOverride variable? Can you please provide the complete log when the error is shown from Project creator?

Best regards,

Bhamy Narasimha Shenoy

0 Likes
mozi
Level 1
Level 1
5 sign-ins First like given First reply posted

Hi @Bhamy ,

I don't think I am using the offline packages and have restarted ModusToolbox and also the PC after setting the variables.

I have now tried in the first step to set the CyRemoteManifestOverride variable to "https://itools.infineon.cn/mtb/manifests/mtb-super-manifest-fv2.xml" and then to "C:/.modustoolbox/mtb-super-manifest-fv2.xml" after unpacking the folder (https://itools.infineon.cn/mtb/manifests/mtb-super-manifest.zip) in C:/.modustoolbox.

 

The same error occurred again with both attempts. Here is the complete log of the project creator.

 

Loading the manifest data

Found environment variable CyManifestLocOverride=C:/.modustoolbox/manifest.loc

Found environment variable CyRemoteManifestOverride=C:/.modustoolbox/mtb-super-manifest-fv2.xml

Loading super manfiest files from all sources

Getting manifests from remote and/or local sources

Processing system manifest 'file:///C:/.modustoolbox/mtb-super-manifest-fv2.xml'

Downloading super manifest file 'file:///C:/.modustoolbox/mtb-super-manifest-fv2.xml'

Finished loading super manifest files from all sources

Finished download of file 'file:///C:/.modustoolbox/mtb-super-manifest-fv2.xml'

Starting to parse super manifest with URL 'file:///C:/.modustoolbox/mtb-super-manifest-fv2.xml'

Finished parsing super manifest with URL 'file:///C:/.modustoolbox/mtb-super-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-ce-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-ce-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-app-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-app-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-memfault-ce-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/cce-app-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/edgeimpulse-ce-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bsp-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bsp-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bsp-dependencies-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-bsp-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-bsp-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-bsp-dependencies-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-mw-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-mw-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-mw-dependencies-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-mw-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-mw-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-bt-mw-dependencies-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-wifi-mw-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-wifi-mw-manifest-fv2.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-wifi-mw-dependencies-manifest.xml'

Downloading manifest file 'file:///C:/.modustoolbox/mtb-memfault-mw-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-ce-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-ce-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-app-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-app-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-memfault-ce-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/cce-app-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/edgeimpulse-ce-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bsp-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bsp-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bsp-dependencies-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-bsp-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-bsp-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-bsp-dependencies-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-mw-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-mw-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-mw-dependencies-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-mw-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-mw-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-bt-mw-dependencies-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-wifi-mw-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-wifi-mw-manifest-fv2.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-wifi-mw-dependencies-manifest.xml'

Finished download of file 'file:///C:/.modustoolbox/mtb-memfault-mw-manifest-fv2.xml'

Finished loading the manifest data (659 ms)

Loading the device db

fatal: cannot change to 'C:/Users/M.': No such file or directory

INFO:Using the executable path for the tools directory.

ERROR:there was an error retreiving the asset 'https://github.com/Infineon/device-db' commit 'release-v4.0.2' - fatal: cannot change to 'C:/Users/M.': No such file or directory

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)

 

Press "Retry" to try again.

 

Best regards,

Moritz

0 Likes

Hello, there is one more variable not mentioned in the installation guide: CY_GETLIBS_GLOBAL_PATH

For ModusToolbox™ version 3.0, we also include a global path for assets like device-db using the variable named CY_GETLIBS_GLOBAL_PATH. If the variable does not exist, it assumes a default path of ~/.modustoolbox/global.

We will get the guide updated ASAP. 

LeoMathews
Moderator
Moderator
Moderator
First question asked 500 replies posted 100 solutions authored

Hi @mozi 

Please set the environment variable CY_GETLIBS_GLOBAL_PATH = C:/.modustoolbox/global and restart ModusToolbox. In your case, the default path for device-db contains a space, which is why ModusToolbox cannot retrieve the asset.

Thanks and Regards,
Leo

mozi
Level 1
Level 1
5 sign-ins First like given First reply posted

Hi,
yes, setting the environment variable "CY_GETLIBS_GLOBAL_PATH = C:/.modustoolbox/global" worked.

Thanks a lot

nice regards

Moritz

0 Likes