MBDT: S32K144 - No such file or directory

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

MBDT: S32K144 - No such file or directory

946 Views
StephP
Contributor II

Hello,

I just Installed MATLAB 2025b on my computer with all the add-on to work with NXP S32K1XX and i try the "gpio-S32K144" example and i have file error directory or not existing error.

Can you help me please

Thanks

Tags (2)
0 Kudos
Reply
2 Replies

856 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @StephP,

First of all, i want to mention that the MBDT for S32K1 has been release in 2022 and it has been only tested on the MATLAB & Simulink versions from R2016a to R2022a, which were available on the release date. Unfortunately, there is currently no release planned to address the R2025b. However, I have tried to run the same example on my end on R2025b and it generated the .elf file.

Now, I had a look on your log, and I have some suggestions you might try. 

1. Try deleting the gpio_s32k144_mbd_rtw folder, together with the slprj folder and try generating code again.

2. Try uninstalling and installing the toolbox in a shorter path with no spaces and then try again. You can do that by adjusting first the MATLAB Add-Ons Settings under the Intallation Folder in Settings -> MATLAB -> Add-Ons.

mariuslucianand_0-1762942149318.png

Hope this helps,

Marius

 

 

0 Kudos
Reply

829 Views
StephP
Contributor II

Hello @mariuslucianand ,

Thanks for the answer.

Do you know which NXP add-ons are compatible and tested on 2025b ?

1. Try deleting the gpio_s32k144_mbd_rtw folder, together with the slprj folder and try generating code again.

-> No change, still have the errors

2. Try uninstalling and installing the toolbox in a shorter path with no spaces and then try again. You can do that by adjusting first the MATLAB Add-Ons Settings under the Intallation Folder in Settings -> MATLAB -> Add-Ons.

-> i modified the add o path in C:\Users\stefp\AppData\Roaming\MathWorks\MATLAB_Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx

still the same error but now the toolchain used is "MinGW64 | gmake (64-bit Windows)" i do not have the option for S32DS GCC anymore

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2201772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMBDT%3A%20S32K144%20-%20No%20such%20file%20or%20directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2201772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EHello%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EI%20just%20Installed%20MATLAB%202025b%20on%20my%20computer%20with%20all%20the%20add-on%20to%20work%20with%20NXP%20S32K1XX%20and%20i%20try%20the%20%22gpio-S32K144%22%20example%20and%20i%20have%20file%20error%20directory%20or%20not%20existing%20error.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3ECan%20you%20help%20me%20please%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2204167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBDT%3A%20S32K144%20-%20No%20such%20file%20or%20directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2204167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72088%22%20target%3D%22_blank%22%3E%40mariuslucianand%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThanks%20for%20the%20answer.%3C%2FP%3E%3CP%3EDo%20you%20know%20which%20NXP%20add-ons%20are%20compatible%20and%20tested%20on%202025b%20%3F%3C%2FP%3E%3CP%3E1.%20Try%20deleting%20the%26nbsp%3Bgpio_s32k144_mbd_rtw%26nbsp%3Bfolder%2C%20together%20with%20the%20slprj%20folder%20and%20try%20generating%20code%20again.%3C%2FP%3E%3CP%3E-%26gt%3B%20No%20change%2C%20still%20have%20the%20errors%3C%2FP%3E%3CP%3E2.%20Try%20uninstalling%20and%20installing%20the%20toolbox%20in%20a%20shorter%20path%20with%20no%20spaces%20and%20then%20try%20again.%20You%20can%20do%20that%20by%20adjusting%20first%20the%20MATLAB%20Add-Ons%20Settings%20under%20the%20Intallation%20Folder%20in%20Settings%20-%26gt%3B%20MATLAB%20-%26gt%3B%20Add-Ons.%3C%2FP%3E%3CP%3E-%26gt%3B%20i%20modified%20the%20add%20o%20path%20in%26nbsp%3B%3CSPAN%3EC%3A%5CUsers%5Cstefp%5CAppData%5CRoaming%5CMathWorks%5CMATLAB_Add-Ons%5CToolboxes%5CNXP_MBDToolbox_S32K1xx%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Estill%20the%20same%20error%20but%20now%20the%20toolchain%20used%20is%20%22MinGW64%20%7C%20gmake%20(64-bit%20Windows)%22%20i%20do%20not%20have%20the%20option%20for%20S32DS%20GCC%20anymore%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2203517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBDT%3A%20S32K144%20-%20No%20such%20file%20or%20directory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2203517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256717%22%20target%3D%22_blank%22%3E%40StephP%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EFirst%20of%20all%2C%20i%20want%20to%20mention%20that%20the%20MBDT%20for%20S32K1%20has%20been%20release%20in%202022%20and%20it%20has%20been%20only%20tested%20on%20the%20MATLAB%20%26amp%3B%20Simulink%20versions%20from%26nbsp%3B%3CSPAN%3ER2016a%20to%20R2022a%2C%20which%20were%20available%20on%20the%20release%20date.%20Unfortunately%2C%20there%20is%20currently%20no%20release%20planned%20to%20address%20the%20R2025b.%20However%2C%20I%20have%20tried%20to%20run%20the%20same%20example%20on%20my%20end%20on%20R2025b%20and%20it%20generated%20the%20.elf%20file.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENow%2C%20I%20had%20a%20look%20on%20your%20log%2C%20and%20I%20have%20some%20suggestions%20you%20might%20try.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20Try%20deleting%20the%26nbsp%3B%3CCODE%20class%3D%22bp-text-code%20txt%22%3Egpio_s32k144_mbd_rtw%3C%2FCODE%3E%26nbsp%3Bfolder%2C%20together%20with%20the%20slprj%20folder%20and%20try%20generating%20code%20again.%3C%2FP%3E%0A%3CP%3E2.%20Try%20uninstalling%20and%20installing%20the%20toolbox%20in%20a%20shorter%20path%20with%20no%20spaces%20and%20then%20try%20again.%20You%20can%20do%20that%20by%20adjusting%20first%20the%20MATLAB%20Add-Ons%20Settings%20under%20the%20Intallation%20Folder%20in%20Settings%20-%26gt%3B%20MATLAB%20-%26gt%3B%20Add-Ons.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mariuslucianand_0-1762942149318.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mariuslucianand_0-1762942149318.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F365219iE3E09292C66EA223%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mariuslucianand_0-1762942149318.png%22%20alt%3D%22mariuslucianand_0-1762942149318.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHope%20this%20helps%2C%3C%2FP%3E%0A%3CP%3EMarius%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E