> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Infineon

> Find Infineon AURIX, TRAVEO T2G, and PSoC Edge kits, check which board skills apply, and prepare AURIX and PSoC Edge projects for Inlay.

Select your Infineon kit during project setup. The listings include AURIX, TRAVEO T2G, and PSoC Edge kits. For Infineon projects, Inlay loads skills for building, flashing, and debugging AURIX TriCore projects, plus a board skill when your kit has one.

> [!NOTE]
>
> A listing gives Inlay hardware context. Flashing and debugging also depend on your probe, connections, and installed tools. Check the project setup picker for current availability.

## Board-specific skills

Each board skill is available only when the project's platform matches one of its kits. Naming the kit in chat doesn't enable it. Several kits below aren't in the [catalog table](#catalog-platforms); for those, follow [board-skill setup](/docs/supported-hardware/overview.md#use-a-board-specific-skill).

Catalog kits that aren't in this table, such as `KIT_AURIX_TC265_TFT` and the TRAVEO T2G kits, have no board skill. Attach the kit's user guide and schematic for questions about board wiring.

| Board family | Skill | Covered kits and boards |
| - | - | - |
| AURIX TC275 Lite Kit | `KIT_AURIX_TC275_LITE` | `KIT_AURIX_TC275_LITE` |
| AURIX TC375 Lite Kit | `KIT_A2G_TC375_LITE` | `KIT_A2G_TC375_LITE` |
| AURIX TC4D7 Lite Kit | `KIT_A3G_TC4D7_LITE` | `KIT_A3G_TC4D7_LITE` |
| AURIX TC397 TFT application kits | `KIT_A2G_TC397_TFT` | `KIT_A2G_TC397_3V3_TFT`, `KIT_A2G_TC397_5V_TFT` |
| AURIX TC387 motor control kit | `KIT_A2G_TC387_MOTORCTR` | `KIT_A2G_TC387_MOTORCTR`, including the TC3xx Motor Control Power Board |
| TC397XA ADAS TriBoard | `KIT_A2G_TC397XA_TRB_S` | `KIT_A2G_TC397XA_TRB`, `KIT_A2G_TC397XA_TRB_S` |
| TriBoard TC3X2 | `TRIBOARD_TC3X2` | `KIT_A2G_TC332_5V_TRB_S` |
| TriBoard TC3X3 | `TRIBOARD_TC3X3` | `KIT_A2G_TC333_5V_TRB_S` |
| TriBoard TC3X4T | `TRIBOARD_TC3X4T` | `KIT_A2G_TC334_5V_TRB_S` |
| TriBoard TC3X4L | `TRIBOARD_TC3X4L` | `KIT_A2G_TC364_5V_TRB_S` |
| TriBoard TC3X5 | `TRIBOARD_TC3X5` | `KIT_A2G_TC365_5V_TRB_S` |
| TriBoard TC3X6 | `TRIBOARD_TC3X6` | `KIT_A2G_TC336_5V_TRB_S`, `KIT_A2G_TC366_5V_TRB_S` |
| TriBoard TC3X7 | `TRIBOARD_TC3X7` | `KIT_A2G_TC337_5V_TRB_S`, `KIT_A2G_TC377_5V_TRB_S`, `KIT_A2G_TC387_5V_TRB`, `KIT_A2G_TC387_5V_TRB_S`, `KIT_A2G_TC397_5V_TRB`, `KIT_A2G_TC397_5V_TRB_S` |
| TriBoard TC3X9 | `TRIBOARD_TC3X9` | `KIT_A2G_TC389_5V_TRB`, `KIT_A2G_TC389_5V_TRB_S`, `KIT_A2G_TC399_5V_TRB`, `KIT_A2G_TC399_5V_TRB_S` |
| PSoC Edge | `psoc-edge-e84` | `KIT_PSE84_EVAL`, including the EPC2 and EPC4 variants |

## Build, flash, and debug AURIX projects

Work with AURIX projects on the Windows machine that has your Infineon tools and the probe attached. AURIX setup and debugging aren't available on macOS or Linux. The [AURIX guide](/docs/debug-mode/aurix.md) has the full steps.

* **Build:** Inlay can turn an AURIX Development Studio (ADS) iLLD project into a CMake build with `build.cmd` and `flash.cmd` wrappers. See [Generate and check the build](/docs/debug-mode/aurix.md#generate-and-check-the-build).
* **Flash:** `flash.cmd` programs the built HEX file with AURIX Flasher, and Inlay checks the flasher result and the target's startup output separately. See [Program and verify startup](/docs/debug-mode/aurix.md#program-and-verify-startup).
* **Debug:** TriCore targets don't use GDB. Inlay halts, sets breakpoints, and steps TriCore cores from a [hardware script](/docs/debug-mode/hardware-scripts.md) that uses the `aurix` helpers. See [the TriCore debugging section](/docs/debug-mode/aurix.md#debug-tricore-over-tcf).

Install ADS, AURIX Flasher, and Infineon DAS yourself. They're Infineon downloads under Infineon's own licence terms, and Inlay doesn't bundle them.

TriCore debugging needs:

* Windows, with the board's on-board DAP or miniWiggler connected over USB to the same machine. It isn't available through a bench.
* [Infineon DAS](https://www.infineon.com/DAS) installed, with its tray service running. DAS is free and needs no licence.
* An AURIX debug agent. Inlay uses one from ADS or another local install. If none is installed, it asks before downloading one.
* An ELF with symbols that matches the firmware on the target.

## Bring up the PSoC Edge E84 evaluation kit

The `psoc-edge-e84` skill loads when the project's platform is `KIT_PSE84_EVAL`. It covers ModusToolbox projects, KitProg3 programming, multicore images, external-flash boot, and the kit's connectors and switches.

1. Connect your computer to the KitProg3 USB-C connector `J8`, not the target USB connectors.
2. Ask Inlay to flash and run the board. It reads the part number through KitProg3 and selects the EPC2 or EPC4 board support package from the detected part, not from the kit label. If it can't read the part, it stops before creating a project.
3. If ModusToolbox packages are missing, Inlay explains what to install and asks before it downloads or runs an installer.
4. Inlay creates Infineon's hello-world example when the workspace has no application, then builds and programs it.
5. For the current external-flash examples, move `SW6` toward the `ON` marking printed on the board, then press `SW1` or power-cycle the kit.

Inlay reports programming and boot separately. It marks boot verified only after the expected output appears on the KitProg3 primary UART at 115200 baud, 8N1.

Inlay doesn't provision the device, change its lifecycle, replace Extended Boot, change OEM policy, or erase RRAM unless you ask for that operation. These operations can invalidate existing images or restrict debug access.

## Catalog platforms

| Family | Platforms |
| - | - |
| AURIX | `KIT_A2G_TC365_5V_TRB_S`, `KIT_A2G_TC375_LITE`, `KIT_A2G_TC397_3V3_TFT`, `KIT_A2G_TC397_5V_TFT`, `KIT_A2G_TC397XA_TRB_S`, `KIT_A3G_TC4D7_LITE`, `KIT_AURIX_TC265_TFT`, `KIT_AURIX_TC275_LITE` |
| PSoC Edge | `KIT_PSE84_EVAL` |
| TRAVEO T2G | `KIT_T2G-B-E_LITE`, `KIT_T2G-B-H_LITE` |

## Migrate between Infineon platforms

> [!NOTE]
>
> Infineon migration mode is available only in the Infineon customer build of Inlay. The standard build doesn't offer Migration mode for Infineon projects.

In the Infineon customer build, use Migration mode to port firmware or an example between Infineon AURIX platforms, such as from `KIT_A2G_TC375_LITE` to `KIT_A3G_TC4D7_LITE`. Inlay researches both platforms, plans the port with you, and implements the plan after you approve it. Until you approve, it only reads the project and writes the plan.

### Before you start

* **Use the target kit as the project's platform.** Inlay then loads that kit's [board skill](#board-specific-skills), which holds the header, connector, and jumper details it checks pins against.
* **Open the source project in the workspace.** An AURIX Development Studio (ADS) project with its `.cproject` and `Libraries/iLLD/` folder works best, because Inlay can generate the target's build from it.
* **Add the board documents you have.** Point Inlay to the target board's user manual and schematic in chat and ask it to index them. See [If your hardware isn't listed](/docs/supported-hardware/overview.md#if-your-hardware-isn%E2%80%99t-listed).
* **Decide which pins you want.** Inlay asks before it finishes the plan. If you don't know yet, name the connector or header you want to use.
* **Set up the bench for the target.** Building, flashing, and debugging the migrated code needs the Windows setup described in [Build, flash, and debug AURIX projects](#build-flash-and-debug-aurix-projects).

### Plan the migration

1. Switch to Migration mode. In VS Code, select **Migration** from the mode menu beside the chat input. In either interface, press `Shift+Tab` until Migration is selected, or enter `/migration`.

2. Name the source and target kits, the peripheral or example to migrate, and the behavior that must carry over:

   ```text theme={"theme":"css-variables"}
   Plan the migration of the GPIO and UART example from KIT_A2G_TC375_LITE to
   KIT_A3G_TC4D7_LITE. Keep the same LED behavior and serial log output.
   Use the mikroBUS socket for the UART pins.
   ```

3. Inlay researches the migration. It sends up to five research [subagents](/docs/core-concepts/subagents.md) in parallel to read the source example, the target platform's examples, the pin mappings, the board's header and connector routing, and the register and driver differences between the two devices.

4. Answer Inlay's questions about pins and trade-offs. It asks which pins you want if you haven't said, and checks each one against the board.

5. Review the plan. Reply with what to change, or approve it. See [Plan](/docs/core-concepts/modes.md#plan-review-an-approach-before-implementation) for the review controls.

Inlay saves the plan in `.inlay/plans/`. Where a diagram makes the control flow or sequence clearer, the plan includes one.

### What the plan contains

| Section | What to check |
| - | - |
| Source and target assumptions | The exact kits and devices the plan is written for. |
| Pins | The pins you chose, each confirmed as reachable on a board header or connector, not only on the MCU package. If a pin isn't reachable, the plan says so and proposes alternatives. |
| Project setup | How the target project gets its build and its serial console logging, or a note that each is already in place. |
| Modules | One section per module, such as GPIO, ADC, UART, timers, and then the application logic. |
| Code and configuration changes | The source-to-target changes, including driver and peripheral differences. |
| Verification | The steps that prove the result on the target board. |

Each module section lists:

* **Tests:** a failing test to write or port that exercises the module's behavior on the target.
* **Isolation:** how the tests stay separate from the production application. Tests clean up the pins, peripherals, and state they use, run in any order, and build separately from the production code.
* **Migration changes:** the smallest set of changes that makes the tests pass on the target.
* **Runtime logs:** the log points the module adds for initialization, state changes, pin assignments, and errors, with a consistent level and tag per module so you can filter them.
* **Hardware verification:** what to observe on the target board before the next module starts.

### How the build is set up

* **A project created in ADS:** the plan uses [AURIX project setup](/docs/debug-mode/aurix.md#generate-and-check-the-build) to generate the target's CMake build from the existing `.cproject`. That generated build is the project's only build system. If an earlier setup already produced `CMakeLists.txt` and `build.cmd`, the plan reuses them.
* **A project without an ADS `.cproject`:** the plan adds a top-level CMake project with a toolchain file for the target.
* **Console logging:** the plan adds serial console logging if the project doesn't have it, or checks that the existing logging works on the target.

### After you approve

Inlay switches to Act mode and implements the plan one module at a time. For each module it writes or ports the failing test, makes the migration changes, and verifies the result on the target board before it moves to the next module. Your [approval settings](/docs/core-concepts/approvals.md) apply to its edits, builds, and flashing as usual.

To check a module on hardware yourself, follow its runtime logs in the [Serial Monitor](/docs/debug-mode/serial-transports.md), or ask Inlay to [debug the TriCore target](/docs/debug-mode/aurix.md#debug-tricore-over-tcf).

For how Migration mode relates to Plan and Act mode, see [Agent modes](/docs/core-concepts/modes.md#migration-port-to-a-new-platform).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.