Search This Blog

Monday, July 30, 2018

8-bit - STM8 Development environment

Projects / Misc 8-bit uC projects  

I am going trying out one of the tool chain for the STM8.

Compiler: free STM8 version of Cosmic C compiler. Require registration to get 1 year renewable license
ST's IDE: STDV-STM8
Stand alone software for Programming: STVP-STM8  Not needed if you are using an IDE.

Here is my 5 cents tour.

STDV has support for Cosmic C compiler and hardware debugging using STLink V2. Set up instruction from STM8 software for test the configuration

The usual project related compiler/assembler/linker settings.


The editor is a no frill text editor. MDI editing is also available if you want to be able to see multiple files at the same time. I do not like IDE that forces the dragged tab only down my throat.  +1 for this.


There are the usual source code level hardware debugger features that is expected on a modern day IDE. The keyword being Integrated and does not require to have printf() sprinkled all over the code.


If you want to go lower level...


It is nice to be able to look at and modify the peripheral registers.


There are also more advanced break point setting. (There are close to a dozen) Hopefully, those out of range break point options can help you catch null pointer, index out of range or stack issues.


ST has thrown together a usable development suite that cost me $0. The hardware side is less than a lunch combo if you know where to look.

A comparison of C compilers targeting the STM8: http://www.colecovision.eu/stm8/compilers.shtml Be sure to read about this: STM8C header file and peripheral library

A util I found on a Chinese forum after some googling: mapinfo - memory usage util

I found a couple of Cosmic C compiler bugs!
STM8 header file and peripheral library

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.