|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:
- 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.
- 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!!
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 version for the stm8; simulation is cycle accurate, including pipeline stalls.