After that we will need to install Cosmic C compiler. Installation procedure is simple and same as typical software installation. So just fill in some basic info about you.įirstly, we will need to install STVD. For Cosmic you will also need to acquire a free license for it work. You need to register in order to download both software. It may take a few minutes or even a day but still the best part is getting a full version compiler for nothing. You will need to wait for some guy at Cosmic end to respond to your license request. Usually this procedure of acquiring license and registration is maintained automatically by the software company’s server but with Cosmic it is different story. However, to use it you will need to register and acquire a license key via email. We will need STVP to upload codes to target STM8 micros.Ĭosmic used to be a paid tool just like your PC’s antivirus software but at the time of writing this article, the Cosmic team has made it absolutely free for STM8 family. STVD also packs with a programmer software tool called ST Visual Programmer (STVP). Both are free but a rather difficult to use at first. The best stuffs you can get your hands on at zero costs are ST Visual Develop (STVD) IDE and Cosmic C compiler. We will need an Integrated Development Environment (IDE) and a C-language toolchain. All that we will ever need is the clear concept of each hardware block, their working principles, their capabilities and limitations. We will never need to access registers for any reason as everything is done under the hood of SPL. With SPL, it becomes totally unnecessary to program each peripheral register with meaningless numbers and maintain coding sequence. Apart from these reasons, I chose C language for the fact that STMicroelectronics has provided a Standard Peripheral Library (SPL) that is very easy to use. I don’t want to spend time coding complex stuffs in assembly or other languages. Just like any other software developer, my choice of language for software development is C language.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |