cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am new to ST micro, and was wondering if any one can tell me what IDE I should be using to program the STM8 series, down loaded the cube, but there is no compiler there.

JHule.1
Associate II
 
16 REPLIES 16
Ozone
Lead II

https://www.st.com/en/development-tools/stm8-software-development-tools.html

Had been working with Raisonance several years ago.

The toolchain was o.k., but the licencing kind of annoying.

Thank You.
KLed1
Associate

I just started out and here's what I've found so far (I may be wrong too!)

The STM8CubeMX is just informational. It doesn't generate any code like the STM32CubeMX. Nothing the datasheet cannot give you already.

For the IDE there's two, one is the IAR Embedded Workbench but costs money. There's a free version that limited by the size. IAR costs over $3k otherwise.

The other is a ST tool call STVD or ST Visual Develop. It doesn't come with a compiler, so you have to download the Cosmic Compiler. That's a free download, although you have to register and download a license file. Then after you install the ST Visual Develop, you will notice that if you try to debug or program through it's built in interface, it will crash. If it does then you have to go to this page and download the updated addon. Once you do this it seems like a plain IDE with some basic functions. Good enough to start with.

https://community.st.com/s/question/0D50X00009XkWxBSAV/st-visual-developer-says-out-of-memory-and-crashes-when-trying-to-launch-the-programming-tool

Thank You
Philipp Krause
Senior II

The Code::Blocks IDE supports the free Small Device C Compiler (SDCC), which has an STM8 backend.

While on-target debugging in the SDCC-based toolchain is supported via gdb, I don't know how well integrated that is into the IDE.

Thanks.
Ozone
Lead II

The STM8 architecture seems ST proprietary, and AFAIK, the devices never got widespread support in the enthusiasts/hobbyist community.

Today, it seems mainly directed at commercial legacy users.

For hobbyist projects, I would stay away, and consider other MCUs.

STM32F0/L0 devices (Cortex M0) are not much more complex, and often even share peripherals with STM8 devices.

Thank You, that’s what I was thinking.

On the other hand, with SDCC there is a free compiler that by now is quite a bit better than the non-free alternatives (IAR, Raisonance, Cosmic).