AXON Studio: MCAL Configurator
Configure Telechips MCAL drivers in Visual Studio Code.
MCAL Configurator is a plug-in for AXON Studio that edits, validates, and generates Telechips MCAL (Microcontroller Abstraction Layer) driver configuration. It reads and writes AUTOSAR ECUC (.arxml) configuration for modules such as Mcu, Adc, Can, Dio, Gpt, Pwm, Spi, and more — using each module's BSWMD as the form schema — and generates the corresponding C configuration code.
For Telechips customers. This extension works against a Telechips MCAL SDK layout and requires authorized access to the corresponding SDK.
Requirements
- Visual Studio Code 1.85 or newer
- AXON Studio (the platform extension) — MCAL Configurator contributes its view into the shared AXON Studio sidebar.
- A remote build host via Remote-SSH or WSL. The extension runs on the machine where the SDK lives (a Linux build server or WSL).
- A Telechips MCAL SDK in the workspace (BSWMD, generators, and ECUC configuration).
Features
- BSWMD-driven form editor — open any MCAL module and edit its ECUC parameters in a form generated from the module's BSWMD schema (containers, parameters, references, multi-instance tables with search, filter, and sort).
- Validation — schema checks plus domain rules (for example,
CanControllerId must be zero-based, consecutive, and unique). Issues appear in a Validation panel; click one to jump to the offending field.
- Save with a safety net — saving writes the ECUC
.arxml only. A change that would introduce a new validation error is blocked, and Discard changes reverts to the values in the saved file.
- C code generation — generate the MCAL C configuration for a module. Native generators run on Linux/WSL; a DaVinci Configurator (DVCfgCmd) fallback is used on Windows.
- Workspace auto-detection — detects common SDK layouts (BSWMD roots, generator JARs, ECUC folders) without manual configuration.
- DaVinci project scaffolding — create a DaVinci Configurator project (
.dpa) that opens directly in the DaVinci GUI.
Getting Started
- Install AXON Studio (the platform), then this extension.
- Connect to your Linux build server with Remote-SSH (or open a WSL folder) that contains a Telechips MCAL SDK.
- Open the AXON Studio view in the sidebar and find MCAL Configurator.
- Expand a chip → module, then either:
- open the form to edit ECUC parameters, or
- run Generate MCAL Module to produce the C configuration.
- After editing values in the form, click Save ECUC (.arxml), then run Generate MCAL Module to update the C code. (The form edits the
.arxml; the C code is regenerated separately.)
Extension Settings
Settings live under axon-studio-mcal.*. Most are detected automatically; the common ones are:
axon-studio-mcal.bswmdRoot — workspace-relative root of BSWMD ARXML files
axon-studio-mcal.ecucSearchDirs — templates for locating ECUC config directories when the SDK layout differs from the default
axon-studio-mcal.genConfigDirTemplate — output directory template for generated C files
axon-studio-mcal.nativeOnly — use only native (JAR-free) generators
axon-studio-mcal.dvcfgCmdPath, axon-studio-mcal.sipId, axon-studio-mcal.sipInstallPath — DaVinci Configurator integration (Windows)
Support
For questions or issues, contact your Telechips representative.
About Telechips
Telechips is an automotive semiconductor fabless company connecting people, technology, and the world — delivering infotainment, ADAS, networking, and AI chips for future mobility. Learn more at telechips.com.
© Telechips Inc. All rights reserved.