CRC Error when installing from board manager
Closed this issue ยท 22 comments
Hi, I'm try to install this sdk from the board manager (latest version of Arduino for Windows) but I get a CRC error instead (related to the downloaded packages.). This occur on V. 0.5.0 and 0.7.0.
This is appear the same error of this:
waybyte/logicromsdk#3
I also tested the files downloaded by board manager (arduino_logicrom_v0.7.0.tar.gz and tool-logicromflasher_v2.4.1.tar.gz) by usind 7-zip and it appear that the files are not corrupted. May the CRC error due to an unsupported format on Arduino for windows ?
I tested this on windows release of Arduino 1.8.x
Did not face any installation issue at all.
I will send you the screen captures. It could be that I'm doing something wrong
If you have downloaded the files manually you may try to run sha256 on it.
The Arduino file should have following if not then probably something is wrong on the file side.
SHA-256:58d36c3b4d34f5fcf15c43fd43442748c61c5c6d8ec00fc835f3f59cceda2e4a
Sha of rest of the file are here in this JSON
https://waybyte.github.io/package_logicrom_index.json
.. but if I extract (using 7-zip) the file located in C:\Users\Andy\AppData\Local\Arduino15\staging\packages, the extraction will occur with no error. Not I will test the SHA of the downloaded file.
Looks like a common Arduino IDE issue,
Please check some solution mentioned here, they all mentioned deleting staging files and downloading again.
arduino/ArduinoCore-samd#364
And
esp8266/Arduino#630
https://forum.arduino.cc/t/solved-samd-core-crc-doesnt-match/378288
Hi, I can confirm the hash of the downloaded arduino_logicrom_v0.7.0.tar.gz:
58d36c3b4d34f5fcf15c43fd43442748c61c5c6d8ec00fc835f3f59cceda2e4a
Also, the hash of tool-logicromflasher_v2.4.1.tar.gz is:
cfebfdfc10c3ed709fa2b0b0bf95f7cba56a4d748fecb99961d12989d3e6f769
Thanks for your info. I will check it
If you're interested in using Arduino as a framework. I would request you to try PlatformIO once. It much more powerful than Arduino IDE.
Hi, I manually downloaded the files as they are referenced in the json file.
I noticed that the link for the toolchain: https://waybyte.github.io/gcc-arm-none-eabi-8-2018-q4.tar.gz perform the download of a 134 byte (truncated ?) gzip. I think that this is the issue. Could you try this download ?
My main development IDE is Eclipse and, for Arduino, I use the Sloeber plugin.
My first try is always with the original arduino IDE to make me sure against any compatibilty issue involving Sloeber.
Anyway, I must admin that I never used Platformio.
Strange, the file is available in repository and it seems to be not being downloaded properly. It might be GitHub issue.
https://github.com/waybyte/waybyte.github.io
I noticed that the link for the toolchain: https://waybyte.github.io/gcc-arm-none-eabi-8-2018-q4.tar.gz perform the download of a 134 byte (truncated ?) gzip. I think that this is the issue. Could you try this download ?
I downloaded the file and opened as text it has got this
version https://git-lfs.github.com/spec/v1
oid sha256:0fefa5c778c25a031b9123fb1e0c5d65c5fc69370fc0b53b27bdf14624f74fbf
size 133110890
This link apper to work properly instead:
https://media.githubusercontent.com/media/waybyte/waybyte.github.io/master/gcc-arm-none-eabi-8-2018-q4.tar.gz
I think I need to host it somewhere else.
I manually saved the toolchain in ...\AppData\Local\Arduino15\staging\packages and the package has been installed successfully
Regarding the ... downloaded text I have no useful idea (I don't know github so well)
They probably changed something coz earlier it wasn't like this. Hosted file was downloaded properly. I never had this issue coz toolchain was installed on the system.
I hope that is anyway fixable.
Now I will take a look to the package.
Thank you for your very fast support.
Regards.
Thank you for highlighting the issue as I couldn't figure it out myself. Arduino IDE errors were not helpful at all :)
May I ask, Which module are you trying to run it on?
It is a project in the preliminary phase where a GSM/GPRS connection is enough, but everything has to be decided yet. I am currently evaluating the available software libraries.
You may drop me an email ajay.bhargav@waybyte.in with IMEI detail if you want to run logicrom on the module.
ok,
thank you.
I also looked for information on your website, but it appears the site is not working yet.
We are a small startup. Working our way up :) we are working on getting things ready.
Resolved this and waybyte/logicromsdk#3
Thank you!