Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version mismatch causes pack download to fail #123

Open
flit opened this issue Oct 5, 2019 · 1 comment
Open

Version mismatch causes pack download to fail #123

flit opened this issue Oct 5, 2019 · 1 comment

Comments

@flit
Copy link
Member

flit commented Oct 5, 2019

The nRF DFP is all screwed up…

The Keil pack list site shows the latest version as 8.24.1. The pindex section of keil.vidx has a link to the nRF DFP version 8.7.1. (There is no Nordic-hosted pidx.) But the NordicSemiconductor.nRF_DeviceFamilyPack.8.7.1.pdsc file shows the most recent version is 8.26.0.

I think I understand why the keil.vidx and PDSC differ. The link to the PDSC is owned by Keil, whereas the PDSC and pack are on Nordic's site. So instead of communicating with the Keil team, Nordic has just continued to add new versions in the same PDSC without renaming the file and pack. Of course, this breaks the CMSIS-Pack versioning scheme.

When I attempt to download the nRF DFP using CPM via pyOCD, it reports this error:

$ pyocd pack -i nrf91
Downloading packs (press Control-C to cancel):
    NordicSemiconductor::nRF_DeviceFamilyPack::8.26.0
Oct 05 12:01:13.923 WARN No such file or directory (os error 2)

The version mismatch is undoubtedly the culprit here.

I'm not really sure what CPM should do to work around this, mostly because I'm not sure where the error is actually coming from.

cc @jkrech

@theotherjimmy
Copy link
Collaborator

I'm also not sure what CMP should do here. I'll add some instrumentation to see where that os error is coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants