MDSTECH
TRACE32
TRACE32 Solution
TRACE32 Trace Solution
TRACE32 More Product
TRACE32 Software Solution
Why TRACE32?
교육신청
정규교육
교육과정 안내
교육장 안내
교육설문
자료실
TRACE32 소프트웨어
TRACE32 매뉴얼
iTSP
TRACE32 영상
인증서
고객지원
뉴스레터
Q&A
FAQ
원격지원
검색창
검색버튼
회원가입
로그인
TRACE32
TRACE32 Solution
TRACE32 Trace Solution
TRACE32 More Product
TRACE32 Software Solution
Why TRACE32?
교육신청
정규교육
교육과정 안내
교육장 안내
교육설문
자료실
TRACE32 소프트웨어
TRACE32 매뉴얼
iTSP
TRACE32 영상
인증서
고객 지원
뉴스레터
Q&A
FAQ
원격지원
사이트맵 보기
AUTOSAR 모델의 PIL 테스트 문서 원본 보기
←
AUTOSAR 모델의 PIL 테스트
이동:
둘러보기
,
검색
문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게만 가능합니다:
사용자
문서의 원본을 보거나 복사할 수 있습니다:
<h2>Overview</h2> <p><span style="font-family: "맑은 고딕"; font-size: small;">본 문서는 <span lang="EN-US">MBD(Model-based development) SW</span>개발시<span lang="EN-US"> Simulink</span>모델<span lang="EN-US">-</span>타겟 코드간의 <span lang="EN-US">Back-to-back </span>테스트에<span lang="EN-US"> </span></span></p> <p><span style="font-family: "맑은 고딕"; font-size: small;"><span lang="EN-US">TRACE32</span>를 적용하는 방법을 설명하며<span lang="EN-US">, </span>특히 <span lang="EN-US">AUTOSAR </span>모델의 <span lang="EN-US">Processor-in-the-Loop(</span>이하 <span lang="EN-US">PIL) </span>에 대한 내용을 다룬다<span lang="EN-US">. </span></span></p> <p><span style="font-family: "맑은 고딕"; font-size: small;"><span lang="EN-US"> </span>일반적인 모델의 <span lang="EN-US">PIL </span>테스트 환경 구축 방법은 <a href="/wiki/index.php/MATLAB_Simulink_%EC%99%80_TRACE32_%EC%97%B0%EB%8F%99_%26_PIL_TEST_%EA%B0%80%EC%9D%B4%EB%93%9C"><span style="text-decoration: underline;">siumulink-T32 연동 PIL 테스트 문서</span>를</a> 참고할 수 있다<span lang="EN-US">.</span></span></p> <p><span style="font-family: "맑은 고딕"; font-size: small;"><span lang="EN-US"> 테스트 환경 소개 </span></span><span style="font-family: 굴림; font-size: small;"> </span></p> <p style="margin: 0cm 0cm 0pt; text-indent: 10pt; mso-char-indent-count: 1.0;"><span style="font-family: 굴림; font-size: small;"> </span></p> <ul style="list-style-type: disc; direction: ltr;"> <li style="color: #000000; font-style: normal; font-weight: normal;"> <p style="color: #000000; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"><span style="mso-bookmark: _Toc148148401;"><span style="font-family: "맑은 고딕";" lang="EN-US">Matlab R2015a </span></span></p> </li> <li style="color: #000000; font-family: "맑은 고딕"; font-size: 10pt; font-style: normal; font-weight: normal;"> <p style="color: #000000; font-family: "바탕","serif"; font-size: 10pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"><span style="mso-bookmark: _Toc148148401;"><span style="font-family: "맑은 고딕";" lang="EN-US">Simulink</span></span></p> </li> <li style="color: #000000; font-family: "맑은 고딕"; font-size: 10pt; font-style: normal; font-weight: normal;"> <p style="color: #000000; font-family: "바탕","serif"; font-size: 10pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"><span style="mso-bookmark: _Toc148148401;"><span style="font-family: "맑은 고딕";" lang="EN-US">Embedded-coder</span></span></p> </li> <li style="color: #000000; font-family: "맑은 고딕"; font-size: 10pt; font-style: normal; font-weight: normal;"> <p style="color: #000000; font-family: "바탕","serif"; font-size: 10pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"><span style="mso-bookmark: _Toc148148401;"><span style="font-family: "맑은 고딕";" lang="EN-US">Tasking VX-toolset 6.0r1 </span></span></p> </li> <li style="color: #000000; font-family: "맑은 고딕"; font-size: 10pt; font-style: normal; font-weight: normal;"> <p style="color: #000000; font-family: "바탕","serif"; font-size: 10pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"><span style="mso-bookmark: _Toc148148401;"><span style="font-family: "맑은 고딕";">타겟<span lang="EN-US"> CPU : TC277TF </span></span></span></p> </li> </ul> <p style="margin: 0cm 0cm 0pt; text-indent: 10pt; mso-char-indent-count: 1.0;"><strong><span style="font-family: 굴림; font-size: small;"> </span></strong></p> <h2>simulink - TRACE32 연동 준비 사항</h2> <p><span style="font-family: "맑은 고딕";" lang="EN-US">Simulink </span><span style="font-family: "맑은 고딕";">와 <span lang="EN-US">TRACE32 </span>의 연동을 위한 프로그램을 설치한다<span lang="EN-US">.</span></span></p> <h3>2.1 Simulink- T32 integaration <span style="mso-bookmark: _Toc488840607;"><span style="font-family: "맑은 고딕";">설치</span></span></h3> <p><a href="/wiki/index.php/MATLAB_Simulink_%EC%99%80_TRACE32_%EC%97%B0%EB%8F%99_%26_PIL_TEST_%EA%B0%80%EC%9D%B4%EB%93%9C#2.1..C2.A0_TRACE32_Integration_for_Simulink_.EC.84.A4.EC.B9.98"><span style="font-size: small;"> </span> <span style="text-decoration: underline;">링크 참조</span></a></p> <h3><span style="font-size: 1.17em;">2.<span style="font-size: medium;">2 MATLAB 설치 및 확인</span></span></h3> <p><span style="text-decoration: underline;"><a href="/wiki/index.php/MATLAB_Simulink_%EC%99%80_TRACE32_%EC%97%B0%EB%8F%99_%26_PIL_TEST_%EA%B0%80%EC%9D%B4%EB%93%9C#2.2..C2.A0_MATLAB_.EC.84.A4.EC.B9.98_.EB.B0.8F_.ED.99.95.EC.9D.B8">링크 참조</a></span></p> <p> </p> <h2>AUTOSAR 모델의 PIL 환경 구축</h2> <p class="MsoNormal" style="text-indent: 5.0pt; mso-char-indent-count: .5;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-ansi-language: FI;" lang="FI">AUTOSAR </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-ansi-language: FI;">모델을 개발 후<span lang="FI">, </span>해당 코드를 생성하고<span lang="FI"> PIL </span>테스트 환경을 구축하는데에 <strong><span lang="FI">AUTOSAR.tlc</span></strong><span lang="FI"> </span>를 적용하는 방법을 소개한다<span lang="FI">. </span></span></p> <h3>AUTOSAR Code Generation 데모 다운로드 및 설치</h3> <p class="MsoNormal" style="text-indent: 5.0pt; mso-char-indent-count: .5;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-ansi-language: FI;" lang="FI">AUTOSAR.tlc </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-ansi-language: FI;">를 적용하기 위해서는 먼저 해당 기능을 지원하는 <span lang="FI">Support </span>패키지를 설치한다<span lang="FI">. </span></span></p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">1)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Matlab </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">홈페이지에서 <span lang="FI">Demo on AUTOSAR Code Gerneration From Embedded Coder </span>를 다운로드<span lang="FI"> </span></span></p> <p><span style="white-space: pre;"> <img style="width: 754px; height: 249px;" src="/data/wiki/2017-12-29/1514526852.png" alt="" width="1664" height="616" /></span></p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span lang="FI"><span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: normal;"><span style="font-family: "맑은 고딕";">2)</span></span><span style="font-family: "Times New Roman"; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">AUTOSAR Support </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">패키지를 설치<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 46.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Add-On -> Get Hardware Support Packages </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">선택</span></p> <p class="MsoNormal" style="margin-left: 46.0pt;"><img style="width: 1045px; height: 196px;" src="/data/wiki/2017-12-29/1514526866.png" alt="" width="1909" height="359" /></p> <p class="MsoNormal" style="margin-left: 46.0pt;"> </p> <p class="MsoNormal" style="margin-left: 46.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">다운로드 받아진 </span><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">패키지를</span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"> 설치하거나<span lang="FI">, Internet</span>을 통하여 설치할 수 있다<span lang="FI">.</span></span></p> <p class="MsoNormal" style="margin-left: 46.0pt;"><span style="font-family: "맑은 고딕";">원하는 방법을 선택한다</span><span style="font-family: "맑은 고딕";" lang="FI">.</span></p> <p class="MsoNormal" style="margin-left: 46.0pt;"><img style="width: 514px; height: 248px;" src="/data/wiki/2017-12-29/1514526882.png" alt="" width="781" height="416" /></p> <p class="MsoNormal" style="margin-left: 46.0pt;"> </p> <p class="MsoNormal" style="margin-left: 46.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-no-proof: yes;" lang="EN-US">Ex) </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; mso-no-proof: yes;">인터넷을 통하여 설치하는 과정</span></p> <p class="MsoNormal" style="margin-left: 46.0pt;"><img style="width: 773px; height: 355px;" src="/data/wiki/2017-12-29/1514526889.png" alt="" width="1259" height="603" /></p> <p class="MsoNormal" style="margin-left: 46.0pt;"> </p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span lang="FI"><span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; line-height: normal;"><span style="font-family: "맑은 고딕";">3)</span></span><span style="font-family: "Times New Roman"; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">이후 과정은 <span lang="FI">Matlab </span>프로그램의 안내에 따라 진행</span></p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"> <img style="width: 425px; height: 82px;" src="/data/wiki/2017-12-29/1514526897.png" alt="" width="620" height="140" /></p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"> <img style="width: 612px; height: 161px;" src="/data/wiki/2017-12-29/1514526908.png" alt="" width="853" height="248" /></p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"> </p> <p class="MsoNormal" style="margin-left: 46.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-bidi-font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">4)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">설치완료된 패키지 확인<span lang="FI"> </span></span></p> <p><span style="mso-bookmark: _Toc502319853;"> </span></p> <p><span style="white-space: pre;"> <img style="width: 500px; height: 144px;" src="/data/wiki/2017-12-29/1514526915.png" alt="" width="744" height="219" /></span></p> <h3>AUTOSAR model PIL 환경 구축</h3> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">예제가 필요한 경우 </span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"> <span style="text-decoration: underline;"><a href="ftp://ftp.trace32.com/TRACE_homepage/FE.zip">링크</a></span>에서 매뉴얼 작성에 사용된 <span lang="FI">AUOTSARDemoMdl </span>모델을 다운로드 받을 수 있다<span lang="FI">.</span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><!--[if !supportLists]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">1)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">AUTOAR demo model </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">로<span lang="FI"> MATLAB </span>경로를 설정</span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"> <img style="width: 501px; height: 305px;" src="/data/wiki/2017-12-29/1514526925.png" alt="" width="733" height="470" /><br /></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">2)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">AUTOSAR </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">모델을<span lang="FI"> open</span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><em><span style="mso-bidi-font-size: 10.0pt; font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: LMMono10-Regular; mso-font-kerning: 0pt;" lang="EN-US">open('AUTOSARDemoMdl.slx')</span></em></p> <p class="MsoNormal" style="margin-left: 38.0pt;"> <img style="width: 641px; height: 452px;" src="/data/wiki/2017-12-29/1514526929.png" alt="" width="1292" height="918" /></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><em><span style="mso-bidi-font-size: 10.0pt; font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: LMMono10-Regular; mso-font-kerning: 0pt;" lang="EN-US"><br /></span></em></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">3)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">새로운 경로에 <span lang="FI">AUTOSAR demo model </span>저장<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">4)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">새로운 경로로 <span lang="FI">MATLAB working </span>디렉토리 변경<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI"> </span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">5)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Simulation model </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">항목을 <span lang="FI">Processor-in-the-loot(PIL) </span>로 설정</span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"> <img style="width: 729px; height: 268px;" src="/data/wiki/2017-12-29/1514526941.png" alt="" width="1158" height="480" /></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"><br /></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">6)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="mso-bidi-font-size: 10.0pt; font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: LMMono10-Regular; mso-font-kerning: 0pt;" lang="EN-US">MATLAB </span><span style="mso-bidi-font-size: 10.0pt; font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: LMMono10-Regular; mso-font-kerning: 0pt;">명령어 입력 </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI"> </span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><em><span style="mso-bidi-font-size: 10.0pt; font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: LMMono10-Regular; mso-font-kerning: 0pt;" lang="EN-US">set_param(getActiveConfigSet(gcs),'MakeCommand',make_rtw "USE_TMF=1"')</span></em><em><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI"> </span></em></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><em><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI"><br /></span></em></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">7)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-no-proof: yes;" lang="EN-US">Configuration Parameter – Hardware Implementation </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-no-proof: yes;">설정</span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI"> </span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-no-proof: yes;">실제 타겟과 동일한 <strong><span lang="EN-US">Device </span>선택</strong></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-no-proof: yes;"><strong> <img style="width: 858px; height: 333px;" src="/data/wiki/2017-12-29/1514526953.png" alt="" width="1610" height="645" /><br /></strong></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l1 level1 lfo1;"> </p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l1 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">8)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Configuration Parameter – Code Generation </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">설정<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 78.0pt; text-indent: -20.0pt; mso-list: l0 level1 lfo2;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-ansi-language: FI;" lang="FI">ü<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">System target file : <strong>autosar.tlc</strong></span></p> <p class="MsoNormal" style="margin-left: 78.0pt; text-indent: -20.0pt; mso-list: l0 level1 lfo2;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-ansi-language: FI;" lang="FI">ü<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Make command : <strong>make_rtw ”USE_TMF=1</strong>”</span></p> <p class="MsoNormal" style="margin-left: 78.0pt; text-indent: -20.0pt; mso-list: l0 level1 lfo2;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-ansi-language: FI;" lang="FI">ü<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Template makefile : <strong>trace32_tc_tmf</strong></span></p> <p class="MsoNormal" style="margin-left: 78.0pt; text-indent: -20.0pt; mso-list: l0 level1 lfo2;"><span style="font-family: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-ansi-language: FI;" lang="FI">ü<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><strong><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Generate code only </span></strong><strong><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">해제</span></strong></p> <p class="MsoNormal" style="margin-left: 78.0pt; text-indent: -20.0pt; mso-list: l0 level1 lfo2;"><img style="width: 724px; height: 493px;" src="/data/wiki/2017-12-29/1514526964.png" alt="" width="1216" height="874" /></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"> </p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">9)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">예제에 포함된 설정 파일에 대한 설명 <span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">Trace32_settings.m : simulink – trace32 </span><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">연동 설정 파일<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">Trace32_tc_tmf.tmf : </span><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">타겟 코드 생성 <span lang="FI">makefile </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">Trace32_tc277te_startup.cmm : TRACE32</span><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">로 테스트 시작시 구동되는 파일<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI"> </span><span style="font-family: "맑은 고딕";">위의 파일이 누락된 경우 아래와 같이 </span><span style="font-family: "맑은 고딕";" lang="FI">T32 </span><span style="font-family: "맑은 고딕";">설치 폴더에서 복사가능</span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"> <img style="width: 629px; height: 361px;" src="/data/wiki/2017-12-29/1514526976.png" alt="" width="1117" height="687" /></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><!--[if !supportLists]--><span style="font-family: "맑은 고딕"; mso-bidi-font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">10)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;" lang="FI">Trace32_tc_tmf </span><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;">파일내에 <strong>컴파일러 경로 </strong>확인<span lang="FI">, </span>경로가 다를시 수정</span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><span style="font-family: "맑은 고딕"; mso-ansi-language: FI;"> <img src="/data/wiki/2017-12-29/1514526986.png" alt="" /><br /></span></p> <p class="MsoNormal" style="margin-left: 38.0pt; text-indent: -18.0pt; mso-list: l0 level1 lfo1;"><!--[if !supportLists]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-bidi-font-family: "맑은 고딕"; mso-bidi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">11)<span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";"> </span></span><!--[endif]--><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">모델 <span lang="FI">– </span>상단 <span lang="FI">simulation RUN </span>버튼 클릭<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;" lang="FI">Simulation stop time </span><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;">이 너무 긴 경우 <span lang="FI">1, </span>또는 <span lang="FI">4</span>로 셋팅하여 시간을 줄이면서 테스트 가능<span lang="FI"> </span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast; mso-ansi-language: FI;"><span lang="FI"> <img style="width: 780px; height: 449px;" src="/data/wiki/2017-12-29/1514526995.png" alt="" width="844" height="533" /></span></span></p> <p class="MsoNormal" style="margin-left: 38.0pt;"> </p> <p class="MsoNormal" style="margin-left: 38.0pt;">12) AUTOSAR 모델이 T32에서 수행되면 모델의 PIL 테스트 정보를 확인 할 수 있다.</p> <p class="MsoNormal" style="margin-left: 38.0pt;"> 대표적인 예로 각 함수의 성능정보, stacK 최대 사용량 Code Coverage정보 등이 있다.</p> <p class="MsoNormal" style="margin-left: 38.0pt;"> <img src="/data/wiki/2017-12-29/1514532308.png" alt="" /></p> <p class="MsoNormal" style="margin-left: 38.0pt;"> </p> <p class="MsoNormal" style="margin-left: 38.0pt;"><img src="/data/wiki/2017-12-29/1514532325.png" alt="" /></p> <div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 400px; width: 1px; height: 1px; overflow: hidden;"> <h1><span style="font-family: "맑은 고딕"; mso-ascii-theme-font: major-fareast; mso-fareast-theme-font: major-fareast; mso-hansi-theme-font: major-fareast; text-transform: uppercase; mso-ansi-language: FI;" lang="FI"> </span></h1> </div>
AUTOSAR 모델의 PIL 테스트
문서로 돌아갑니다.
둘러보기 메뉴
개인 도구
로그인
이름공간
문서
토론
변수
보기
읽기
원본 보기
역사 보기
행위
검색
TRACE32 Dummy
TRACE32
iTSP User's Guide
aTSP User's Guide
Linux Debugging
Debugging Tips
Trace Analysis
Virtual Target
TRACE32로 바라본 ARM
TRACE32 FAQ
TRACE32 Trouble Shooting
TRACE32 Software Update
Software Revision History
DT10 / DT-Win
다운로드
DT10 Evaluation
DT-Win Evaluation
TestPoint 삽입 Error
Build Error
DT10 FAQ
도구
여기를 가리키는 문서
가리키는 글의 바뀜
특수 문서 목록
문서 정보