Spark Logic

Need some guide for learning STM32s

STM32F103C8T6 Example · LQFP48 Pinout

Hi guys,
I’ve been banging my head against the keyboard for a few days because I am literally STUCK and can’t find a good way to get started on STM32s. I am a complete noob in the world of STM32s but I’ve done a lot of C/C++ and Arduino programming before. Do anyone have any suggestions about which development board to start with, how to program an 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 , or where to find a good tutorial?
ANY help would be greatly appreciated! :)
Richard

Replies20

Sat Oct 01, 2016 5:08 pm

Try googling with “STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog github wiki” and you will find nice tutorial written by Roger and me, such as

https://github.com/OliviliK/STM32F103/wiki

Cheers, Ollie

Sat Oct 01, 2016 5:37 pm

Slammer wrote:Very nice textbook for 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 and its internals http://www.cs.indiana.edu/~geobrown/book.pdf

Sat Oct 01, 2016 5:40 pm

Unturned wrote:Hi guys,
I’ve been banging my head against the keyboard for a few days because I am literally STUCK and can’t find a good way to get started on STM32s

Sun Oct 02, 2016 1:41 am

Firstly, thanks for the reply so far guys!
@Rick: Yes I would like to use the Arduino IDE to program STM32s. Do you know any tutorials that teaches you how to do that? (P.S. I’m running Mac OS X.)
@Slammer, Ollie: I will check the tutorials/books suggested by you guys in the near future. Although I would like to learn STM32s by using the Arduino IDE, I think learning some lower-level programming to control a micro controller would still be really useful for me in the future. :D

Sun Oct 02, 2016 1:43 am

Just another quick question: Which 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 development board should I start with? Is TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog , NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog , or 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 better?
thanks!
Richard

Sun Oct 02, 2016 2:44 am

TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog does not use a 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 device

If you mean what ARM board should you use, then you should also think about the offerings from Arduino.cc and Arduino.org e.g. Arduino ZeroArduino ZeroDevelopment and computing boards… then you should also think about the offerings from Arduino.cc and Arduino.org e.g. Arduino Zero , and include the Teensy etc Your highest level of support is going to be via an…View in hardware catalog , and include the TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog etc

Your highest level of support is going to be via an Arduino branded board or a TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog .

There is really only community support for 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 .
(Although STM have released an “core” for some NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards, they will not be doing an official support for this release)

You choice depends on your own requirements.

Note. You may also want to add the Cypress PSoCPSoCMicrocontrollers and processors… choice depends on your own requirements. Note. You may also want to add the Cypress PSoC devices to the list as well, as although they are not programmed via the Arduino IDE, I t…View in hardware catalog devices to the list as well, as although they are not programmed via the Arduino IDE, I think they are ARM devices, and are supported by Cypress via their own IDE.

Sun Oct 02, 2016 5:19 am

Roger wrote:
(Although STM have released an “core” for some NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards, they will not be doing an official support for this release)

sorry Roger, but I don’t get what do you mean by “core” for some NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards.
I didn’t get what do you mean by “an official support for this release”, too. What is “this release”?
Could you please kindly explain to me?

thanks

Sun Oct 02, 2016 5:34 am

The “Core” is the Third Party Board code which you have to add to the IDE so that it works with non Arduino branded products

The “core” / board code we have been using for well over a year is not an official STM product, is effectively abandon-ware + community updates

STM have announced they have produced a “core” ie official code to support some NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards

See this thread

http://www.stm32duino.com/viewtopic.php?f=16&t=1398

However, the term “support” is used sparingly in this case, as STM are doing a one off delivery of the code to the open source community, but there will not be any on-going support by STM as they do not have anyone in-house providing “support”

Unlike TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog , where if something doesnt work, you can contact Paul, who designed and manufactures the TeensyTeensyDevelopment and computing boards…true ide.contributions.boards.support.urls.wiki= ide.create_platforms_from_boardsTXT. teensy =build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.passwor…View in hardware catalog , as he will provide ongoing support for both his hardware and his libraries.

Sun Oct 02, 2016 6:04 am

@Roger: Ok I got what you mean by the term “core”.
Now, let’s say I’ve decided to use the Arduino IDE for using the NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog 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 boards.

First, which NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog board should I start with? (I briefly looked at all the NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog products, and I guess the “NUCLEO-32NUCLEO-32Development and computing boards… should I start with? (I briefly looked at all the Nucleo products, and I guess the “ Nucleo-32 ” boards is for the beginner…) Second, what “core” should I add to my Arduino IDE t…View in hardware catalog ” boards is for the beginner…)

Second, what “core” should I add to my Arduino IDE to get this NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog 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 board up and running?

Third, what other things should I prepare (software, hardware, programmer, etc) to properly program an 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 board with the Arduino IDE?

thanks

Sun Oct 02, 2016 9:07 am

Hi @Unturned, if you are at the very beginning on using arduino 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 then my suggestion is:
  • buy a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog clone (also two) from ebay or aliexpress
  • install the stm32duino sw from Roger’s github repository (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 core)
  • start playing with arduino examples

For details on all above you can search the forum which is full of info.
This is from my pov the simplest, fastest and also cheapest starting path.
Then you’ll be ready for the next levels.

Best, E.

Sun Oct 02, 2016 9:48 am

I totally agree with @edogaldo

At the moment, your best hardware choice is the Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog rather than the NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog

STM have only just released the “core” for 2 of their NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog boards, and it has not been extensively tested, and hardly anyone on the forum actually has a NucleoNucleoDevelopment and computing boards…o have this dev board for BlueNRG at a pretty hefty price tag though, hopefully the ‘ nucleo ’ & common dev board versions would be out soon Laughing … 007v1.html oops/oh found an…View in hardware catalog board (or actively uses one)

Hence you will have most community support if you buy a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog (or Perhaps the “BluePill”) but the BluePill often needs hardware changes to make it work correctly and you’d also need a USB to Serial adaptor to Flash the bootloader onto it, because none of the eBay or AliExpress sell them with the bootloader installed.

See wiki.stm32duino.com

Sun Oct 02, 2016 1:46 pm

Since both of you two suggests the 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 board, then I guess I am going to use that one then! :D
I’ve decided to start out with the 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 board (not the Mini version) because I have a few Arduino shields and I think it would be easier to get things started and carry out tests quicker with the help of the shields.

I have another question that have been bugging for sometime:
Can other similar 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 chips that have the proper 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 bootloader installed be programmed by the 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 IDE through the USB/Serial interface? I want to know this because I think I will need to build standalone 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 systems just like how I did with AVRs.
Also, how am I supposed to burn a bootloader onto a new 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 ? As I don’t see a “burn bootloader” button in the 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 IDE…
thanks :)
Richard

Sun Oct 02, 2016 9:10 pm

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 and Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog come pre flashed with the bootloader, they plug straight into USB .

The bootloader appears as a DFU device when the board is reset.

The USB Serial is actually compiled into the sketch by default, so that when the bootloader finishes and the sketch code runs instead, the USB bus is reset and the board appears as USB Serial.

Re:Shields

All 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 boards are 3.3V devices. Only shields compatible with 3.3V signals will work.

I think this may be a very limited selections.

Actually, most peripherals now operate at 3.3V not 5V, and shields often have 5V to 3.3V converters on them ( or resistor divider networks etc).

So some shields could be converted if you are willing to get out your soldering iron etc.

However what most people normally use is a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog or a BluePill, plugged into a breadboard, and then buy individual modules, which also plug into the breadboard.

You then just need some of those male to male connector pin wires to wire the module to the Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog .

Thu Oct 06, 2016 10:04 am

Hi Roger,
Sorry for not replying for so long, I was quite busy doing some other work :mrgreen:
I still have some question that I don’t know the answer to it yet:

1. Is using the Arduino framework the best for working with STM32s? Is there any other libraries/frameworks to use to program it? (what is the original library that ST developed for working with STM32s? is it good to use compared to Arduino?)
2. What other 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 microcontrollers is programmable with the Arduino framework except the STM32F103xxxx series that is used on the 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 boards?
3. Do you need a special programmer (like ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog ? I don’t even know what is it) to program a 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 ? or can you just do it over Serial?

thank you
Richard

Thu Oct 06, 2016 8:25 pm

Hi unturned

I think you would be better off posting your questions to STMs own forum, as they have a greater knowledge of all possible ways to develop and program 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 devices.

This forum is about using 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 devices with the Arduino IDE.
Whether this is best for you, is a decision which ultimately only you can make

Thu Oct 06, 2016 11:24 pm

from my short experience 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 I will give you some fast answers:

1. Is using the Arduino framework the best for working with STM32s? Is there any other libraries/frameworks to use to program it? (what is the original library that ST developed for working with STM32s? is it good to use compared to Arduino?)

There is no perfect framework or method. Arduino framework with Arduino IDE is a very fast and easy way to program the MCU. Arduino framework does not require knowledge of the specific MCU (IMO an overall knowledge of hardware always helps) all are hidden by API. But there are some limitations as the arduino framework was created for a small 8bit MCU with limited capabilities, and 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 is much more powerful and complex. Another option is the mbed framework, it follows the same logic with arduino (no knowledge of hardware required) but it is much wider and a bit more difficult for beginners, it is also much bigger and requires much more memory than arduino API, this is a problem for small devices. There is also the Chibios which is a RTOS and a HAL in one package, this is really much harder to manage. All others like SPL, HALMX, OPENCM3 are libraries to help you with MCU operations and peripherals and require deeper knowledge of hardware.

2. What other 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 microcontrollers is programmable with the Arduino framework except the STM32F103xxxx series that is used on the 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 boards?
Only STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog MCUs are supported officially by libmaple, the F4 support is good but not so widely tested. There are some other arduino cores like Dragonfly’s L4 core, the experimental HALMX core, and the ST core for F1 and L4 but this is a very recent development.

Do you need a special programmer (like ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog ? I don’t even know what is it) to program a 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 ? or can you just do it over Serial?
Almost all widely known F103 boards with USB are supported by stm32duino bootloader (thanks to Roger), with this you can download the program to target board by USB without any other equipment, as a bonus you get a USB-Serial interface for your application. ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog is a dowload/debug interface created by ST (end cloned illegally by Chinese) for all members of 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 family. With ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog you can download the program to MCU without any bootloader, but it is not only that, with the proper software you can debug your program (watch variables, define breakpoints, step execution) on your board in realtime during execution. Finally, always, in every 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 you can also use the embedded bootloader through UART (or other ports in various MCUs), but this is not automatic, requires some manipulation with the pins BOOT0/1 of MCU (not very handy but it works)

Fri Oct 07, 2016 2:27 am

First, I thank you guys for the help and guidance that you offered me which definitely helped me a lot with getting started with STM32s. :D

This forum is about using 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 devices with the Arduino IDE.
Whether this is best for you, is a decision which ultimately only you can make
Arduino framework with Arduino IDE is a very fast and easy way to program the MCU.
I guess I’m going to start out with using the Arduino IDE then since it looks pretty easy to get on with

Another option is the mbed framework, it follows the same logic with arduino (no knowledge of hardware required) but it is much wider and a bit more difficult for beginners,
I might move to the mbed framework in the future after I got familiar with STM32s.

Almost all widely known F103 boards with USB are supported by stm32duino bootloader (thanks to Roger), with this you can download the program to target board by USB without any other equipment, as a bonus you get a USB-Serial interface for your application.
Where can I get the stm32duino bootloader made by Roger? Is there any instructions on how to “burn” it onto new stm32f103xxx chips?

P.S. Do I need to officially “close” or “end” a forum after I’m satisfied with what I’ve got or do I just leave it without doing anything?

thanks

Fri Oct 07, 2016 2:48 am

Bootloader is in

https://github.com/rogerclarkmelbourne/ … er/STM32F1

I suspect you just want to flash a precompiled binary (if you have a board for which we already compiled a binary) – see

https://github.com/rogerclarkmelbourne/ … 1/binaries

You need a USB to Serial converter or STLInk or similar hardware programmer to put the bootloader onto a blank board,

Or just buy a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog board, as they come pre-flashed with the old version of the bootloader (which sill works fine – though you can update via the “updated sketch”)

Re: Closing the thread

No need.

Yours isn’t a specific problem or bug, so there is no need to change the title to add – Resolved

BTW. Please read the FAQ in the Welcome section, I suspect it will answer a lot of questions

Re:mbed

Its really not a lot different from the Arduino system. Its just different. Its not low level programming, its just a different high level API, and it uses an online compiler etc.

Tue Oct 11, 2016 10:11 am

Well, finally got my 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 boards.
The Mini is a simplified version of the original Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog (according to its descriptions)
I checked and all the pinouts and microprocessors are the same.
The big 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 board looks somewhat authentic.

P.S. I think the “breadboard friendly” development boards are not actually quite breadboard friendly.
Although that their pins can be plugged onto a breadboard, but it’s actually quite hard to plug it in/
pull it. The more pins the dev board have, the harder this is.

When I’m trying to unplug the Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog , I can see that the PCB is already bending in the middle.

Post a reply

Optional · up to 10 MiB