S32K144EVB, Problem with Simulink external mode

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

S32K144EVB, Problem with Simulink external mode

1,782件の閲覧回数
freemank1224
Contributor I

Hi,

I am trying the example "extmode_s32k1xx" on my S32K144 evaluation board, here is the model view:

model.png

I can build the model and download code to my board, cause the RED led near the USB port is blinking. BUT after that, when I press "connect to target" button in the model window, error occurs:

1.png

 As shown in the next few pics, I have checked the corresponding settings over and over again:

1. The "MBD_S32K1xx_Config_Information" block setting,

2.png

2. In the "Model Configuration Parameters" window, "Code Generation --> Interface" Tab, I have modified the "MEX-file arguments" to 1,3,19200, which indicates COM3 with 19200 baud rate.

3.png

 3. In the device manager page on my computer, COM3 is the virtual COM port provided by the OpenSDA software, the driver was correctly installed. It's consistent with the  model setting.

So, is there any problem in my operations? Please give me some guidance, thank you!

  

0 件の賞賛
返信
1 返信

1,762件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @freemank1224 ,

What Matlab version are you using?

Marius

0 件の賞賛
返信