PIL TIMEOUT ERROR 10 seconds

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PIL TIMEOUT ERROR 10 seconds

2,765 次查看
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 回复数

2,690 次查看
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 项奖励

2,739 次查看
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 项奖励

2,730 次查看
CauTran
Contributor I

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

 

0 项奖励

2,705 次查看
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 项奖励

2,675 次查看
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 项奖励

2,664 次查看
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 项奖励

2,617 次查看
CauTran
Contributor I

Hi @nxa11767 ,

Can you support me online to deal with this issue? 

thank you so much.

0 项奖励

2,649 次查看
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 项奖励