Problems importing DATA_REFERENCE data types in AUTOSAR for Embedded Coder
4 views (last 30 days)
Show older comments
I'm trying to import a couple of arxml files with "arxml.importer". I'm running into trouble with pointer data types (see snippet below).
I'm getting this error: Implementation data type in file "xxx" uses unsupported category "TYPE_REFERENCE". Maybe someone give me hint.
Thanks, Manuel
<IMPLEMENTATION-DATA-TYPE>
<SHORT-NAME>NAME</SHORT-NAME>
<CATEGORY>DATA_REFERENCE</CATEGORY>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-POINTER-TARGET-PROPS>
<TARGET-CATEGORY>TYPE_REFERENCE</TARGET-CATEGORY>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<IMPLEMENTATION-DATA-TYPE-REF DEST="IMPLEMENTATION-DATA-TYPE">/Path/to/ImplementationDataType</IMPLEMENTATION-DATA-TYPE-REF>
<SW-IMPL-POLICY>CONST</SW-IMPL-POLICY>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
</SW-POINTER-TARGET-PROPS>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
</IMPLEMENTATION-DATA-TYPE>
0 Comments
Answers (2)
Robert Maxim
on 8 Jul 2024
This question is very misleading and even confusing. DATA_REFERENCE is not a datatype, but a category which can be set for ImplementationDataTypes. AUTOSAR 4 handles them differently than previous versions.
I would suggest to edit the title, as your problem comes from the TYPE_REFERENCE not being found, rather then the category set for the IDT.
0 Comments
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!