Application Download to S32K3x4-Q172

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

Application Download to S32K3x4-Q172

跳至解决方案
1,256 次查看
MDenzinger
Contributor I

Hello,

the Application Download to the S32K3x4-Q172 DevKit from Simulink failes with an Error.

Error.png

After that error it reports that the Download was successful but it does not work.

Download.png

 

I can download and debug the generated ELF with S32DS and PEmicro GDB just fine.

Thanks in advance,

Micha

0 项奖励
回复
1 解答
1,229 次查看
georgevictor
NXP Employee
NXP Employee

Hi @MDenzinger ,

It looks like you are using the MBDT for S32K3 (version 1.1.0) and you found the problem caused by the Windows limitation regarding the path maximum length of 248. 

The latest MBDT for S32K3 release (version 1.2.0) includes a fix for the misleading successfully download message. Now an error message appears when the executable file cannot be found.

Best regards,

Victor

在原帖中查看解决方案

4 回复数
1,230 次查看
georgevictor
NXP Employee
NXP Employee

Hi @MDenzinger ,

It looks like you are using the MBDT for S32K3 (version 1.1.0) and you found the problem caused by the Windows limitation regarding the path maximum length of 248. 

The latest MBDT for S32K3 release (version 1.2.0) includes a fix for the misleading successfully download message. Now an error message appears when the executable file cannot be found.

Best regards,

Victor

1,222 次查看
MDenzinger
Contributor I

Yes, exactly, as i wrote in a Reply down below.

Thanks for your help.

0 项奖励
回复
1,247 次查看
MDenzinger
Contributor I

The Process is pegdbserver_console.exe in NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.1.4.202109291837\win32

0 项奖励
回复
1,238 次查看
MDenzinger
Contributor I

I found the problem.

The GDB-Server couldn't load the .arp file for the chip because the path was longer than 248 characters (**bleep** you Windows).

CMD>CM C:\Users\mdenzinger_lokal\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.1.4.202109291837\win32\gdi\P&E\supportFiles_ARM\NXP\S32K3xx\nxp_s32k344_1x32x1012k_hse_disabl▒

.ARP file does not exist.
Error loading programming algorithm - load aborted.
Error occured during Flash programming.

Most users probably won't have this issue because theis username is shorter (It's only 5 characters to long).

The workaround for me is to change the MATLAB Add-Ons Folder.

Maybe you could do something about that in future versions of the MBDT

0 项奖励
回复