<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic S32K1 MBDT Build Error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K1-MBDT-Build-Error/m-p/1924226#M9356</link>
    <description>&lt;P&gt;Hi NXP Support,&lt;/P&gt;&lt;P&gt;I am trying to build a simple simulink model for a S32K144. It contains a protected model, with the same simulink config as the top model. When updating model I get the following warnings:&lt;BR /&gt;&lt;SPAN&gt;Failure in mbd_s32k_get_referenced: Unable to find system or file 'NameOfProtectedModel'.&lt;BR /&gt;I believe this may be due to the protected model and it not finding a .slx file of model name as it is .slxp, however not sure if this is causing the issue during build. When building I get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assembler details : "/bin/arm-none-eabi-gcc" -c -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -x assembler-with-cpp -DSTART_FROM_FLASH -o SetupFiles&lt;BR /&gt;Product: rtwshared.lib&lt;BR /&gt;Build product type: library&lt;BR /&gt;Building file BINARYSEARCH_real32_Treal_T.o...&lt;BR /&gt;"/bin/arm-none-eabi-gcc" -c -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O1 -g -gstrict-dwarf -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__FPU_PRESENT=1 -DSTART_FROM_FLASH -D__FPU_USED=1 -D__NVIC_PRIO_BITS=FEATURE_NVIC_PRIO_BITS -DERRATA_E9527 -o BINARYSEARCH_real32_Treal_T.o -DCPU_S32K144HFT0VLLT -I. -I.. -I../instrumented -I..\..\.. -I"C:\Program Files\MATLAB\R2023b\simulink\include" -I"C:\Program Files\MATLAB\R2023b\extern\include" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src" -I"C:\Program Files\MATLAB\R2023b\rtw\c\libsrc" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\tcpip" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\serial" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\custom" -IC:\Projects\Ancit_2 -IC:\Projects\Ancit_2\slprj\mbd_s32k\_sharedutils -IC:\PROGRA~1\MATLAB\R2023b\extern\include -IC:\PROGRA~1\MATLAB\R2023b\simulink\include -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\src -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\src\ext_mode\common -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\ert -I"/arm-none-eabi/include" -I"./common" -I"./inc" -I"./src/clock/S32K1xx" -I"./src/sim/S32K144" -I"./src/power/S32K1xx" -I"./S32K144/include" -I"../common" -I"../inc" -I"../src/clock/S32K1xx" -I"../src/sim/S32K144" -I"../src/power/S32K1xx" -I"../S32K144/include" -I"../instrumented/common" -I"../instrumented/inc" -I"../instrumented/src/clock/S32K1xx" -I"../instrumented/src/sim/S32K144" -I"../instrumented/src/power/S32K1xx" -I"../instrumented/S32K144/include" BINARYSEARCH_real32_Treal_T.c&lt;BR /&gt;The system cannot find the path specified.&lt;BR /&gt;gmake: *** [BINARYSEARCH_real32_Treal_T.o] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:Error(s) encountered while building "rtwshared"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BINARYSEARCH_real32_Treal_T.c is part of the protected model and this is available as part of simulink unpacking the protected model, so do not understand why it cannot be found?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, if the model is built without the protected model (protected model commented out), the model builds fine. If after I build this model the protected model is uncommented, then the build will be successful, but only until matlab is closed and I am back to the start. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your help to solve the issue would be much appreciated and please let me know if you need any more infomation.&lt;BR /&gt;Many thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 18:58:39 GMT</pubDate>
    <dc:creator>MattSoda</dc:creator>
    <dc:date>2024-08-02T18:58:39Z</dc:date>
    <item>
      <title>S32K1 MBDT Build Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K1-MBDT-Build-Error/m-p/1924226#M9356</link>
      <description>&lt;P&gt;Hi NXP Support,&lt;/P&gt;&lt;P&gt;I am trying to build a simple simulink model for a S32K144. It contains a protected model, with the same simulink config as the top model. When updating model I get the following warnings:&lt;BR /&gt;&lt;SPAN&gt;Failure in mbd_s32k_get_referenced: Unable to find system or file 'NameOfProtectedModel'.&lt;BR /&gt;I believe this may be due to the protected model and it not finding a .slx file of model name as it is .slxp, however not sure if this is causing the issue during build. When building I get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assembler details : "/bin/arm-none-eabi-gcc" -c -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -x assembler-with-cpp -DSTART_FROM_FLASH -o SetupFiles&lt;BR /&gt;Product: rtwshared.lib&lt;BR /&gt;Build product type: library&lt;BR /&gt;Building file BINARYSEARCH_real32_Treal_T.o...&lt;BR /&gt;"/bin/arm-none-eabi-gcc" -c -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O1 -g -gstrict-dwarf -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__FPU_PRESENT=1 -DSTART_FROM_FLASH -D__FPU_USED=1 -D__NVIC_PRIO_BITS=FEATURE_NVIC_PRIO_BITS -DERRATA_E9527 -o BINARYSEARCH_real32_Treal_T.o -DCPU_S32K144HFT0VLLT -I. -I.. -I../instrumented -I..\..\.. -I"C:\Program Files\MATLAB\R2023b\simulink\include" -I"C:\Program Files\MATLAB\R2023b\extern\include" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src" -I"C:\Program Files\MATLAB\R2023b\rtw\c\libsrc" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\tcpip" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\serial" -I"C:\Program Files\MATLAB\R2023b\rtw\c\src\ext_mode\custom" -IC:\Projects\Ancit_2 -IC:\Projects\Ancit_2\slprj\mbd_s32k\_sharedutils -IC:\PROGRA~1\MATLAB\R2023b\extern\include -IC:\PROGRA~1\MATLAB\R2023b\simulink\include -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\src -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\src\ext_mode\common -IC:\PROGRA~1\MATLAB\R2023b\rtw\c\ert -I"/arm-none-eabi/include" -I"./common" -I"./inc" -I"./src/clock/S32K1xx" -I"./src/sim/S32K144" -I"./src/power/S32K1xx" -I"./S32K144/include" -I"../common" -I"../inc" -I"../src/clock/S32K1xx" -I"../src/sim/S32K144" -I"../src/power/S32K1xx" -I"../S32K144/include" -I"../instrumented/common" -I"../instrumented/inc" -I"../instrumented/src/clock/S32K1xx" -I"../instrumented/src/sim/S32K144" -I"../instrumented/src/power/S32K1xx" -I"../instrumented/S32K144/include" BINARYSEARCH_real32_Treal_T.c&lt;BR /&gt;The system cannot find the path specified.&lt;BR /&gt;gmake: *** [BINARYSEARCH_real32_Treal_T.o] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:Error(s) encountered while building "rtwshared"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BINARYSEARCH_real32_Treal_T.c is part of the protected model and this is available as part of simulink unpacking the protected model, so do not understand why it cannot be found?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, if the model is built without the protected model (protected model commented out), the model builds fine. If after I build this model the protected model is uncommented, then the build will be successful, but only until matlab is closed and I am back to the start. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your help to solve the issue would be much appreciated and please let me know if you need any more infomation.&lt;BR /&gt;Many thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 18:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K1-MBDT-Build-Error/m-p/1924226#M9356</guid>
      <dc:creator>MattSoda</dc:creator>
      <dc:date>2024-08-02T18:58:39Z</dc:date>
    </item>
  </channel>
</rss>

