Spark Logic

Cant get Arduino for STM32 Installed.

STM32F103C8T6 LQFP48 Pinout
ILI9163C DT018ATFT · FPC-45 Pinout
ATmega328 TQFP-32 Pinout

Using Windows 8, I followed these instructions;

http://www.stm32duino.com/viewtopic.php?f=20&t=32

Board is set to ‘Generic STM32F103CSTM32F103CMicrocontrollers and processors…doesnt work” mortenholm Fri Jul 24, 2015 10:05 pm Sure. I have selected the ‘Generic STM32F103C series’ and i have tried both the 64k and 128k versions (stm32flash reports 128k).…View in hardware catalog Series, variant STM32F103C8STM32F103C8Microcontrollers and processors…017 8:28 am I am trying to get Phono’s library working on a MCP2551 and a blue pill ( STM32F103C8 ), I have it connected to a active CANBUS, and I have successfully received and s…View in hardware catalog .

Removed Arduino first, then installed 1.6.7

When I load the blink program and compile I get a few warnings then and error;

C:\Users\Stuart\Documents\Arduino\hardware\Arduino_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 \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 \cores\MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog /wirish.h:51:28: fatal error: libmaple/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 .h: No such file or directory

What Have I done wrong ?

Also get a series of these messages a bit later;

Invalid library found in C:\Users\Stuart\Documents\Arduino\hardware\Arduino_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 \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 \libraries\Ethernet_STM: C:\Users\Stuart\Documents\Arduino\hardware\Arduino_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 \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 \libraries\Ethernet_STM
Invalid library found in C:\Users\Stuart\Documents\Arduino\hardware\Arduino_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 \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 \libraries\TFT_ILI9163CILI9163CDisplays, touch panels and LEDs…ered if it would be possible to get the pig-o-scope working with it. This display is ILI9163C based, but the original code calls for a ILI9341 display. After a bit of head scratch…View in hardware catalog : C:\Users\Stuart\Documents\Arduino\hardware\Arduino_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 \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 \libraries\TFT_ILI9163CILI9163CDisplays, touch panels and LEDs…ered if it would be possible to get the pig-o-scope working with it. This display is ILI9163C based, but the original code calls for a ILI9341 display. After a bit of head scratch…View in hardware catalog

Replies20

Tue Feb 09, 2016 8:32 pm

you said you are using 1.6.7

but only 1.6.5 is supported.

was this a typo?

Tue Feb 09, 2016 8:50 pm

I had this error when I did a new install the other day also. Unfortunately I cant remember what I did to fix it…

Tue Feb 09, 2016 9:03 pm

C_D wrote:I had this error when I did a new install the other day also. Unfortunately I cant remember what I did to fix it…

Wed Feb 10, 2016 1:29 am

Actually that might be exactly what happened, I did briefly install 1.6.7 before I realised it didn’t work. Looks like OP saying 1.6.7 may not have been a typo :)

Wed Feb 10, 2016 1:43 am

Somewhat off topic, but can anyone confirm what the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog guys are doing in relation to 1.6.7 etc

I checked their repo and it says 1.6.5 , so I presume they made the same decision , i.e stay with a stable version, rather than make something not backwards compatible with their thousands or users.

Wed Feb 10, 2016 2:17 am

RogerClark wrote:Somewhat off topic, but can anyone confirm what the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog guys are doing in relation to 1.6.7 etc

I checked their repo and it says 1.6.5 , so I presume they made the same decision , i.e stay with a stable version, rather than make something not backwards compatible with their thousands or users.

Wed Feb 10, 2016 6:24 am

RogerClark wrote:you said you are using 1.6.7

but only 1.6.5 is supported.

was this a typo?

Wed Feb 10, 2016 1:36 pm

RogerClark wrote:Somewhat off topic, but can anyone confirm what the ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog guys are doing in relation to 1.6.7 etc

I checked their repo and it says 1.6.5 , so I presume they made the same decision , i.e stay with a stable version, rather than make something not backwards compatible with their thousands or users.

Wed Feb 10, 2016 7:45 pm

I have a multi file project I’m using for ESP8266ESP8266Microcontrollers and processors…working, on the Arduino.cc forum The ESP thing looks similar, but at the moment, www. esp8266 .com is not responding, so I’ll take a look later to see if it seems to be the same b…View in hardware catalog on 1.6.5 and I had to go back to using prototypes, as relying on automatic prototyping on more complex projects is not very practical unless you carefully organise the positions of the functions in each file and dont want to call a function in another file.

Wed Feb 10, 2016 7:52 pm

I was looking at using one of the low cost STM32F103C8T6STM32F103C8T6Microcontrollers and processors…e Sep 27, 2016 10:28 pm I know this is an old topic, but… I’m using blue pill board ( STM32F103C8T6 , version 3). With the current (modified) Adafruit library 0.96″ OLED display w…View in hardware catalog boards as a replacement for a Pro Mini I currently use for a very long distance LoRa radio tracker receiver.

I complied the working receiver code, taking out the SoftSerial stuff, and the STM code is around 2.4 times the size of the ATmega328ATmega328Microcontrollers and processors…al port without resetting, the 16u2 send a pulse of about 4 us to the RX port of the Atmega328 . This pulse can be interpreted as a characher that depends on baudrate A 256000 you…View in hardware catalog code, so even with the 64K Flash on the STM I would have less room for adding extra code, assuming that ratio.

Wed Feb 10, 2016 9:50 pm

srnet wrote:
…
I complied the working receiver code, taking out the SoftSerial stuff, and the STM code is around 2.4 times the size of the ATmega328ATmega328Microcontrollers and processors…al port without resetting, the 16u2 send a pulse of about 4 us to the RX port of the Atmega328 . This pulse can be interpreted as a characher that depends on baudrate A 256000 you…View in hardware catalog code, so even with the 64K Flash on the STM I would have less room for adding extra code, assuming that ratio.

Thu Feb 11, 2016 6:40 am

mrburnette wrote:srnet wrote:
…
I complied the working receiver code, taking out the SoftSerial stuff, and the STM code is around 2.4 times the size of the ATmega328ATmega328Microcontrollers and processors…al port without resetting, the 16u2 send a pulse of about 4 us to the RX port of the Atmega328 . This pulse can be interpreted as a characher that depends on baudrate A 256000 you…View in hardware catalog code, so even with the 64K Flash on the STM I would have less room for adding extra code, assuming that ratio.

Thu Feb 11, 2016 7:39 am

The large size of the binaries has been noted before and it was generally tracked back to something calling in a whole bunch of stuff from one of the ARM core libraries

Usual culprits, from what I recall are things that use Malloc / free etc, but I can’t remember the exact details.

I just googled and found this thread

http://www.stm32duino.com/viewtopic.php?t=407

There may be others.

Thu Feb 11, 2016 2:14 pm

srnet wrote:
<…>
I have it working but its at the limit of the Pro Mini memory, and I dont want to spend time developing extra features on a setup that is an effective dead end.

I would want to keep the code constant, using the same basic routines on the existing receiver as on a more sophisticated up rated one. So whilst it may be possible to optimize for the STM I would rather avoid doing it, I would end up with two sets of code.

Thu Feb 11, 2016 5:41 pm

Why backwards compatible with a Pro Mini, a reasonable question.

The Pro Mini makes a small, light, low cost and very low parts count tracker TX to be built. You can also avoid the need for any SMT assembly and the entire thing can be built with less than 10 parts. The tracker transmitter has two way communications, if you can receive packets from a few hundred kilometers you can send them as well.

Now if tracker TX and receiver are both sending and receiving packets its a lot easier if they are using the same code.

The Pro Mini is OK for the tracker TX and handles the GPS and LoRa stuff well enough. The Pro Mini is also enough to build a simple and very portable battery operated tracker receiver, but the memory is then close to the limit, for RAM in particular.

So if you want to add more features to the receiver you need more FLASH and RAM.

Thanks for the tip on the 1284P, I will take a look. I am for this design trying to avoid the use of SMT, I had not realized the 1284P was available in
40 pin DIP.

Stuart Robinson
GW7HPW
http://www.50dollarsat.info/

Mon Apr 18, 2016 12:47 am

mrburnette wrote:C_D wrote:I had this error when I did a new install the other day also. Unfortunately I cant remember what I did to fix it…

Mon Apr 18, 2016 1:06 am

fran52 wrote:
<…>
INSTRUCTIONS STATE CURRENT IDE S/B 1.6.5 if that is the only ver supported
Ver 1.7.8 cannot co-exist as the installer un-installed the prior installation.
Several libraries are marked as invalid
The path to the maplelib fails
The path to boards.txt fails
:o

Sun Jun 19, 2016 1:05 am

I am going to try to install this software and I want to know if the new 1.6.9 version of Arduino IDE works or should I only install 1.6.5 as stated above. At present I have nothing installed. I will be using windows 7 pro or ultimate depending on which machine I actually install it on

Sun Jun 19, 2016 4:51 am

1.6.9 works

Post a reply

Optional · up to 10 MiB