autosar_make_rtw_hook error

조회 수: 77 (최근 30일)
Zhenwei Sun
Zhenwei Sun 2019년 4월 9일
답변: Stephen Pei 2023년 4월 15일
hello
here is the issue:
Version:1.0 StartHTML:0000000105 EndHTML:0000040254 StartFragment:0000038750 EndFragment:0000040214
/********************************************************************************/
The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error:
'Boolean_2' is not a valid name for the type in package '/DataTypes'. Another element with the same name already exists in that package. Please rename the type or change the package.
The build process will terminate as a result.
Caused by:
'Boolean_2' is not a valid name for the type in package '/DataTypes'. Another element with the same name already exists in that package. Please rename the type or change the package.
/********************************************************************************/
the model is creat from ARXML without warnings.
I have defined a datatype named 'Boolean_2' in sldd. it's should be an application datatype not '/DataTypes'

답변 (3개)

JIAWEI CAI
JIAWEI CAI 2019년 11월 15일
편집: JIAWEI CAI 2019년 11월 15일
Hello,
I got the same issue when generating code with the model imported from arxml, have you fixed this?

Zhenwei Sun
Zhenwei Sun 2019년 11월 15일
hello Jiawei
this is cause by the arxml due to different tools. you can update your input arxml then fix this.
  댓글 수: 2
JIAWEI CAI
JIAWEI CAI 2019년 11월 26일
Thanks for your answer. Can you give more details? I am still inside the trap.
Jeevan Kumar Guntammagari
Jeevan Kumar Guntammagari 2020년 6월 7일
hello Can you elaborate what exactly did you change in arxml?

댓글을 달려면 로그인하십시오.


Stephen Pei
Stephen Pei 2023년 4월 15일
最后怎么解决了?请问,谢谢

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by