Each completed build produces a matched calibration-tool package in xcp_out/. Keep all files from the same build together; the EPK binds the A2L, HEX, and runtime.
Files to import
| File | Role |
|---|---|
<model>.a2l |
XCP-on-TCP device description: measurements, calibration objects, rasters, memory segments, page support, and programming metadata. |
<model>.hex |
Complete Intel HEX image. It contains EPK identity, reference/default calibration data, and the runtime application image. |
<model>_XCP_Flash_ProF/ |
INCA ProF configuration for XCP programming of the virtual application sector. |
<model>_XCP_Flash_ProF.zip |
Packaged copy of the same ProF configuration. |
INCA device setup
- Create an XCP on Ethernet (TCP) device.
- Use the address written by
XcpHostin the A2L and the configuredPort(default5555). - Import the generated
.a2l. - Import the generated
.hexas the data set/program image. - Select the required DAQ raster for each measurement according to the model task rate.
CANape follows the same principle: create the device from the A2L, connect over XCP on TCP, and use the matched HEX for flash/data-set operations.
Install the INCA ProF package
- Open Memory Page Manager.
- Choose Utilities → Configure ProF → Install.
- Select the generated
<model>_XCP_Flash_ProF/directory. - In Flash Programming, choose the installed configuration and the generated
.hex.
What flashing does
The A2L declares a virtual application programming sector at 0xC0000000 by default. The target receives that image through XCP PGM, writes a staged executable, verifies it, then commits an atomic swap on successful completion/disconnect or program reset. A backup runtime is retained by the target for rollback.
Calibrated data versus runtime flash
Flashing updates the executable and reference/default calibration data embedded in the HEX. A calibration session may still contain edited values on the INCA working page. If INCA reports the reference checksum as matching but the working page as different, synchronize/download the working data set to the ECU working page; this is not automatically implied by flashing the application.
Quick fault isolation
| Symptom | First check |
|---|---|
| Cannot connect | Target service is running; correct routing, XcpHost, TCP port, and firewall. |
| EPK/checksum mismatch | A2L, HEX, and runtime are from different builds. Re-import the current matched set. |
| No measurements | Signals are not test points, wrong DAQ event/raster is selected, or DAQ capacity is exhausted. |
| No calibration objects | Parameters are not tunable or the allow/deny policy excludes them. |
| Flash completes but old runtime starts | Review ProF log, complete-image transfer, target service permissions, and restart behaviour. |