Problems importing DATA_REFERENCE data types in AUTOSAR for Embedded Coder
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Robert Maxim
le 8 Juil 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 commentaires
Voir également
Catégories
En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!