Follow Us

From Trained Model to Running Hardware: Introducing ECS-Studio

 Ahmed Zaki, Software Engineering Manager

An ultra-low-power AI chip can open up entirely new product categories, but only if engineering teams can put it to work quickly. Too often, the first weeks with a new processor are spent not on the product but on the plumbing: tracking down the right compiler, building an SDK, configuring a debugger and wiring up programming scripts. Then comes the hardest part – taking a neural network trained on a workstation and making it run on a device with a tiny fraction of a workstation’s memory. Every one of those steps is a delay.

That’s why we built ECS-Studio, an integrated development environment (IDE) purpose-built for our ECS-DoT AI system-on-chip (SoC). It brings the entire edge AI workflow – from importing a trained model, to generating the code that runs it, to building, flashing and debugging on real hardware – into a single workspace that runs on Windows, macOS and Linux, with no manual toolchain setup and no command-line work required.

The AI Pipeline: Model In, Library Out

From trained model to running inference. At the heart of ECS-Studio is the ECS-Compiler. Developers import a model trained in a common framework such as TensorFlow Lite, PyTorch or ONNX, optionally add a calibration dataset, and press Start. The pipeline then takes the model through every step needed to run it on ECS-DoT: data preparation, 8-bit quantization, conversion to an optimized intermediate representation, and generation of the C code that executes the network on the chip. The calibration method used for quantization can be selected (min-max, entropy, percentile or automatic) to keep accuracy as close as possible to the original model. Models that are already quantized, for example through quantization-aware training, skip that step.

Know before you flash. Before any code is generated, a pre-check examines the model layer by layer and shows exactly where each operation will run – on one of ECS-DoT’s on-chip AI accelerators, or on its RISC-V processor core – and flags anything that isn’t supported yet. Operations that the accelerators don’t handle can run on the processor core within the same firmware image and a recipe-book will be provided to build models that will have maximum operator coverage on the accelerators. The pipeline also estimates how much on-chip memory the model will need and compares it with what the device provides, so developers know immediately whether a model fits, rather than discovering it at link time.

Why check before you build? Too often, engineers find out that a model won’t fit in memory, or won’t map onto the hardware, only after a failed build. ECS-Studio shows where every layer will run and how much memory the model needs before a single line of code is generated.


A ready-to-use AI library.
The final step packages the model as a self-contained library and copies it straight into the developer’s project. What lands in the project is deliberately simple: a compiled library, a public header with a single inference call, an example application and a latency benchmark harness for measuring inference time on the board. The model is then built, flashed and run with the same one-click tools as the rest of the application. A results view summarizes every stage, and the full report can be exported to share with the team.

Ready to Build from First Launch

Install once, start building, on any desktop. ECS-Studio is fully supported on Windows, macOS and Linux, with a native installer for each, and every feature described here works the same on all three. On first launch, its built-in Toolchain Manager downloads and installs everything ECS-DoT needs – the RISC-V compiler, the EMASS SDK, the debug server and the build system – showing live progress as it goes. It also checks for updates, verifies every download before installing it and can repair an installation with one click, so every engineer on a team works with the same, correct set of tools.

A project that is right from the start. Creating a new project generates a ready-to-build application, pre-configured for the selected ECS-DoT board – from development and evaluation boards to the ECS-DoT Development Kit (DVK). Code completion and navigation are configured automatically, so the editor understands the SDK from the first build.

Sensors, ready to plug in. Context-aware edge intelligence depends on sensors, and the IDE’s Sensor Library Manager makes adding them simple. Developers browse a catalog of driver libraries and install them into a project with a click. The initial catalog spans motion, environmental, vision and audio sensing – an inertial measurement unit (IMU), a barometric pressure and temperature sensor, a camera module and a digital MEMS microphone – with drivers that go beyond basic register access, such as attitude estimation for the IMU and triggered audio capture for the microphone.

Build, Flash and Debug on Real Silicon

One-click build, upload and debug. A toolbar in the editor puts the workflow one click away: Build, Upload, Monitor, Upload & Monitor, Clean and Debug. The IDE detects the board’s USB serial connection automatically. Full hardware debugging – breakpoints, stepping, variables, watch expressions, call stack, memory and peripheral registers – runs on real ECS-DoT silicon through a standard JTAG connection, or through the programmer built into the EVB. A serial monitor and a live serial plotter show what the device is doing as it runs, so engineers can watch sensor readings and inference results while tuning thresholds and wake-up logic.

Faster from Idea to Market

Taken together, these capabilities remove the setup, model-conversion and integration work that usually stands between a trained model and a working prototype. Fewer tools to install, fewer manual steps and fewer surprises when code meets hardware mean development teams can spend their time on what differentiates their product. And because the same environment carries through from first prototype to production firmware, the early work isn’t thrown away.

ECS-DoT makes always-on, context-aware intelligence possible at milliwatt scale. ECS-Studio makes it practical, giving engineering teams a direct path from trained model to running hardware.