CRC Error Downloading STM32 Board Files in Arduino IDE
tcontrada Mon Jul 09, 2018 2:28 pm
Image
tcontrada Mon Jul 09, 2018 2:28 pm
Image
Rick Kimball Mon Jul 09, 2018 3:16 pm
Also, most people using a bluepill use Roger’s libmaple based core, which is best acquired via github, not the board manager.
tcontrada Mon Jul 09, 2018 3:26 pm
-Tony
Rick Kimball Mon Jul 09, 2018 3:43 pm
Rick Kimball Mon Jul 09, 2018 3:48 pm
I’m guessing you are using this one: http://dan.drown.org/stm32duino/package … index.json
I just tried it, it works fine for me on linux. No CRC errors.
What OS are you on?
What version of Arduino IDE ?
Why does your image snap shot show 2018-6-23. I see a newer version than that.
Do you have enough disk space? Maybe you could try removing all the versions you don’t need.
tcontrada Mon Jul 09, 2018 3:53 pm
Rick Kimball Mon Jul 09, 2018 3:59 pm
https://github.com/esp8266/Arduino/releases/download/2.4.0-c2/package_esp8266com_index.json,
http://download.labs.mediatek.com/package_mtk_linkit_smart_7688_index.json,
https://github.com/stm32duino/BoardManagerFiles/blob/master/STM32/package_stm_index.json
tcontrada Mon Jul 09, 2018 4:07 pm
OS = W10, Arduino IDE 1.8.5
I have the same problem on 2 different PC’s as well!
All of this was working fine a few weeks ago!
tcontrada Mon Jul 09, 2018 4:11 pm
CRC doesn’t match, file is corrupted. It may be a temporary problem, please retry later.
java.lang.RuntimeException: java.lang.Exception: CRC doesn’t match, file is corrupted. It may be a temporary problem, please retry later.
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$1(ContributionManagerUI.java:176)
at java.lang.Thread.run(Thread.java:748)
Rick Kimball Mon Jul 09, 2018 4:15 pm
stevestrong Mon Jul 09, 2018 6:53 pm
Rick Kimball Mon Jul 09, 2018 7:18 pm
[stevestrong – Mon Jul 09, 2018 6:53 pm] – Officially
Heh … you make me laugh .. is there anything “Official” here?
Your only guaranteed support here is that there is none. If you find some, then consider yourself lucky.
tcontrada Mon Jul 09, 2018 7:35 pm
Fingers crossed this time X
-Tony
tcontrada Mon Jul 09, 2018 7:38 pm
Thanks,
Tony
ddrown Mon Jul 09, 2018 11:39 pm
Rick Kimball Tue Jul 10, 2018 1:00 am
ddrown Tue Jul 10, 2018 2:49 am
[Rick Kimball – Tue Jul 10, 2018 1:00 am] –
@ddrown. at least on linux it worked fine:
Thanks for testing!
I also tried Arduino 1.8.5 on Windows 10 and was able to install the STM32F4 versions 2018.6.23, 2018.5.27, and 2018.7.2.
@tcontrada can you try https instead of http? Maybe your provider is messing with your downloads?
https://dan.drown.org/stm32duino/packag … index.json
fpiSTM Tue Jul 10, 2018 4:59 am
tcontrada Wed Jul 11, 2018 2:33 pm
Then, reinstall Arduino IDE 1.8.5 from their web site.
I was then able to download the dan brown JSON file and get the STM32103 files. However, those libraries have some issues with the Serial Ports.
So I had to use the STM32 files from the STM32 link instead.
github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
However, there is an issue with the Serial Ports with the version 1.3.0, so I had to get version 1.2.0 instead.
Someone might want to look at version 1.3.0 for the Serial Port issue which appears to only work with Serial1 and not Serial2 or 3…
Thanks,
Tony
fpiSTM Wed Jul 11, 2018 3:17 pm
HardwareSerial Serial2(rx, tx);tcontrada Wed Jul 11, 2018 4:17 pm