element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STMicroelectronics
  • Products
  • Manufacturers
  • STMicroelectronics
  • More
  • Cancel
STMicroelectronics
Forum STM32 development, what to use? Noob
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STMicroelectronics to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 5 replies
  • Subscribers 12 subscribers
  • Views 1360 views
  • Users 0 members are here
  • frontpage
  • stm32_f0
Related

STM32 development, what to use? Noob

camuyano
camuyano over 9 years ago

I want to start using some STM32 chips, but I do not know where to start.

Specifically I want to work with STM32F0 chips I will be using a cheap development board  STM32F030F4P6STM32F030F4P6 Arm Cortex-M0

I would like to code in Windows, Linux and Mac.

I want to use this chip because it is less than $2 and seems to work with very little support components and have USB support.

 

To simplify please comment on these question.

 

What FREE tools are available to code for STM32F0 boards (any platform)?

What is the most common use tool for this devices?

 

I am totally new to this MCU, normally I use Arduino but I want to get my hands in other non Atmel chips. Just to get more experience and learn.

Any comment is welcome.

  • Sign in to reply
  • Cancel
Parents
  • camuyano
    0 camuyano over 9 years ago

    As a comment. I now have been playing with STM32F0 MCUs. After trying and trying to make them work on linux I decided to do all my development for now on Windows official tools. Windows compiler just works. On linux I have managed to compile and download code to the MCU, however the simple blink example has not make my led blink. No blinking on linux, easy blink on Windows.

    However for STM8 I did managed to make it compile and work correctly on linux. On the STM32 in linux, I am trying to use the UART bootloader, on STM8 I used the STLink programmer. That may be part of the problem, but I am not that sure. Didn't wanted to risk overriding factory UART boot loader, now that I have a second chip I might give it a shot.

    There seems to be a lot of information for STM32 but is hard to understand for a beginner.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • camuyano
    0 camuyano over 9 years ago

    As a comment. I now have been playing with STM32F0 MCUs. After trying and trying to make them work on linux I decided to do all my development for now on Windows official tools. Windows compiler just works. On linux I have managed to compile and download code to the MCU, however the simple blink example has not make my led blink. No blinking on linux, easy blink on Windows.

    However for STM8 I did managed to make it compile and work correctly on linux. On the STM32 in linux, I am trying to use the UART bootloader, on STM8 I used the STLink programmer. That may be part of the problem, but I am not that sure. Didn't wanted to risk overriding factory UART boot loader, now that I have a second chip I might give it a shot.

    There seems to be a lot of information for STM32 but is hard to understand for a beginner.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • michaelkellett
    0 michaelkellett over 9 years ago in reply to camuyano

    If you are on Windows the ST CubeMX software package will get you up and running with about the least possible pain although it is not the most efficient (in terms of code size) way of working. The clock support is quite good but you will need to read the reference manual for the chip quite carefully since the MX tool provides you with a very complicated interactive clock tree diagram - great when you know and understand the chip quite well but a bit daunting at the first look.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • camuyano
    0 camuyano over 9 years ago in reply to michaelkellett

    I used the CubeMX to create the project for Keil to make a simple blink. It was useful in terms that I only clicked on the mode for the pin mode and just pasted some extra code on the main for the blink to take place. And yes, it took a lot of time to build a simple blink project. Yes it produces a lot of code, a lot. Until I learn to use another thing this will be my tool.

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube