Thankfully, COSMIC (who produce the C compiler for STM devices), have fully released their compiler without any restrictions for the STM8 devices, while the STM32 devices are still restricted to 32K programming space (this is plenty for most projects anyway). This free software is an intellectual property of COSMIC Software. However, there is a downside to ST devices they do not come in hobby-friendly packages, and many compilers/IDEs require purchased licenses. Download COSMIC STM8 32K C Compiler 4.3.13 from our website for free. This is where the STM8 series of microcontrollers comes in, being very cheap, powerful, and fast!
PIC controllers are typically cheaper than AVR devices, but sacrifice on power and throughput, while AVR devices may be more difficult to program on the go. However, simple prototypes may eventually turn into a commercial product, and when this happens, every penny counts. PIC devices are great thanks to the continual production and support by Microchip while AVR devices contain a very powerful CPU (arguably more of a CISC than a RISC). When choosing a microcontroller for a project or product, it is essential that you pick the right one.
In these series of articles we will look at how to use STM8S microcontrollers including the use of the IDE and internal peripherals. PIC and AVR controllers are great for small projects, and even some products, but are not necessarily the best commercial choice for mass production.