Skip to main content
Visitor II
June 7, 2020
Question

Hello Guys, I am a newbie in ST. But before I use Microchip MCU lot and I programming usually in assembly language. The microchip IDE is very good and stable than STVD. And also many examples given to learn easily.I found very difficult in ST.

  • June 7, 2020
  • 7 replies
  • 2210 views

So i get very frustating about ST a such big company. Why they not stable good IDE and example as like Microchip.I google lot but not to get write answer Kindly help me to learn ST MCU's in easy way as like my experience to learn Microchip.

Thanks and Regards

Munna kumar

    This topic has been closed for replies.

    7 replies

    Graduate II
    June 7, 2020

    Big companies want to deal with other big companies, not individuals.​

    S​eem to recall IAR having a professional platform, and I did all my 8-bit work without an IDE.

    To be honest most of the focus and investment is on the ARM side of things, and that might be a much more marketable set of skills.​

    Mkuma.12Author
    Visitor II
    June 7, 2020

    Thanks for reply. So guide me what should i do to learn. Since without any example i am unable to start. Kindly suggest me from where i should start.

    thanks and regards

    munna

    Graduate II
    June 7, 2020

    I'm a self learner / free climber, I'm probably the wrong guy to ask for guidance.

    In the situations without example I'd suggest you focus on learning the fundamentals, logical thinking and problem solving, and apply that to the manuals and documentation you do have.

    Mkuma.12Author
    Visitor II
    June 7, 2020

    ok i will do that.One last, any good book for learning.

    Visitor II
    June 11, 2020

    My personal impression (everything below is just the impression of an outsider) is that there are different factions within ST when it comes to STM8.

    One faction wants to migrate STM8 users to STM32, phase out the STM8.

    Another faction want to keep STM8 alive and develop it further to keep competing with other 8-bit vendors (and avoid STM8 users migrating to other 8-bit vendors).

    In recent years the results of this are:

    * ST no longer putting resources into the STVD IDE, in particular not updating it to support SDCC.

    * ST supporting SDCC development by providing evaluation boards.

    * ST having made a deal with Cosmic to provide their STM8 IDE and Compiler at no cost (similar top how SiLabs did with Keil).

    * ST developing new Arduino-compatible NUCLEO boards for STM8, then putting them on hold, considering to cancel them, then turn around again, in the end releasing them much later than planned originally.

    * ST releasing 3 8-pin STM8 devices, but no other new STM8 devices.

    * ST first releasing the 8-pin devices without a development board (but an ST employee on the forums provided schematics for a reference design they came up with), then later providing an evaluation board.

    Fortunately, in the end it seems, ST will keep selling the STM8 as long as there is demand.

    And there is an active developer community providing tools:

    * IAR and Cosmic keep updating their tools.

    * The free tools, such as SDCC, stm8flash, OpenOCD, Code::Blocks also work very well (see e.g. http://www.colecovision.eu/stm8/compilers.shtml).

    * Third-party evaluation boards are plenty (minimal boards for just a few EUR, full feature boards such as those by Waveshare, etc), at least for the STM8S. When ST had put their Arduino-compatible NUCLEO boards on hold, others came up with the sduino UNO and sduino MD 208 boards to fill the gap.

    A noticeable weakness in the STM8 ecosystem:

    * There is a lack of STM8A development boards, despite these "automotive" devices possibly being a good choice for E-bikes (I wonder if this contributed to the widespread use of STM8S instead of STM8A in e-bikes). The STM8A-Discovery is great (the STM8AF board from it is the STM8 board I use the most), but it is the only STM8A evaluation thing out there

    Mkuma.12Author
    Visitor II
    June 16, 2020

    Thanks for reply.I will go through your advice. And sorry for late reply.

    Visitor II
    November 16, 2020

    Yes., it is too hard to find st assembly examples.

    I am learning with examples and making own by own.

    First All, you should find REFERENCE MANUAL for which microcontroller or microprocessor programing you want.

    If you want, I can teach what i learned.

    Clock Control

    Ram-Rom

    Usart

    Gpio

    .

    .

    .

    (not ADC i am stil trying to do :grinning_face:)

    Explorer
    November 17, 2020

    I started like you and still learning.

    I started with CubeIDE and CubeMX.

    I heavily rely on CubeMX for initialization.

    But first you must have a board to start with to do some experiments...

    You could start with some nucleo that includes an ioc files in their examples like the newer nucleo like Nucleo-G474, that way you can study on how they setup the MCU using CubeMX...

    Visitor II
    November 30, 2020

    free vscode plug-in: Embedded IDE,you can use SDCC to dev stm8 on it, or you can use IAR-For-STM8 (it's not free)

    with all due respect, STVD is terrible !