Matlab module running problem in MPC5744 DevKit

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

Matlab module running problem in MPC5744 DevKit

ソリューションへジャンプ
2,417件の閲覧回数
czlyu
Contributor I

Hello Sir or Madam ,

We’re trying to program an existing application generated with Model Based Design Toolbox into the MPC5744P DevKit using the RAppID_BL.exe application via Serial Port (connected with PC via the USB port). The compiler is S32 Design Studio for Power Architecture Version 2017.R1. The example is from Motor Control Course and we followed every step shown in the ADC programming video (Motor Control Class: ADC PROGRAMMING).


The RBF file has flashed into the MPC5744, and Simulink (Matlab2015b) has successfully built the program and created the executable file .elf, and then automatically called the RAppID_BL.exe to download this file into the MPC5744 DevKit. The whole process went well without any error even warning.


However, we found that the program may not run because the Pot_value has no value in the FreeMaster. My problem is that we missed some setups or the S32 Design Studio 2017.R1 needed Updates and Patches to guarantee the executable file can be correctly built?


The attached is the program we created. Could you please check it and provide some support?

Thank you!

Best,
Lyu
Central South University, China.

1 解決策
2,039件の閲覧回数
czlyu
Contributor I

Hello Daniel

The application has worked correctly on the MPC5744 DevKit. Thanks a lot for ur help!

Best,

Lyu

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,039件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Ni Hao czlyu‌,

Please apply the HotFix_3 from here: https://community.nxp.com/thread/451804#comment-916493 

Since the toolbox was release before the S32DS version you are using and there are some changes in the latest GCC Linker that comes with S32DS which are not compatible with the linker files used by the toolbox.

The HotFix_3 replaces these files in the toolbox and will make the application work correctly on the target.

 

Hope it helps!

Daniel

2,040件の閲覧回数
czlyu
Contributor I

Hello Daniel

The application has worked correctly on the MPC5744 DevKit. Thanks a lot for ur help!

Best,

Lyu

0 件の賞賛
返信