Freemaster

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freemaster

2,945 Views
JonAnder
Contributor I

Hi,

I want to use the freemaster function with Matlab and Simulink (with Model based design). I haven´t found any project or example about this topic, so I don´t know if someone have some project about this. (I am using a microprocessor of S32K344 family). Moreover, I don´t know where is the guide to use freemaster y how I can crew a new interfaces. 

My target is to create a new interface where I could see all variables and generate a new plots with those data.

Thank you for all,

 

0 Kudos
Reply
6 Replies

2,875 Views
JonAnder_Amante
Contributor II

Hi, 

I have a question. If I want to use Freemaster I need to install the application called S32 Design Studio or I only need Matlab and Simulink? Moreover, I have to open .elf file to use Freemaster or I have to do anything else?

 

Thank you

0 Kudos
Reply

2,925 Views
stefanvlad
NXP Employee
NXP Employee

Hi @JonAnder ,

 

Yes, we have examples for S32K344 that use the Simulink Blocks for FreeMASTER, called s32k3xx_freemaster.mdl inside the S32K3\src\S32K3_Examples\fm\s32k3xx_freemaster\ folder

stefanvlad_0-1759835789604.png

after you press CTRL+B (build and deploy) you can open  s32k3xx_freemaster.pmpx and visualize the data in FreeMASTER:

stefanvlad_1-1759835950552.png

you can also open FreeMASTER Config block and press on Help, it will open a new Documentation window with details about it:

stefanvlad_2-1759836173033.png

 

What version of MBDT for S32K3xx are you using?

I recommend you install the latest NXP Model-Based Design Toolbox for S32K3 version 1.7.0 - NXP Community

 

Glad to help,

Stefan V.

 

0 Kudos
Reply

2,904 Views
JonAnder_Amante
Contributor II

Hi, 

The version that I am using is:

NXP_MBDToolbox_S32K3xx (version 1.4.0)
NXP_Support_Package_S32Kxx (version 1.4.0)

thank you

0 Kudos
Reply

2,887 Views
stefanvlad
NXP Employee
NXP Employee

Hi @J

Have you found the fm folder and s32k3xx_freemaster example model?

Are the explanations above clear?

Also I recommend you install the latest NXP Model-Based Design Toolbox for S32K3 version 1.7.0 - NXP Community

 

Let me know,
Stefan V.

0 Kudos
Reply

2,681 Views
JonAnder_Amante
Contributor II

Hi, 

 

I am using the example of motor in SImulink with Model based design but my question is how I can use the interfaz of freemaster when I am loading the program. 

 

Moreover, I don´t get that my project loads in the microprocessor ( I am using the kit of MCSPTE1AK344). I have problems when I try to load in the microprocessor, the message which I have is the next (when I click in "show more"):

cuando intento conectar mi proyecto desde mi ordenador a la placa de evaluacion con el kit MCSPTE1AK344 en simulink me da una serie de errores y no se conecta: GNU gdb (GDB src=ga98a3c7ad40 bld=ga98a3c7ad40 ) 15.1 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-w64-mingw32 --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from C:/Users/110958/Documents/MATLAB/Examples/R2022b/nxps32k3/s32k344_mc_pmsm_2sh_s32ct/s32k344_mc_pmsm_2sh_s32ct.elf... could not connect (error 138): El sistema ha intentado unir una unidad a un directorio de una unidad ya unida. You can't do that when your target is exec'+

0 Kudos
Reply

2,610 Views
stefanvlad
NXP Employee
NXP Employee

Hi @JonAnder_Amante  or @JonAnder 

 

First of all , please use just one account , not multiple accounts.

Second, the solution was provided to this thread: Problem when I try load my program in MDB - NXP Community

Third, we appreciate that you will reply on the same thread, and advise you to continue the conversation there, instead of opening 2-3 threads for the same topic.

 

Best regards,

Stefan V.

0 Kudos
Reply