Author Topic: STM32 where to start?  (Read 7324 times)

0 Members and 3 Guests are viewing this topic.

Offline bikeNomad

  • Contributor
  • Posts: 31
  • Country: us
Re: STM32 where to start?
« Reply #25 on: September 24, 2020, 02:08:40 pm »
I looked at mbed five years ago , was there not a big catch that you needed some special bootloader or something?
Most boards supported by mbed have a debug chip on them that connects to the SWD and UART pins of the target microcontroller and provides drag-and-drop programming (it appears as a storage device), serial interface (USB CDC device) and the debug interface.

Because of this there is no bootloader required.

You can use most of the mbed-enabled boards as a debugger. For instance, the STM32 Nucleo boards allow you to connect to an external target device for programming and debugging.

But the mbed library itself does not require the debug chip, and there is support for several boards that don't have one.

Many people use an mbed-enabled board as a debug interface to their own boards. We've done this on a number of projects.

You could use another debug interface with mbed (I've also used the SEGGER J-Link for this).
I'm an autodidact who believes in Sturgeon's Law and wants to continue contributing to the creation and improvement of the other 10% of everything.
 
The following users thanked this post: Kjelt

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6516
  • Country: nl
Re: STM32 where to start?
« Reply #26 on: September 24, 2020, 03:55:04 pm »
Ok then in the meantime this is solved, can't remember why I walked away back then.
 

Online PlainName

  • Super Contributor
  • ***
  • Posts: 7048
  • Country: va
Re: STM32 where to start?
« Reply #27 on: September 24, 2020, 06:00:30 pm »
The reason I looked at it and ran away was because it was online only at that time. They may have seen the light since, but they lost this potential user right there.
 

Offline bikeNomad

  • Contributor
  • Posts: 31
  • Country: us
Re: STM32 where to start?
« Reply #28 on: September 25, 2020, 11:11:49 am »
There are now at least three alternatives to the mbed online compiler:
  • The command-line interface. This is a set of Python scripts that create and manage projects, run compilers, flash binaries, etc.
    This also knows how to export to a number of IDEs for ease of debugging and editing (I've often used their exporter to set up Eclipse embedded CDT projects (https://projects.eclipse.org/projects/iot.embed-cdt):
    cces,            cmake_gcc_arm,   codeblocks,      e2studio,
    eclipse_armc5,   eclipse_gcc_arm, eclipse_iar,     embitz,
    gcc_arm,         gnuarmeclipse,   iar,             make_armc5,
    make_armc6,      make_gcc_arm,    make_iar,        mcuxpresso,
    netbeans,        qtcreator,       sw4stm32,        uvision,
    uvision5,        uvision6,        vscode_armc5,    vscode_gcc_arm,
    vscode_iar
  • Mbed Studio, their new all-in one IDE https://os.mbed.com/studio
  • PlatformIO, a build/debug system that works with many editors and supports mbed as well as a number of other libraries including STMicro's: https://docs.platformio.org/en/latest/frameworks/mbed.html
I'm an autodidact who believes in Sturgeon's Law and wants to continue contributing to the creation and improvement of the other 10% of everything.
 

Offline typematrix

  • Contributor
  • Posts: 24
  • Country: ie
    • Github
Re: STM32 where to start?
« Reply #29 on: October 04, 2020, 12:35:02 pm »
I am in the same boat,  just getting started with STM32( I have  a lot of experience with other platforms).

Not sure where to start, I purchased  two of those nucleo-32 & nucleo-64  boards.

Is there a good guide or video or blogpost explaining all the different IDE, language  and toolchain options ?

Seems to be quite a bit of choice.
 

Offline Karel

  • Super Contributor
  • ***
  • Posts: 2246
  • Country: 00
Re: STM32 where to start?
« Reply #30 on: October 04, 2020, 01:44:06 pm »
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 2031
  • Country: au
Re: STM32 where to start?
« Reply #31 on: October 05, 2020, 04:45:56 am »
Mastering STM32 by Carmine Noviello is pretty good.
 
The following users thanked this post: AlfBaz


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf