Cosmic UK Cosmic US Cosmic Germany Cosmic Italia Cosmic France

Home / Products / STLUX & STNRG tools

Cosmic STLUX & STNRG Development Tools

Cosmic's toolchain for the STLUX & STNRG family is part of a complete and uniform product line incorporating over 20 years of innovative design and development.
The STLUX & STNRG solution is built around the widely used Cosmic STM8 compiler and includes a ZAP debugger especially designed for these families, including the possibility to program option bytes directly from the source code.

Integrated Development Environment

All Cosmic C Cross Compilers for Windows include IDEA - Cosmic's own integrated development environment which is preconfigured for the STLUX & STNRG 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 all Windows versions.
Click here for more information about IDEA.


The C Compiler package is based on the widely used Cosmic STM8 compiler.
STLUX & STNRG Specific features include:
  • Specific header files and support for ST Libraries
    All STLUX registers and peripherals are described into specific header files so that you can start programming without worrying about the details. Libraries and example applications provided by ST for these families are fully tested and supported.
  • Support for the SMED Configurator
    The code generated by the SMED state machine configurator is compiled transparently together with the user application.
  • Code Size optimizations
    Best in class Code Size optimizations for the STM8 specific core make sure you can fit all of your code into the available flash memory.
  • Option bytes support
    Possibility to specify the option bytes value directly in the source code.
ZAP Debugger

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 for STLUX and STNRG is available for the STLink hardware and supports all the existing devices.
STLUX & STNRG Specific features include:
  • Option bytes support
    ZAP recognizes, for each device, the option byte values if they are specified in the source code and programs them transparently at the same time as it does flash the application.

Contact Cosmic