Using ETAS INCA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
8,024件の閲覧回数
youngkugpark
Contributor III

Dear All,

0 件の賞賛
返信
1 解決策
8,018件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

MBDT comes with native support only for the FreeMaster tool. You should also be aware that there is a second option for the FreeMaster, which is called FreeMaster Lite. Maybe this will help you.

I don't know how the ETAS INCA works so I am afraid that I can not help you with that...

Now for generating the hex/bin/s19 MBDT comes with the compiler files so you have to press the following commands in order to get the desired files.

Run the mbd_find_mpc_root command to find the install path of the MBDT. With that path you can type the following command "{Path}\tools\S32DS\build_tools\powerpc-eabivle-4_9\bin\powerpc-eabivle-objcopy.exe -O ihex gpio_mpc574x.elf gpio_mpc574x.hex" to generate the hex file.

mariuslucianand_0-1608717887314.png

If you want to embed all of the above commands in the Makefile and to create them automatically, please go to {Path}\mbdtbx_mpc574x\mbdtbx_mpc574x open the mbd_mpc574x.tmf and add the desired commands starting with the lines 558 

mariuslucianand_1-1608718266738.png

Hope this helps,

Marius

 

元の投稿で解決策を見る

0 件の賞賛
返信
13 返答(返信)
8,019件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

MBDT comes with native support only for the FreeMaster tool. You should also be aware that there is a second option for the FreeMaster, which is called FreeMaster Lite. Maybe this will help you.

I don't know how the ETAS INCA works so I am afraid that I can not help you with that...

Now for generating the hex/bin/s19 MBDT comes with the compiler files so you have to press the following commands in order to get the desired files.

Run the mbd_find_mpc_root command to find the install path of the MBDT. With that path you can type the following command "{Path}\tools\S32DS\build_tools\powerpc-eabivle-4_9\bin\powerpc-eabivle-objcopy.exe -O ihex gpio_mpc574x.elf gpio_mpc574x.hex" to generate the hex file.

mariuslucianand_0-1608717887314.png

If you want to embed all of the above commands in the Makefile and to create them automatically, please go to {Path}\mbdtbx_mpc574x\mbdtbx_mpc574x open the mbd_mpc574x.tmf and add the desired commands starting with the lines 558 

mariuslucianand_1-1608718266738.png

Hope this helps,

Marius

 

0 件の賞賛
返信
7,956件の閲覧回数
youngkugpark
Contributor III

Happy New Year, Marius

0 件の賞賛
返信
7,950件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

Thank you! I wish you all the best in 2021 :D!

So, in the generated folder you were not able to find the required file format after adding these lines of code?

Marius

0 件の賞賛
返信
7,942件の閲覧回数
youngkugpark
Contributor III

Yes, 

0 件の賞賛
返信
7,927件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Can you share with me the log file from the code generation and code compiling?

Marius

タグ(1)
0 件の賞賛
返信
7,913件の閲覧回数
youngkugpark
Contributor III

Dear, Marius

0 件の賞賛
返信
7,902件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark 

Apparently, there is more to change than that.

Let' try to generate them manually. For that go to the _mbd_rtw generated folder 

Run the mbd_find_mpc_root command to find the install path of the MBDT. With that path you can type the following command "!{Path}\tools\S32DS\build_tools\powerpc-eabivle-4_9\bin\powerpc-eabivle-objcopy.exe -O ihex gpio_mpc574x.elf gpio_mpc574x.hex" to generate the hex file or the extension that you are interested in.

Hope this helps,

Marius

 

0 件の賞賛
返信
7,888件の閲覧回数
youngkugpark
Contributor III

Hello, Marius

0 件の賞賛
返信
7,890件の閲覧回数
youngkugpark
Contributor III

Hello, Marius

0 件の賞賛
返信
7,881件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @youngkugpark ,

You have to replace the {Path} with the output of the mbd_find_mpc_toolbox.

You have to open the gpio_mpc574x_mbd_rtw folder with the generated code  just like in the image below.

For you, the command should be like this

!C:/MATLAB/ADD-Ons/Toolboxes/NXP_MBDToolbox_MPC57xx/tools/S32DS/build_tools/powerpc-eabvile-4_9/powerpc-eabvile-objcopy.exe -O -ihex gpio_mpc574x.el gpio_mpc574x.hex

mariuslucianand_0-1610097172893.png

 

Hope this helps,

Marius

0 件の賞賛
返信
7,514件の閲覧回数
youngkugpark
Contributor III

Hello, Marius

0 件の賞賛
返信
7,867件の閲覧回数
youngkugpark
Contributor III

Hello, Marius

0 件の賞賛
返信
7,998件の閲覧回数
youngkugpark
Contributor III

 

0 件の賞賛
返信