<?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 LINSTACK .mex file error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884131#M36385</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I wanted to try out the LIN STACK example for S32K144, but when I try to open the .mex configuration file, this error shows up&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (90).png" style="width: 479px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283206iC216EF1CC906C26F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (90).png" alt="Screenshot (90).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think the issue might be somewhere in the configuration file, because some MCAL components (Dio, EcuM and Gpt) are missing in the Peripherals Tool, even though they are configured in the file. Middleware tab is empty as well (even though it is populated in the .mex file). I'd be very grateful if anybody could help me fix this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tereza&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 08:54:22 GMT</pubDate>
    <dc:creator>tkubincova</dc:creator>
    <dc:date>2024-06-10T08:54:22Z</dc:date>
    <item>
      <title>S32K1 LINSTACK .mex file error</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884131#M36385</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I wanted to try out the LIN STACK example for S32K144, but when I try to open the .mex configuration file, this error shows up&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (90).png" style="width: 479px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283206iC216EF1CC906C26F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (90).png" alt="Screenshot (90).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think the issue might be somewhere in the configuration file, because some MCAL components (Dio, EcuM and Gpt) are missing in the Peripherals Tool, even though they are configured in the file. Middleware tab is empty as well (even though it is populated in the .mex file). I'd be very grateful if anybody could help me fix this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tereza&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884131#M36385</guid>
      <dc:creator>tkubincova</dc:creator>
      <dc:date>2024-06-10T08:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LINSTACK .mex file error</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884411#M36403</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232429"&gt;@tkubincova&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you confirm the versions for the LIN STACK package are correct? From release notes:&lt;/P&gt;
&lt;PRE&gt;S32K1 platform:
 - S32 Design Studio for S32 Platform 3.5
 - S32K1_S32M24X Real-Time Drivers ASR 4.4 &amp;amp; R21-11 Version 2.0.0

It is strongly recommended that the following compilers/versions are used:
- NXP GCC 10.2.0 20200723
- GHS Green Hills MULTI 7.1.6d COMPILER 2020.1.4&lt;/PRE&gt;
&lt;P&gt;Also, please share the error log when clicking "Details &amp;gt; &amp;gt;".&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 18:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884411#M36403</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-06-10T18:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LINSTACK .mex file error</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884895#M36430</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am indeed using S32DS v3.5 with the following packages:&lt;/P&gt;
&lt;P&gt;S32K1_S32M24X Real-Time Drivers Version 2.0.0 AUTOSAR 4.4 R21-1&lt;/P&gt;
&lt;P&gt;S32K1 Real-Time Drivers Version 2.0.0 AUTOSAR 4.4&amp;nbsp; R21-11&lt;/P&gt;
&lt;P&gt;S32K1_S32M24X LINSTACK AUTOSAR 4.4 Version 1.0.2&lt;/P&gt;
&lt;P&gt;S32K1 LINSTACK AUTOSAR 4.4 Version 1.0.2&lt;/P&gt;
&lt;P&gt;and I am also using NXP GCC 10.2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (92).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283405iDA70D909882A948D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (92).png" alt="Screenshot (92).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;clicking the details just shows the same message again:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (93).png" style="width: 491px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283406iF89835A46CA2F0C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (93).png" alt="Screenshot (93).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;here's the error log output if it will help:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!ENTRY com.nxp.swtools.sharedconfiguration 4 2 2024-06-11 09:42:19.569
!MESSAGE Problems occurred when invoking code from plug-in: "com.nxp.swtools.sharedconfiguration".
!STACK 0
java.lang.IllegalArgumentException: Unknown escape character "L" on position 5
	at com.nxp.swtools.common.utils.text.UtilsText.unescapeCharacters(UtilsText.java:460)
	at com.nxp.swtools.common.utils.text.UtilsText.unescapeCharacters(UtilsText.java:476)
	at com.nxp.swtools.resourcetables.model.config.ScalarUtils.decodeFromStorageFormat(ScalarUtils.java:572)
	at com.nxp.swtools.resourcetables.model.config.ScalarConfig.&amp;lt;init&amp;gt;(ScalarConfig.java:461)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:104)
	at com.nxp.swtools.resourcetables.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:263)
	at com.nxp.swtools.periphs.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:30)
	at com.nxp.swtools.periphs.model.config.PeriphsSettingConfigFactory.createStructConfig(PeriphsSettingConfigFactory.java:34)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:80)
	at com.nxp.swtools.resourcetables.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:263)
	at com.nxp.swtools.periphs.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:30)
	at com.nxp.swtools.periphs.model.config.PeriphsSettingConfigFactory.createStructConfig(PeriphsSettingConfigFactory.java:34)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:80)
	at com.nxp.swtools.resourcetables.model.config.ArrayConfig.&amp;lt;init&amp;gt;(ArrayConfig.java:315)
	at com.nxp.swtools.periphs.model.config.ArrayConfig.&amp;lt;init&amp;gt;(ArrayConfig.java:34)
	at com.nxp.swtools.periphs.model.config.PeriphsSettingConfigFactory.createArrayConfig(PeriphsSettingConfigFactory.java:50)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:87)
	at com.nxp.swtools.resourcetables.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:263)
	at com.nxp.swtools.periphs.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:30)
	at com.nxp.swtools.periphs.model.config.PeriphsSettingConfigFactory.createStructConfig(PeriphsSettingConfigFactory.java:34)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:80)
	at com.nxp.swtools.resourcetables.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:263)
	at com.nxp.swtools.periphs.model.config.StructConfig.&amp;lt;init&amp;gt;(StructConfig.java:30)
	at com.nxp.swtools.periphs.model.config.PeriphsSettingConfigFactory.createStructConfig(PeriphsSettingConfigFactory.java:34)
	at com.nxp.swtools.resourcetables.model.config.SettingConfigFactory.createSettingConfig(SettingConfigFactory.java:80)
	at com.nxp.swtools.periphs.model.config.ConfigSetConfig.lambda$2(ConfigSetConfig.java:168)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at com.nxp.swtools.periphs.model.config.ConfigSetConfig.&amp;lt;init&amp;gt;(ConfigSetConfig.java:162)
	at com.nxp.swtools.periphs.model.config.ComponentInstanceConfig.&amp;lt;init&amp;gt;(ComponentInstanceConfig.java:581)
	at com.nxp.swtools.periphs.model.config.FunctionalGroup.lambda$1(FunctionalGroup.java:149)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at com.nxp.swtools.periphs.model.config.FunctionalGroup.&amp;lt;init&amp;gt;(FunctionalGroup.java:146)
	at com.nxp.swtools.periphs.model.config.PeriphsProfile.lambda$1(PeriphsProfile.java:213)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at com.nxp.swtools.periphs.model.config.PeriphsProfile.&amp;lt;init&amp;gt;(PeriphsProfile.java:213)
	at com.nxp.swtools.periphs.controller.Controller.loadProfileFromSharedConfig(Controller.java:548)
	at com.nxp.swtools.periphs.controller.Controller.reloadFromSharedConfig(Controller.java:421)
	at com.nxp.swtools.periphs.controller.Controller$1.configurationReloaded(Controller.java:182)
	at com.nxp.swtools.provider.configuration.impl.SharedConfiguration.lambda$2(SharedConfiguration.java:295)
	at com.nxp.swtools.provider.configuration.impl.SharedConfiguration$1.run(SharedConfiguration.java:345)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at com.nxp.swtools.provider.configuration.impl.SharedConfiguration.safeRun(SharedConfiguration.java:339)
	at com.nxp.swtools.provider.configuration.impl.SharedConfiguration.fireReloadEvent(SharedConfiguration.java:295)
	at com.nxp.swtools.provider.configuration.impl.SharedConfiguration.copyFrom(SharedConfiguration.java:225)
	at com.nxp.swtools.provider.configuration.SharedConfigurationFactory.applyNewConfig(SharedConfigurationFactory.java:188)
	at com.nxp.swtools.utils.ConfigurationUtils.lambda$4(ConfigurationUtils.java:402)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Tereza&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 07:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1884895#M36430</guid>
      <dc:creator>tkubincova</dc:creator>
      <dc:date>2024-06-11T07:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LINSTACK .mex file error</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1885519#M36468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232429"&gt;@tkubincova&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Does your installation path include any symbols or spaces? Is this issue just apparent with the LIN example, or are the other examples from the RTD affected as well?&lt;/P&gt;
&lt;P&gt;Could you try reinstalling S32DS? This seems like an issue with the installation and Config Tools.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 21:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1885519#M36468</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-06-11T21:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1 LINSTACK .mex file error</title>
      <link>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1886257#M36507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I tried checking everything but there do not seem to be any spaces or special symbols included in any of paths. This issue happens only with the LIN example, every other RTD example works fine.&lt;/P&gt;
&lt;P&gt;I also tried reinstalling S32DS and the packages but the issue with the LIN example still persists.&lt;/P&gt;
&lt;P&gt;UPDATE: I tried manually removing the linstack_config instance from the .mex file and then opening it and the error disappears and the other components are displayed correctly, if the example works in your case, could you please send me the .mex file so that I could try comparing if there's any difference? I have no idea what else could be causing this issue&lt;/P&gt;
&lt;P&gt;ANOTHER UPDATE:&lt;/P&gt;
&lt;P&gt;I found the culprit&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (97).png" style="width: 538px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283764i2D3012391324C29E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (97).png" alt="Screenshot (97).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This reverse backslash was causing the issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tereza&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 16:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1-LINSTACK-mex-file-error/m-p/1886257#M36507</guid>
      <dc:creator>tkubincova</dc:creator>
      <dc:date>2024-06-12T16:29:12Z</dc:date>
    </item>
  </channel>
</rss>

