The chip index is incomplete
The SDK checks the CMSIS-Pack index against the vendor’s own list before trusting it. Some descriptors served from keil.com could not be downloaded, so the parts they cover — STM32 families among them — may be missing from this list.
PACK_INDEX_INCOMPLETE
Symptoms
- The chip search lists parts from some vendors but none from ST, or none for a family you know exists.
- Installing a pack fails with "not found" for a part number that is correct.
- The list shows a note that the chip index is incomplete.
Likely causes
- The pack manager’s own downloader skipped files keil.com serves through a redirect to Azure storage, and wrote an index from what it did get. Seen on Windows; the index looks healthy because it is not empty.
- A proxy or firewall allows keil.com but not the storage host the redirect lands on (*.blob.core.windows.net), so MCUHex’s own fetch of the missing files fails too.
- The download was cut part way through and the index was written from a partial set of files.
How to fix it
-
Let MCUHex finish the index
On every search the SDK compares the files on disk with the vendor’s list and fetches what is missing itself, then rebuilds the index. If this note went away after a minute, that already happened; search again.
-
Check that a descriptor can be fetched from here
This is one of the files the downloader drops. It answers with a redirect and then the file; a proxy that stops at the redirect is the usual culprit.
curl -L -o /dev/null -w "%{http_code} " https://www.keil.com/pack/Keil.STM32G0xx_DFP.pdsc -
Allow the storage host behind keil.com
On a corporate network, the MCUHex app needs to reach both www.keil.com and the host the redirect lands on, sadevicepacksprodus.blob.core.windows.net.
-
Copy the descriptors from a machine that has them
Descriptors are the Vendor.Pack.Version.pdsc files in the cache folder. Copy the missing ones across, delete index.json in the same folder, and restart the SDK so the index is rebuilt.
macOS ~/Library/Application Support/cmsis-pack-manager Linux ~/.local/share/cmsis-pack-manager Windows %LOCALAPPDATA%\cmsis-pack-manager