Spark Logic

CRC Error Downloading STM32 Board Files in Arduino IDE

I noticed this problem last week and I am unable to work on my STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog . When trying to download the latest or even past board files I get the following error message, see attached image. Anyone else having the same issue?

Image

Replies20

Mon Jul 09, 2018 3:16 pm

All the bluepills I’ve used are using an STM32F1STM32F1Microcontrollers and processors…w I am not able to compile. Error message: “C:\arduino-1.6.12\hardware\Arduino_STM32\ STM32F1 \cores\maple/boards.h:39:25: fatal error: board/board.h: No such file or directory” I…View in hardware catalog . Why aren’t you downloading that core?

Also, most people using a bluepill use Roger’s libmaple based core, which is best acquired via github, not the board manager.

Mon Jul 09, 2018 3:26 pm

I’ve been using that board library for quite a while. So my question is, why is there an issue now and can it be resolved?

-Tony

Mon Jul 09, 2018 3:43 pm

You are using the STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog core with a bluepill?

Mon Jul 09, 2018 3:48 pm

Please show your “Additional Boards Manager URLs” setup.

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.

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

Mon Jul 09, 2018 4:07 pm

I am using the dan brown link.

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!

Mon Jul 09, 2018 4:11 pm

Here is the IDE Error Message:

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)

Mon Jul 09, 2018 6:53 pm

Officially, we don’t support the install package from Dan Brown.
Please install the Roger’s core as indicated on github (download and unpack zip).

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.

Mon Jul 09, 2018 7:35 pm

I’ll try this out tomorrow, as I am out for the day.

Fingers crossed this time X

-Tony

Mon Jul 09, 2018 7:38 pm

Rick, I’ll check it out tomorrow…

Thanks,
Tony

Mon Jul 09, 2018 11:39 pm

I’ll double check the STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog files when I get home.

Tue Jul 10, 2018 2:49 am

[Rick Kimball – Tue Jul 10, 2018 1:00 am] –
@ddrown. at least on linux it worked fine:

viewtopic.php?f=14&t=3840#p47054

Thanks for testing!

I also tried Arduino 1.8.5 on Windows 10 and was able to install the STM32F4STM32F4Microcontrollers and processors…uild.board' preference. Auto-set to: STM32F3_DISCOVERY_F3 Board Arduino_STM32-master: STM32F4 :discovery_f407 doesn't define a 'build.board' preference. Auto-set to: STM32F4_DISCO…View in hardware catalog 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

Tue Jul 10, 2018 4:59 am

Probably the json or package are corrupted. Best way is to remove manually the downloaded packages and json from user arduino path.
Then restart Arduino and launch again the board manager.

Wed Jul 11, 2018 2:33 pm

Well, I had to uninstall my Arduino IDE from the Windows Control Panel, then verify the file structure was deleted properly.

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 STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog files from the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog link instead.
github.com/stm32duino/BoardManagerFiles/raw/master/STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog /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

Wed Jul 11, 2018 3:17 pm

Could you describe which issue you met with Serial?
On which board? and which sketch?
I guess the board you use have the generic Serial instance map on Serial1.
So up to you to define other instance you want to use…
HardwareSerial Serial2(rx, tx);

Wed Jul 11, 2018 4:17 pm

Hi, yes, using the STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog with STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog version 1.2.0 Library. See screenshots below… This is the Version that works with the serial ports…
STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog -Image5.jpg
STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog -Image5.jpg (59.93 KiB) Viewed 261 times

Post a reply

Optional · up to 10 MiB