Invalid file identifier. Use fopen to generate a valid file identifier - MPC5775B/E-EVB

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

Invalid file identifier. Use fopen to generate a valid file identifier - MPC5775B/E-EVB

3,140 次查看
snehalshinde
Contributor I

Hello,

I am new to MPC5775B/E-EVB. I am trying to run Model Based design example uart_hello_world_mpc577C example in simulink. But after build I get error as below - 

Invalid file identifier. Use fopen to generate a valid file identifier.
 

Before this example I run hello_world example directly from S32 design studio and it worked fine. Please find attached complete diagnostic. 

 

0 项奖励
回复
2 回复数

3,109 次查看
snehalshinde
Contributor I

Hello Marius,

Thank you for your input I tried your suggestion but I get same error. Please find attached for your reference. 

Snehal. 

 

0 项奖励
回复

3,129 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @snehalshinde ,

According to the log you have attached, the elf and the mot files are successfully created, but the issue appears when the toolbox is trying to flash the toolbox using the RappID Bootloader.

:\NXP_Controller\Project\MPC_Examples\mpc577x\uart>"C:\Users\SnehalShinde\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MB\tools\BootLoader\RAppID_BL.exe" "C:\Users\SnehalShinde\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MB\tools\BootLoader\\" "D:\NXP_Controller\Project\MPC_Examples\mpc577x\uart\uart_hello_world_mpc5777C_mbd_rtw\uart_hello_world_mpc5777C.rbl"  
    The system cannot find the path specified.
    Failure in mbd_mpc574x_make_rtw: Invalid file identifier. Use fopen to generate a valid file identifier.
    Error:Invalid file identifier. Use fopen to generate a valid file identifier.

 There are two ways here to try to solve that:

1. PLease use shorter paths. for example, take the model and add them in C:/test folder and try to flash from there.

2. Please try using the RappID bootloader externally. You can find it in our toolbox and is a GUI that will help you to flash the resulted .mot file. More details, here https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/S32K/935/1/WBNR_FTF2014-AUT-F0014-B_PDF.... 

Hope this helps,

Marius

0 项奖励
回复