- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
FreeMaster is a very good program, but the increased number of monitoring data creates difficulties, so I want to use the ETAS INCA that I used so far.
So I looked up related contents to connect with INCA in Community.
For example
1) Attempted to modify the .tmf file to create the necessary files (.hex, .s19 and .bin) for connection failed.
2) In particular, there was no way to create the .a2l file.
As mentioned earlier, I work in an automatic code generation environment using Simulink-based MBD Toolbox and S32 Design Studio.
I've been thinking about ways to connect INCA in one way or another, but I'd like to ask for help with my concerns.
If you have any experience in resolving the above (1), 2) or if you are currently using it, please kindly ask for detailed explanation.
Solved! Go to Solution.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
Hope this helps,
Marius


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
Hope this helps,
Marius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Happy New Year, Marius
The compiled file was normally downloaded to the target board and verified to be functioning normally.
I have tried hard to find the cause of the file not being created, but I decided to ask you for help again.
Why can't I get the file I want?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes,


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you share with me the log file from the code generation and code compiling?
Marius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Marius
This is done by compiling the file "gpio_mpc574x.slx" as you said, and then going to the _mbd_rtw folder to "!{Path}\tools\S32DS\build_tools\powerpc-eabivle-4_9\bin\powerpc-eabivle-objcopy.exe -O ihex gpio_mpc574x.This is the result of running elf gpio_mpc574x.hex".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Marius
The error is 'The specified path could not be found'.
If so, can you tell me what to do to solve this problem?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Hope this helps,
Marius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Marius
I checked the Matlab path and corrected the problem and confirmed that the files I wanted were created by the manual method you said.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Marius
"Internal or external commands, programs you can run, or This is not a batch file."
Note that the executable file 'powerpc-eabvile-objcopy.exe' is in the "NXP_MBD Toolbox_MPC57xx/tools/S32DS/build_tools/powerpc-eabible-49/bin" folder as attached to my computer.
In my case, is it a problem with the program path?
I am currently using MBDT 3.2, S32DS_Power_V2.1 and MatLab 2019b.
So should I include all of these in my Matlab route?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, as you told me, I will make a related file and check if it is connected to the INCA I want to use.
And as you mentioned, we will consider using a FreeMaster Lite.
