Installing Plugin SDK for evkmimxrt1160 fails with SHA-256 mismatch

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Installing Plugin SDK for evkmimxrt1160 fails with SHA-256 mismatch

Jump to solution
1,841 Views
laodzu
Contributor III

After installing the new release of MCUXpressio IDE 11.3.0 in Linux, I tried to install the plugin SDK for the evkmimxrt1060 from within the IDE.

This fails with this error:

An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.nxp.mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060,2.9.0.201911251446.
SHA-256 hash is not as expected. Expected: 60b556fbaa884ccb343ce83279cc988202a4a40aced778a8dbeaf89c28ca1a60 and found 25b199c90fa0c8c06e2112c4b2337c0dd399a50f32e1ce54304fa5c0d83a4363.
Problems downloading artifact: org.eclipse.update.feature,com.nxp.mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060.feature,2.9.0.201911251446.
SHA-256 hash is not as expected. Expected: 642cabe394d54889bf94e5859deb0e229e9f754221ab74f6f3e8673df0b0d709 and found fb614f0424dc42c63c32c6e884abb1f0c74188700d8663db59f29c8d5a66458d.

I retried this multiple times as it could be a transfer problem but the error is deterministic. Refreshing the SDK info also did not improve the situation.

Any idea on how to fix this?

Labels (1)
0 Kudos
1 Solution
1,837 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello laodzu,

I tried reproducing this error using Ubuntu 16.04 but it didn’t found this error. It is downloading and installing the mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060 (2.9.0.201911251446) correctly If you are connected to a corporate network that uses a firewall, or trough a proxy, perhaps that could be the culprit. Is the download an accurate size or is it a few kbytes long? It could be that it’s downloading a landing message and that’s why the SHA-256 does not match.

I would understand it’s not the most efficient way to do it but you can also build and download the i.MXRT1060 SDK from the MCUXpresso SD Builder and then drag it to the Installed SDK window of the MCUXpresso IDE.

https://mcuxpresso.nxp.com/en/select

I hope that this helps!
Regards,
Gustavo

View solution in original post

0 Kudos
6 Replies
1,838 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello laodzu,

I tried reproducing this error using Ubuntu 16.04 but it didn’t found this error. It is downloading and installing the mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060 (2.9.0.201911251446) correctly If you are connected to a corporate network that uses a firewall, or trough a proxy, perhaps that could be the culprit. Is the download an accurate size or is it a few kbytes long? It could be that it’s downloading a landing message and that’s why the SHA-256 does not match.

I would understand it’s not the most efficient way to do it but you can also build and download the i.MXRT1060 SDK from the MCUXpresso SD Builder and then drag it to the Installed SDK window of the MCUXpresso IDE.

https://mcuxpresso.nxp.com/en/select

I hope that this helps!
Regards,
Gustavo

0 Kudos
1,829 Views
laodzu
Contributor III

Hi Gustavo,

thanks for looking into this!

Actually I worked around the problem just as you say by generating it on the website and installing it.  But as you also mention, this is still a workaround.

From the error message I do not know where the downloaded files are so I am not able to check this in more detail.  Can you tell me what exactly is downloaded, what file is checksummed and where those files are?

But as you did not see a problem, I uninstalled this SDK again and tried again to install from the Plugin SDK and today it worked.  Both attempts yesterday and today were from the same non-corporate network.

So whatever it was, it is fixed now, thanks!

0 Kudos
1,804 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello laodzu,


I’m glad to hear that it’s working correctly now.

For further reference, the SDK data is downloaded by default on the path:
/usr/local/mcuxpressoide-<version>/ide/features/

Regards,
Gustavo

0 Kudos
1,786 Views
laodzu
Contributor III

Hi Gustavo,

thanks for the further information.

I found that directory also, but on the one hand this seems not to be the "real" download as its size is way too small for the SDK:

du -hs `pwd`/com.nxp.mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060.feature_2.9.0.201911251446/
308K /usr/local/mcuxpressoide-11.3.0_5222/ide/features/com.nxp.mcuxpresso.sdk.sdk_2.x_evk-mimxrt1060.feature_2.9.0.201911251446/

And on the other hand I do not see any SHA-256 checksum that I could check.  Is this really the "download area" where the downloads are saved before being unpacked?

Best wishes

  Detlev

0 Kudos
1,776 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello laodzu,

You are correct, my mistake. The .jar package is placed temporarily on:

/tmp

I do not know if in case of mismatch it is kept on the temporary folder. (In case of successful installation, it is deleted). The SHA-256 checksum is made by the plugin manager so its not stored. You would need to compare the one shown on the error message with your own calculation for the downloaded file.

Regards,
Gustavo

1,765 Views
laodzu
Contributor III

Hi Gustavo,

thanks for this additional info.  Next time I see such an error I will try to find out more details.

Best wishes

  Detlev