Update Data Files
This page explains how to update and migrate project input files (ECU Extract, Diagnostic Data, Communication Extract) when moving from DaVinci Configurator Classic Version 5 to DaVinci Configurator Classic Version 6.
Prerequisites
-
Previous migration steps are completed (see Update Project Structure, Update BSW Package).
-
Resolve model merge conflicts or allow them temporarily (see Merge Models).
-
Configure CLI paths in
Scripts/config.batorScripts/config.sh(andconfig_dvarjson.*if needed); details in Execute Update Workflow Script.
Input Files Location
| Item | Default Location | Notes |
|---|---|---|
Preserved DPA inputs |
|
Configured in the DPA |
DDM JSON (diagnostics) |
|
File names end with |
Preprocessing metadata |
|
Supports |
Update/Migrate Input Files
-
Review preserved inputs
-
Open
Input/Preprocessing(andInput/OEMInput/Preprocessingfor diagnostics) and verify all referenced files exist. -
If files were not copied (no
--dest-dir), ensure paths inSettings/*.jsonpoint to their current locations.
-
-
Configure tool paths
-
In
Scripts/config.*, setCLIto the DaVinci Configurator Classic CLI executable and, if needed,DVARJSONto the DaVinci-AUTOSAR-JSON executable. -
Use absolute paths or environment variables; see examples in Execute Update Workflow Script.
-
-
Convert Diagnostic Data (if you have DDM JSON)
-
Use DaVinci-AUTOSAR-JSON to convert each
_dvarjson.jsonfile to ARXML. -
The command is documented at Convert DDM.
-
Output ARXML files are written next to the JSON and end with
_converted.arxml.
-
-
Import Diagnostic Modules
-
Use DaVinci Configurator Classic CLI
ddm import diagnostic-modulesto import the converted ARXML files, variant-aware if applicable. -
Follow Import Diagnostic Modules.
-
-
Derive ECUC from ECU Extract
-
Provide your ECU Extract (ARXML). If your inputs are multiple formats (DBC, system description, multiple extracts), preprocess them with Ecu Extract Producer first; see Generate ECU Extract.
-
Run DaVinci Configurator Classic CLI
project derive-ecucto integrate the ECUC into the project. -
Detailed steps: Derive ECUC.
-
-
Execute the Update Workflow Script (optional but recommended)
-
Navigate to
Scriptsand executeupdate_workflow.bat(Windows) orupdate_workflow.sh(Linux). -
Run it from the
Scriptsdirectory to keep relative paths valid. -
The script chains the required CLI calls (
derive-ecuc,dvarjson ddm convert,ddm import diagnostic-modules,import module,project update).
-
Communication Extract Handling
-
DaVinci Configurator Classic Version 6 no longer distinguishes at load time; the same ARXMLs from the migrated project are used.
-
Either Communication Extract or ECU Extract is referenced as
harmonizedExtractinSettings/ArxmlProjectContent.json. -
No additional flag is required; verify
harmonizedExtract.fileListpoints to your extract ARXMLs.
Verify the Update
-
Check CLI/log output for success messages and counts of imported diagnostic modules.
-
Verify generated ECUC resides under
Output/Config/EcuConfigand appears in the configuration. -
Confirm any converted DDM ARXMLs and structured extract under
Output/Configwere created. -
If issues occur, re-check paths in
Scripts/config.*andSettings/*.json.
Next Steps
-
After you completed updating your input and other data files, proceed to linking your Vector tools, see Link Tools as well as the respective tool help for more information.