CodeMeter Embedded

Share:

Software Protection and Licensing for Embedded Systems

CodeMeter Embedded is a specialized library that integrates CodeMeter’s proven protection and licensing functions directly into embedded systems. Available as a static or dynamic library, it provides comprehensive cryptographic and licensing functions through CodeMeter API for embedded operating systems such as Linux, VxWorks, or QNX. It can also be used under Windows or macOS.

The source code variant can be used bare-metal on microcontrollers or together with a real-time operating system (RTOS).

A Library for Resource-Constrained Environments

While standard solutions often require substantial resources for network and management functions, these requirements are difficult to meet in embedded systems with strict memory and performance limitations.

The solution is a compact library for direct integration into the software to be protected and licensed. CodeMeter API and the license format remain compatible with CodeMeter Runtime. By eliminating the need for a separate runtime service, this model provides full license control and cryptographic security without burdening the limited hardware environment.

Developers can work with CodeMeter SDK on their desktop system, create and test licenses, and then deploy them to embedded devices without any changes. Tools such as CodeMeter License Editor, CmBoxPgm for command-line programming, and CodeMeter License Central are available for license creation.

Modular Architecture and Flexibility

Internally, CodeMeter Embedded consists of several functional modules, with the core module always included. Depending on the requirements, modules that are not needed can be enabled or disabled during the build process:

  • CmDongle module: Standard module for hardware-based licenses via USB dongles, microSD, SD, CF, and CFast cards, as well as ASICs via SPI or USB
  • CmActLicense module: Software-based licenses with individual binding to device properties
  • CmLAN module: Network access to licenses from a CodeMeter License Server
  • Concurrent License Cache: Secure coordination of multiple CmEmbedded instances via shared memory
  • Runtime Bridge: Tunneling of container access to CodeMeter Runtime for development environments

For resource-constrained environments, customized versions can be created that include only the required modules. This significantly reduces library size and resource consumption. This is particularly useful for microcontroller deployments, where limiting resource usage is essential.

The Components of CodeMeter Embedded

The modular nature of CodeMeter Embedded can be illustrated as follows:

Supported License Containers and Deployment Options

CodeMeter Embedded supports the full range of CodeMeter license containers. CmDongles provide hardware-based licensing via USB or SD card form factors, with licenses securely stored in the smart card chip embedded in the container. CodeMeter ASIC (the on-board dongle solution) can be connected via USB or SPI. CmActLicenses enable software-based licensing bound to the specific characteristics of an embedded device. Both approaches can also be used in parallel, allowing manufacturers to combine hardware-secured and software-bound licensing within the same product environment.

CmActLicense binding is implemented via an adapter-based mechanism that uses selected hardware properties of the embedded device. Access to CodeMeter License Servers in local networks is handled through CmLAN. This also enables the use of CmCloud licenses that are made available through LAN server.

Key Use Cases

CodeMeter Embedded is the solution for manufacturers and software vendors using CodeMeter licensing and protection technology on IoT devices, industrial sensors, headless systems, and embedded systems – essentially, on almost any platform or in any environment built around a computer that is not a desktop system.

Possible use cases are endless: licensing in medical devices, IP protection in camera sensors, software protection in PLC programs, licensing of function modules in soft PLCs, and many more. The list of real-world deployments is extensive.

Licensing for VxWorks uses the same package, license containers, and APIs as licensing for an ARM-based microcontroller or an RTOS system.

Cryptography and Security

CodeMeter Embedded offers state-of-the-art encryption: AES-128/256 for symmetric encryption, ECC with 224-, 256-, 384-, and 521-bit keys, and RSA with key lengths of up to 4096 bits for asymmetric operations. Communication between the system and the CmDongle is encrypted by default. CodeMeter Embedded is continuously developed, ensuring that the required functions for post-quantum cryptography (PQC), will also be integrated into the code in the future.

Supported Platforms and Integration

CodeMeter Embedded supports a broad range of embedded platforms: Linux, VxWorks, QNX, Windows, and macOS. The library is available for both 32-bit and 64-bit architectures and supports different processor architectures. Integration is handled through standard build systems: Starting with version 3.0, CodeMeter Embedded uses CMake as its build system. The library is available as a static library and is integrated during linking. For individual adaptations, previously unsupported systems, and microcontroller deployments, CodeMeter Embedded is available as a source code package.

Technical Requirements

For standard systems based on 32- and 64-bit ARM or Intel architectures, we provide libraries for Linux, Windows, macOS, VxWorks, and QNX.

For microcontroller implementations running on bare metal or with an RTOS, CodeMeter Embedded requires 4 KB to 40 KB of RAM and less than 128 KB of flash memory, depending on functionality and use case. It is written in C comforming to the C99 standard. Licenses can be stored on CmASICs, accessed via SPI, held in CmActLicenses bound to the microcontroller, or provided over a LAN by a CodeMeter Server.

Differentiation from CodeMeter Runtime

While CodeMeter Runtime runs as a full service on Windows, macOS, and Linux desktop systems and provides comprehensive management, network, and UI functions such as CodeMeter WebAdmin, CodeMeter Embedded is a lean library without service components. The library is specifically optimized for embedded platforms and can be scaled down to the microcontroller level.

The API and license format of CodeMeter Embedded are compatible with the desktop version, so licenses created on the development system with CodeMeter Runtime can be used seamlessly on embedded devices with CodeMeter Embedded.

Comparison of CodeMeter variants

Function CodeMeter
Embedded
CodeMeter
Runtime
CodeMeter License Server as a Service / Daemon   Yes
CodeMeter WebAdmin   Yes
CodeMeter Control Center   Yes
CodeMeter Core API – Dynamic Libraries   Yes
CodeMeter Core API – Static Libraries SDK SDK
WUPI and HIP   SDK
Additional Tools (cmu, CmDust)   Yes
CmDongles Yes Yes
CmActLicenses Yes Yes
CmCloudContainers via CmLAN Yes
CmReady Yes Yes
LAN Client  Yes Yes
LAN Server   Yes
Demo and Trial Licenses, Subscription Licenses  Yes Yes
Pay-Per-Use Licenses  Yes Yes
Feature-based Licenses Yes Yes
Version-based Licenses Yes Yes
License Transfer Master   Yes
License Transfer Endpoint Yes Yes
File-Based License Update Yes Yes
Terminal Server Identification   Yes
Remote Desktop Identification   Yes
Secure Key Storage Yes Yes

Platforms and Operating Systems

Depending on the target platform, the library will range in size from 400 KB to 600 KB. For additional platforms like RTOS systems or special applications, CodeMeter Embedded can be provided in source code.

CodeMeter Embedded is available for the following platforms:

Name Operating System Architecture
License CodeMeter Embedded SDK Linux ARM Linux Kernel ≥ 2.4.10 with glibc ≥ 2.4 ARMv6, ARMv7, and ARMv8 Little Endian (ARMEL)
License CodeMeter Embedded SDK Linux x86 Linux Kernel ≥ 2.4.10 with glibc ≥ 2.4 x86 and x86-64
License CodeMeter Embedded SDK Linux MIPS Linux Kernel ≥ 2.4.10 with glibc ≥ 2.4 MIPS 32 Bit LE
License CodeMeter Embedded SDK Linux x64 musl Linux Kernel ≥ 2.4.10 with glibc ≥ 2.4 x86-64
License CodeMeter Embedded SDK Linux RISC V Linux Kernel ≥ 2.4.10 with glibc ≥ 2.4 RISC V
License CodeMeter Embedded SDK QNX ARM Up to CmE 3.12: QNX 6.5, 7.0 From CmE 3.20: QNX 7.0 ARMv7
License CodeMeter Embedded SDK QNX x86 Up to CmE 3.12: QNX 6.5, 7.0 From CmE 3.20: QNX 7.0 x86
License CodeMeter Embedded SDK VxWorks ARM Up to CmE 3.12: VxWorks 6.9, 7 From CmE 3.20: VxWorks 7 ARMv7
License CodeMeter Embedded SDK VxWorks PowerPC Up to CmE 3.12: VxWorks 6.9, 7 From CmE 3.20: VxWorks 7 PowerPC Big Endian (ARMEB)
License CodeMeter Embedded SDK VxWorks x86 Up to CmE 3.12: VxWorks 6.9, 7 From CmE 3.20: VxWorks 7 x86 and x86-64
License CodeMeter Embedded SDK Windows x86 Windows ≥ 10 x86 and x86-64
License CodeMeter Embedded SDK Windows ARM Windows ≥ 10 ARMv8
License CodeMeter Embedded SDK macOS macOS ≥ Ventura 13 Apple Silicon X86-64
License CodeMeter Embedded SDK Android ARM Android Version 5 - 11 ARMv7 and v8
License CodeMeter Embedded SDK Source Code Any  
License CodeMeter Embedded SDK Source Code for Microcontrollers Bare Metal  

Frequently Asked Questions

CodeMeter Runtime runs as a full service with UI and network functions on desktop systems, while CodeMeter Embedded is a lean library without service components. It is integrated directly into the application and is ideally suited for embedded platforms, including microcontrollers.

CodeMeter Embedded supports embedded Linux, VxWorks, QNX, Windows, macOS, and bare-metal environments on microcontrollers. It is available for 32-bit and 64-bit architectures and for different processor families.

You can use CmDongle for hardware-based licenses (USB dongles, SD cards, ASICs), CmActLicense for software-based device binding, or CmLAN for network access to a CodeMeter License Server. These options can also be used in parallel.

It supports AES-128/256 for symmetric encryption, ECC with 224- to 521-bit keys, and RSA up to 4096 bits for asymmetric operations. Communication with CmDongles is encrypted by default, and post-quantum cryptography will be integrated in the future.

The library consists of modules such as CmDongle, CmActLicense, CmLAN, Concurrent License Cache, and Runtime Bridge. During the build process unnecessary modules can be disabled to minimize size and resource consumption. This is particularly useful for microcontrollers.

The static library is linked using standard build systems such as CMake. Source code is available for individual adaptations or bare-metal deployments.

Yes. The license format and API are fully compatible. Licenses created with CodeMeter Runtime on the desktop work seamlessly on embedded devices with CodeMeter Embedded.

CmActLicense binds licenses to individual device properties via an adapter implemented by the customer. This adapter detects hardware characteristics of the embedded device and enables secure, non-transferable activations.

You can use CodeMeter License Editor for graphical license creation, CmBoxPgm for command-line programming, or CodeMeter License Central for centralized license management. AxProtector NC uses CodeMeter Embedded internally for high-end protection.

CodeMeter µEmbedded is now part of CodeMeter Embedded

Since the release of CodeMeter Embedded 4.0 in April 2026, CodeMeter µEmbedded has been incorporated into CodeMeter Embedded, bringing our embedded licensing and protection solutions together in one package.

Originally designed for microcontrollers and FPGAs with limited resources, CodeMeter µEmbedded combined a small footprint with software protection and device-bound licensing, including the ability to activate additional features through license updates. These capabilities now form part of CodeMeter Embedded.

If you are using CodeMeter µEmbedded or planning a new project, please contact us for guidance on the appropriate version and integration options.

To top