PIL TIMEOUT ERROR 10 seconds

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PIL TIMEOUT ERROR 10 seconds

5,180件の閲覧回数
CauTran
Contributor I

Hello everyone, 

I am using PIL simulation on KVx MBDT. I am runing the demo in KV5x but I had a problem for timeout of 10 seconds for receiving data. 

I already reduce the baudrate but, it still not run. I still met this issue. 

Can you have me to fix and identify this problem?

ラベル(1)
0 件の賞賛
返信
8 返答(返信)

5,104件の閲覧回数
CauTran
Contributor I

Hi @nxa11767 , 

Here is the diagnostics of my pil. 

CauTran_0-1636900977009.png

 

I also send you this Matlab file which was run in my laptop. 

Please help me to figure out this issue.

0 件の賞賛
返信

5,153件の閲覧回数
nxa11767
NXP Employee
NXP Employee

Hi @CauTran ,

What Matlab version do you use? I tried also on matlab v2019a and I see the same problem. I installed the toolbox also on Matlab 2020a and the PIL example run without issues.

I've noticed on 2019a a strange warning while building:

nxa11767_0-1636462144507.png

Do you get the same on your side also? 

Do you have the option to install the toolbox and try it also on a Matlab version higher than 2019a? I tried also on 2019b and runs ok also.

Best regards,

Alexandra

 

0 件の賞賛
返信

5,144件の閲覧回数
CauTran
Contributor I

I used matlab version 2021a academic. I also try to figure out this problem. But I can not do it. 

 

0 件の賞賛
返信

5,119件の閲覧回数
nxa11767
NXP Employee
NXP Employee

Hi @CauTran ,

Do you have the same PIL settings on both models (parent and referenced)?

Also, can you share the full log from your Diagnostics view:

nxa11767_0-1636726569804.png

I also tried on 2021a and it ran without errors. 

 

BR,
Alexandra

0 件の賞賛
返信

5,089件の閲覧回数
CauTran
Contributor I

Hi @nxa11767 , 

In my demo, 

I used Jlink as a OpenSDA method. 

how about your side? and I want to confirm with you : 

what instructions for PIL in KVx Mbdt in Matlab? 

0 件の賞賛
返信

5,078件の閲覧回数
nxa11767
NXP Employee
NXP Employee

hi @CauTran ,

 

I'm also using OpenSDA with a JLink firmware:

nxa11767_0-1636977850521.png

You should see when the application is written that the JLINK is running. Also you should first restart the board(press the reset button) and then press the OK button on the Successfull Download message box from Simulink:

nxa11767_1-1636978034698.png

I've run also your project on my side and it runs ok.

Did you try to run other examples from the toolbox, gpio or serial, to check that the entire flow, including download on the board, is working ok?

 

Best regards,

Alexandra

 

 

0 件の賞賛
返信

5,031件の閲覧回数
CauTran
Contributor I

Hi @nxa11767 ,

Can you support me online to deal with this issue? 

thank you so much.

0 件の賞賛
返信

5,063件の閲覧回数
CauTran
Contributor I

Hi @nxa11767 

I followed your instruction. But It's not run on my side. For another example, it works well. 

I used Matlab 2021a academic version. 

0 件の賞賛
返信