Issue with "Download Failed" Error While Deploying Model to S32K3xx EVB

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

Issue with "Download Failed" Error While Deploying Model to S32K3xx EVB

跳至解决方案
1,004 次查看
Berke_E
Contributor I

Hello,

I am encountering an issue while working with the NXP Model-based Design Toolbox (MBDT) on MATLAB/Simulink. I am trying to deploy the example model s32k3xx_dio_ebt to my S32K312EVB-Q172. However, during the deployment process, I receive the attached error message. The board is powered correctly, and the USB cable is connected to the J40 port. Necessary LEDs also confirm that connections are true. The board looks like working. So, my questions are:

1- Could this issue be related to a missing configuration in the Simulink model or MATLAB setup?

2- Do I need to apply any specific firmware updates to the OpenSDA or J-Link debugger for S32K3xx support?

Please let me know the solution to resolve the issues as soon as possible, thank you.

 

0 项奖励
回复
1 解答
951 次查看
dragostoma
NXP Employee
NXP Employee

Hi, @Berke_E,

First of all, what version of toolbox are you using and with what version of MATLAB?

Generally, the error you encountered occurs when the board is not connected correctly or is not turned on. But from what you say, the board is connected and functional.

From what I can see from the screenshot you provided, your model seems to have reset all its block settings to the first option (RGBLED0_BLUE), which is why you have the 3 warnings. This may mean that some settings in the model configuration were not compliant. What I recommend is to try to do a cleanup (by deleting the s32k3xx_dio_ebt_TresosProject folder and reopening the model example) and try downloading again.

It would also be interesting to mention if you have other debugger tools connected to the laptop, in which case conflicts may occur in the download mode.

Also, a picture of your board would be helpful so we can see any improper jumper connections.

 

Best regards,

Dragos

在原帖中查看解决方案

0 项奖励
回复
2 回复数
857 次查看
Berke_E
Contributor I

Hi there,

I was using my old usb cable and board was saying that connection is okay by the necessary LED on. However I could not see the board from my PC. Then, I changed the cable and problem solved. It seems that was all about the cable. So keep this in mind that if you want to check connection, do not trust only the board's connection LED.

Thank you.

0 项奖励
回复
952 次查看
dragostoma
NXP Employee
NXP Employee

Hi, @Berke_E,

First of all, what version of toolbox are you using and with what version of MATLAB?

Generally, the error you encountered occurs when the board is not connected correctly or is not turned on. But from what you say, the board is connected and functional.

From what I can see from the screenshot you provided, your model seems to have reset all its block settings to the first option (RGBLED0_BLUE), which is why you have the 3 warnings. This may mean that some settings in the model configuration were not compliant. What I recommend is to try to do a cleanup (by deleting the s32k3xx_dio_ebt_TresosProject folder and reopening the model example) and try downloading again.

It would also be interesting to mention if you have other debugger tools connected to the laptop, in which case conflicts may occur in the download mode.

Also, a picture of your board would be helpful so we can see any improper jumper connections.

 

Best regards,

Dragos

0 项奖励
回复