|Cosmic STM8 Cross Development Tools
Cosmic's toolchain for the STM8 family is part of a complete and uniform
product line incorporating over 20 years of innovative design and development.
All Cosmic products include one year of technical support and updates.
Integrated Development Environment
All Cosmic C Cross Compilers for Windows include IDEA - Cosmic's own integrated development environment which is preconfigured for the STM8 family of processors.
IDEA is designed specifically for developing embedded applications with Cosmic compilers. IDEA integrates an editor, project manager, graphical smart build/make facility, program analyzer, link file generator, documentation manager and ZAP debugger into one easy to use environment running under Windows 7, XP and compatible.
Click here for more information about IDEA.
Third Party IDE Integration
CXSTM8 is also fully integrated in ST's STVD7 IDE and debugger.
The C Compiler package includes: an integrated development environment with optimizing ANSI-C cross compiler, macro assembler, linker, librarian, hex file generator, object format converters, debugging support utilities, run-time library source code, and a multi-pass compiler command driver. The compiler also supports non-intrusive C source-level debugging with Cosmic's line of ZAP debuggers.
Click here for general information on Cosmic Compilers.
STM8 Specific features include:
- STM8 and STLUX Cores
The Cosmic STM8 compiler generates highly efficient code for STM8 and STLUX families of microcontrollers including the STM8AF,
- ANSI and ISO C Compiler
The Cosmic STM8 compiler follows ANSI and ISO rules and conventions. All code and libraries are optimized specifically for the STM8 processor core. All STM8 derivatives and sub-families are supported. Including STM8AF, STM8AL, STM8L, STM8S and STM8T
- Reentrant and Recursive
With all programming models all code is fully reentrant and recursive using standard ANSI stack frame conventions.
- Memory Models
CXSTM8 supports 4 programming model options to fine tune code optimizations to your application and memory requirements.
- C Support for Zero Page
Compiler source extensions provide efficient use of the STM8 short addressing mode and single byte pointers.
- BIT Variables
In addition to Standard ANSI C bit fields, CXSTM8 supports single bit variables using the _Bool keyword providing an easy and efficient bit packing mechanism for true/false flags.
- In-line Assembly
The compiler provides three convenient methods for adding assembly code inside a C program. Includes an argument passing mechanism.
- Absolute Listings
Optionally produce relocatable and/or absolute C interspersed with the corresponding Assembly listings.
- IEEE-754 Floating Point
Supports IEEE single floating point formats with full ANSI libraries (Source code included).
- Moveable Code Feature
Moveable code feature is designed to make RAM based code like boot loaders and programmers easy to create and maintain. The Linker automatically creates a segment in ROM to store moveable code. Then at run time, use the supplied library function to relocate and copy the moveable code into RAM for execution.
- Check Sum Feature
Easy to use check sum facility and library (Source included) allow users to quickly implement an efficient check sum on any or all sections. Check sum calculation and insertion is transparently managed by the linker.
- Mixed C and Assembly
Cosmic tools support mixed C and Assembly applications. Including Assembler support for C #defines and #includes so C and assembly language modules may share common constants and macros.
- Host Independent Formats
The Cosmic relocatable and absolute object formats are host independent. This allows user's on PC, SUN and HP to share objects for linking and debugging.
- IEEE-695 and ELF/DWARF Debug Support
The Cosmic compiler suite supports the IEEE and ELF DWARF standard debug formats used by many popular emulators and logic analyzers.
- In-Circuit Emulator Compatibility
CXSTM8 is compatible with all existing emulators.
- Flexible Compiler Interface
Cosmic compilers are designed to be powerful and flexible so they can be used with virtually any environment. Use Cosmic's own IDEA interface or use your favorite editor, make utility and/or source code control system - It's Your Choice!!
CMX-TINY+ Real-Time Multi-Tasking Operating System is available for CXSTM8. (more)
- Segger embOS
Segger's embOS Real Time Operating System will be available soon for CXSTM8 (more).
- MISRA Checker compatible
IDEA STM8 and CXSTM8 integrate seamlessly with Cosmic's MISRA checker to aid in the production of well structured and portable C language code using guidelines prescribed by the Motor Industry Software Reliability Association.
See Cosmic MISRA Checker for more information.
ZAP is a full featured source-level debugger available for Windows. ZAP's intuitive graphical interface is uniform for all targets and execution environments. ZAP is available in simulation and ST-LINK SWIM versions for the STM8.
- ZAP simulation uses a cycle accurate CPU simulation engine including pipeline stalls.
ZAP Debugge for ST-LINK/V2 SWIM interface
- FLASH Programming
- Real-time debugging and execution control
- Hardware Breakpoints
- Single stepping
- Automated debugging with scripts
- USB 2.0