Skip to content
← Back to Blog
What to Do When a 16M ARXML Blocks Your AI BSW Workflow
Product news

What to Do When a 16M ARXML Blocks Your AI BSW Workflow

A 16M Com.arxml stops generic coding agents cold; AutoC uses a structured ECUC execution layer to reliably find unreferenced ComSignals.

Product newsAutoCAUTOSAR

How it started

Last week a friend asked whether he could use AI to modify a Com module. He sent me the module's Com.arxml. I opened it: 16M.

He asked whether AutoC could handle it. I told him to try Claude Code first.

Generic coding agents stall at step one

The natural first move is to hand the file to a generic coding agent such as Claude Code. In practice it does not get far.

These tools follow a read-file, edit-file loop: load the file into context and ask the model to find signals with no references. A 16M ARXML tokenizes to millions of tokens under AUTOSAR's deeply nested, verbose XML. No context window is large enough.

You cannot solve this by chunking either. Deciding whether a signal is referenced requires a global view—you must scan ComIPdu reference relationships across the file. Half a file yields wrong answers.

This is not fixed by a larger context window. Generic tools treat ARXML as very long text, but ARXML is a schema-bound, cross-referenced structured database. Text-style reading is the wrong model.

Why you need a dedicated BSW agent

This matches what I have argued for a long time: BSW configuration does not work well with generic coding agents. You need an agent that understands AUTOSAR module structure—lists, choices, cross-module references—and separates two jobs:

  • Understand what the file looks like
  • Perform precise operations on it

The model should not need to read all 16M bytes to act. It describes intent against structure; a tool layer built for AUTOSAR executes precisely. Data size barely matters—16M and 160M are not fundamentally different.

Hands-on test

We used AutoC on that 16M Com.arxml with this goal: find every ComSignal not referenced by any ComIPduSignalRef.

You can ask many other questions too—we welcome pushing AutoC's limits.

AutoC does not load the whole file into the model context. It parses XDM/ARXML into structured data first; the model only states intent.

First attempt

AutoC tries to read the data directly.

Small data sets are handled inline.

When the usual path fails, use a script

AutoC's core invoked the autoc-api skill.

Running the script

Result

The outcome matched expectations:

It precisely located the target in a 237,741-line ARXML at line 66,243.

Comparison

Claude Code (generic coding agent)AutoC (dedicated BSW agent)
ApproachCan generate Python/scripts to parse ARXML—the idea is soundBuilt-in execution layer operates on structured ECUC data; no ad-hoc scripts
16M ARXMLRisky—script logic is improvised; edge cases are unstableStable—execution layer is tested; file size does not change correctness; operations are traceable
Risk of corrupting ARXMLAd-hoc scripts may mis-parse paths, encoding, or namespaces and silently damage filesValidates before write; AUTOSAR checks after; failures are explicit
AUTOSAR schemaRelies on the model's general ECUC knowledgeNative AUTOSAR ECUC model with lists, choices, and references
Configuration correctnessNo AUTOSAR-level validation after scripts; errors surface only at build or runtimeHooks into EB tresos / DaVinci validation with clear reference feedback
Best fitSmall experiments, one-off scripts, tolerant workflowsProduction projects where a bad edit has real consequences

Closing thoughts

This reinforced one point: BSW is not something you bolt a generic agent framework and prompt onto. File size, reference graphs, and configuration correctness are AUTOSAR-specific. The domain needs an agent built for it—not a reused general tool.

Choosing AutoC for BSW configuration is like choosing Claude Code for software development.

Reproduce it yourself

  1. Install the latest AutoC release
  2. Download the test ARXML and import it into DaVinci
  3. Or challenge your own coding agent to find the correct answer: Cockpit_HVAC_Rx_RUpDownPosSet_85f2c20b_Tx

Share