Problems importing DATA_REFERENCE data types in AUTOSAR for Embedded Coder

4 ビュー (過去 30 日間)
Manuel Stumpf
Manuel Stumpf 2018 年 7 月 18 日
回答済み: Robert Maxim 2024 年 7 月 8 日
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>

回答 (2 件)

Zhenwei Sun
Zhenwei Sun 2018 年 9 月 11 日
hello, you should firstly get the datatype xml.

Robert Maxim
Robert Maxim 2024 年 7 月 8 日
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.

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by