AURIX AI Agent is a firmware development assistant powered by GitHub Copilot and the Model Context Protocol (MCP) in VS Code. Describe the behavior you need, and it uses Infineon AURIX documentation, iLLD drivers, and code examples to create or modify firmware, build it with GCC, and flash it to your board.
Built entirely on free tools: the GCC compiler, AURIX Flasher, and the public iLLD driver library and code examples.
English | 简体中文
You need: VS Code + GitHub Copilot · an AURIX IDE installed (AURIX Development Studio or AURIX Configuration Studio) · your board plugged in over USB.
-
Install the
aurix-ai-agent-extensionVSIX. -
Open AURIX AI in the sidebar.
-
Select your Target Device, set the IDE Path, and click Generate Copilot Config.
-
Open Copilot Chat in Agent mode.
-
Open Configure Tools and make sure
aurix-mcp-serveris checked. -
Type one sentence:
"Create a TC375 blinky and flash it."
That's it. The agent creates an empty project for your target device, generates the required code, builds it with GCC, and flashes it to your board with AURIX Flasher — and the LED starts blinking. 💡
your prompt ➜ 🧠 generate ➜ 🔨 build ➜ ⚡ flash ➜ 💡 blink
Prefer a guided setup? Open the AURIX AI Configurator in the sidebar, fill in your device + IDE path, and click Generate Copilot Config — it writes .github/copilot-instructions.md and registers the AURIX MCP server. In Copilot Chat, open Configure Tools and enable aurix-mcp-server.
BUTTON1 toggles LED1 with software debounce; LED2 blinks as a 1 Hz heartbeat from an STM timer interrupt. The agent detects the board revision from the connected kit, takes every pin and active level from the board user's manual and cites the page in the code, then builds and flashes on the first try. No questions asked.
| Task | Model | Time | ||
|---|---|---|---|---|
| Button-toggled LED with debounce + STM-interrupt heartbeat, pins cited from the board manual, build and flash | GPT-6 Luna (medium) · ~2.9 credits | ~6 min | ▶ Watch |
Prompt
On the TC375 lite Kit (KIT_A2G_TC375_LITE), create a small button/LED application from this empty workspace:
1. LED1 is off after reset. Each press of the on-board user button BUTTON1 toggles LED1 (press once: on, press again: off), exactly one toggle per press, with software debounce of about 20 ms.
2. LED2 blinks as a heartbeat: 500 ms on, 500 ms off, driven by an STM timer interrupt (not a busy-wait loop).
3. Take the LED and button pins and their active levels from the board documentation, and cite the document and page number in a code comment for each pin.
4. Build and flash the firmware to the connected board.
Finally, report: which files you created or changed, the source (document and page, or official example) for every pin and active level, and the build and flash results.
A serial console over the board's USB port: it prints the chip and iLLD version on reset, a status line every second, and takes led on, led off and status commands. The agent starts from the official UART shell example, takes the LED and button pins from the board guide (with page reference), and builds and flashes on the first try.
| Task | Model | Time | ||
|---|---|---|---|---|
| USB UART console with periodic status, debounced button counter and LED commands, pin sources reported, build and flash | GPT-6 Luna (medium) · ~3.3 credits | ~7 min | ▶ Watch |
Prompt
On the TC4D7 lite Kit (KIT_A3G_TC4D7_LITE), create a UART console from this empty workspace:
1. USB virtual COM port, 115200 baud. On reset, print the device name and iLLD version.
2. Every second, print uptime, LED1 state and the debounced BUTTON1 press count.
3. Commands: "led on" / "led off" switch LED1, "status" prints the status line, anything else replies "unknown command".
4. Build and flash, then report the changed files, the source of each pin, and the build and flash results.
The potentiometer works as a control knob and BUTTON1 switches what it controls: LED1 brightness or the LED2 blink rate. Turning it all the way up triggers an alarm on both LEDs. The mode and knob position are printed over the USB serial port. The agent builds on the official UART VCOM example, traces the knob through the board pin map to EVADC group 0 channel 0, drives LED1 brightness with GTM hardware PWM instead of a software loop, and builds and flashes on the first try.
| Task | Model | Time | ||
|---|---|---|---|---|
| Two-mode potentiometer knob: LED1 PWM brightness or LED2 blink rate, alarm above 95 %, USB serial status, pin and ADC sources reported, build and flash | GPT-6 Luna · ~5.8 credits | ~9 min | ▶ Watch |
Prompt
On the TC375 lite Kit (KIT_A2G_TC375_LITE), from this empty workspace:
1. The on-board potentiometer is a control knob with two modes, switched by BUTTON1:
- Mode 1: the knob sets LED1 brightness (off to fully on).
- Mode 2: the knob sets the LED2 blink rate from 1 to 10 Hz.
2. When the knob is at its maximum (above 95 %), both LEDs blink fast as an alarm, in either mode.
3. Over the USB virtual COM port at 115200 baud, print the mode on every change and the knob position in percent every 500 ms.
4. Build and flash, then report the changed files, the source of each pin and ADC channel, and the build and flash results.
A robot emergency-stop bus on one board: two MCMCAN nodes in internal loopback act as controller and joint, and BUTTON1 sends a high-priority E-STOP frame. Then the AI debugs the running board itself: it sets breakpoints, steps through the CAN receive handler and reads live variables and error counters to prove every frame arrives intact. It asks the user to press BUTTON1 and confirms the E-STOP breakpoint hits and the joint switches to STOP.
| Task | Model | Time | ||
|---|---|---|---|---|
| CAN FD E-STOP over MCMCAN internal loopback, AI debugging on the running board with breakpoints and live variables, build and flash | GPT-6 Luna · ~20.8 credits | ~22 min | ▶ Watch |
Prompt
On the TC375 lite Kit (KIT_A2G_TC375_LITE), from this empty workspace, build a robot emergency-stop demo over CAN FD using MCMCAN internal loopback (no external wiring):
1. CAN node 0 is the controller. Every 10 ms it sends the potentiometer position (0-100 %) as the joint target. When BUTTON1 is pressed, it sends a high-priority E-STOP frame.
2. CAN node 1 is the joint. It sets LED1 brightness from the received target. On E-STOP it switches LED1 off and blinks LED2 fast until BUTTON1 is pressed again.
3. Over the USB virtual COM port at 115200 baud, print the target, the TX and RX frame counts and the joint state every 500 ms.
4. Build and flash. Then verify with the debugger, not just by build success: confirm the received target matches the sent one, the frame counts increase and the CAN error counters stay at zero. Set a breakpoint where E-STOP is received, ask me to press BUTTON1, and confirm it is hit and the joint state changes to STOP. If anything disagrees, find the cause, fix it, rebuild, reflash and verify again.
5. Report the changed files, the source of each pin, a table of each check with expected and measured values, and every fix made during the debug loop.
AI-generated pose detection on a PC webcam, streamed over Ethernet to a TC375 driving an SPI TFT touchscreen — real-time display and a mini game, all coded by the agent.
| Time | |||
|---|---|---|---|
| Real-time pose game on TC375 | ~60 s | ▶ Watch |
Copilot calls these AURIX MCP tools automatically when relevant:
| Tool | What it does |
|---|---|
ads_create_project |
Create an iLLD project (Makefile + linker + startup) |
build_run |
Build with the free GCC compiler (finds it on PATH for you) |
flash_program |
Flash .elf / .hex to the board over USB with AURIX Flasher |
flash_list_devices |
List connected kits (AURIXFlasher -detect all): chip, board ID, board hardware version; used to fill in the board revision for board documentation |
examples_search · examples_import · examples_read_source |
Find, inspect, and import public iLLD code examples |
documentation_search |
Search bundled TC2xx/TC3xx/TC4Dx documentation with device-aware routing and physical PDF page citations |
documentation_read |
Read or continue cited source chunks when search evidence is truncated |
illd_provision |
Install / update the public iLLD driver library |
project_scan |
Look at the workspace structure |
Install the open-source AURIX TCF Debugger for VS Code to close the loop. Its built-in Debug MCP lets Copilot start a debug session on the connected board, set breakpoints, step through code, and read variables, core registers and peripheral registers — in the same session you see in the VS Code debug UI. When a check fails, the agent fixes the code, rebuilds, reflashes and checks again (see Demo 4). Peripheral-register writes always need your confirmation.
The agent ships with expert AURIX workflows. The open skill files live in skills/. Generate Copilot Config copies the selected skills into your project under .github/skills/, so Copilot follows proven, AURIX-specific steps instead of guessing.
| Skill | What it teaches Copilot |
|---|---|
| Behaviour Workflow | Implement hardware behaviour — blink LED, PWM, UART, SPI, ADC, timers, interrupts, DMA |
| Code Migration | Port code between AURIX devices and families (e.g. TC4D7 → TC334) |
| Cross-Vendor Migration | Evaluate and functionally port NXP, ST, Renesas, or TI MCU demos to AURIX |
| iLLD Lookup | Search iLLD headers for API signatures, registers, and pin maps |
- Windows x64. The packaged VSIX is currently built for
win32-x64only. - VS Code with GitHub Copilot (Agent mode).
- An AURIX IDE — AURIX Development Studio or AURIX Configuration Studio. Both are free and give you the GCC compiler and AURIX Flasher.
- No Python or uv setup needed. The Windows extension includes uv and automatically downloads an isolated Python runtime and the tested MCP packages on first use.
- Optional, for AI debugging: the AURIX TCF Debugger extension and DAS 8.3.0.1 or later.
The iLLD driver library and code examples are public and downloaded for you — nothing extra to buy.
- aurix-ai-agent-extension — VS Code extension: Configurator UI,
copilot-instructions.md+ skill generator, and MCP server auto-registration. - aurix-mcp-server-py — Model Context Protocol server (Python) exposing the AURIX tools above.
See each package's README for installation and configuration details.
Which tools does the agent use?
The ones from AURIX Development Studio (ADS) or AURIX Configuration Studio (ACS): the TriCore GCC compiler, AURIX Flasher and the TCF debugger. iLLD and the official code examples are downloaded from Infineon's public GitHub repositories.
How does the AI find these tools?
Open the AURIX AI sidebar, go to the Configurator, select your board and enter the local path of your ADS or ACS installation. The extension passes that path to the MCP server, which then finds the compiler and the flasher on its own.
Which AI clients are supported?
GitHub Copilot in VS Code is the main target; the extension sets everything up for it. The MCP server and the skills are generic, so you can use them with other clients such as Claude Code or Codex: register the server from
aurix-mcp-server-py(python -m aurix_mcp_server, withAURIX_ADS_STUDIO_PATHpointing to your IDE) and copy the skills fromskills/. This setup is manual and less tested.
Which devices are supported?
TC2xx, TC3xx and TC4xx.
Do I need a license?
No. The agent relies on the free tools in ADS or ACS, plus the public iLLD and code examples. You only need an AI client, such as a GitHub Copilot subscription.
Is it ready for production use?
No. It is meant for evaluation: it uses the existing free tools to speed up development and improve productivity. Review and test the generated code yourself before using it in a product.
This project is licensed under the Apache License 2.0.
Bundled Infineon code-example excerpts retain their original per-file notices and Boost Software License 1.0 terms. See the package-level third-party notices.
AURIX™ and TriCore™ are trademarks of Infineon Technologies AG. Use of these marks identifies product compatibility and does not imply endorsement.