Skip to content

Wrong calculation of CRC? #5558

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

Closed
leomil72 opened this issue Nov 3, 2016 · 2 comments
Closed

Wrong calculation of CRC? #5558

leomil72 opened this issue Nov 3, 2016 · 2 comments

Comments

@leomil72
Copy link

leomil72 commented Nov 3, 2016

It's 2 days that I'm trying to have the Arduino IDE recognize my new Tiny core v.1.0.6. I've updated the JSON file and the IDE sees the new release but when I come to update it, I get "CRC doesn't match. File is corrupted".
I'm very surprised because I calculated the SHA-256 sum using 3 different tools (shasum on OSX, shasum on Linux and an online tool) and I got the same CRC from the 3 tools. So it should be correct.

The JSON file is this one:
http://www.leonardomiliani.com/repository/package_leonardomiliani.com_index.json

You can directly grab the Tiny core from here:
https://github.com/leomil72/tiny/releases/download/1.0.6/tiny-1.0.6.zip

The SHA-256 sum is:
d9ec07e77c1f11434e3ffbadd5520dd2daf7b4e1b3d9396014022f5bb0f19ed8

Why the IDE continue to say that the CRC is wrong?

@per1234
Copy link
Collaborator

per1234 commented Nov 4, 2016

It works for me. I suspect you are encountering #5394, which has been fixed in the hourly build. You can also solve it by deleting the package file from Arduino15/staging/packages.

@leomil72
Copy link
Author

leomil72 commented Nov 5, 2016

Thank you per1234, you centered the issue. I compiled the IDE from the sources and the error was fixed. Thank you, I close here.

@leomil72 leomil72 closed this as completed Nov 5, 2016
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