<?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 Re: There's an error turning the example code in S32K</title>
    <link>https://community.nxp.com/t5/S32K/There-s-an-error-turning-the-example-code/m-p/2021404#M44724</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244576"&gt;@bohee2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that you mentioned using an S32K324 device, but it appears you are loading an example code intended for the S32K344 device. Please follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Generate a new project with the correct MCU, specifically for the S32K324.&lt;/LI&gt;
&lt;LI&gt;Copy the application source files from your existing project to the new one.&lt;/LI&gt;
&lt;LI&gt;Transfer any customizations you made to the project properties (e.g., configuration settings, peripheral setup, etc.).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If the issue persists, could you try attaching to the running target instead of loading the executable? This will allow us to pause and inspect the memory address at which the MCU is running. If the MCU is located at memory address 0x20400100 or similar, it indicates that the device is in recovery mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 18:51:14 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-01-02T18:51:14Z</dc:date>
    <item>
      <title>There's an error turning the example code</title>
      <link>https://community.nxp.com/t5/S32K/There-s-an-error-turning-the-example-code/m-p/2018532#M44531</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;We are using the s32k324 model now.&lt;/P&gt;&lt;P&gt;Among the example codes supported by nxp, you are using C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32K3\RTD\Crypto_TS_T40D34M30I0R0\examples\S32DS\S32K3XXX\Hse_Ip_AesEncAsyncIrq_S32K344.&lt;/P&gt;&lt;P&gt;I turned the code, but I got an error like the picture, so I don't know how to solve it, so I'm writing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bohee2_1-1734948645472.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317056i47837D1A4FED5A3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bohee2_1-1734948645472.png" alt="bohee2_1-1734948645472.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;Searching for Kernel Symbols...&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;rsp_qC - qSymbol: 5F74785F7468726561645F63757272656E745F707472&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;_tx_thread_current_ptr not found. ThreadX analysis not enabled.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Unable to load libusb0.dll &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Copyright 2024 P&amp;amp;E Microcomputer Systems,Inc.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Command Line :C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\win32\pegdbserver_console -device=NXP_S32K3xx_S32K344 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=50�&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;PEmicro Interface detected - Flash Version 11.37 &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;CMD&amp;gt;RE&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Initializing.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Target has been RESET and is active.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;CMD&amp;gt;CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\supportFiles_ARM\NXP\S32K3xx\nxp_s32k344_1x32x980k_hse_enabled.arp&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Initializing.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Initialized.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;;version 1.02, 01/18/2024, Copyright 2024 P&amp;amp;E Microcomputer Systems, &lt;A href="http://www.pemicro.com" target="_blank"&gt;www.pemicro.com&lt;/A&gt; [S32K3x4_hse_enabled]&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;;device nxp, s32k344, 1x32x980k,desc=hse_enabled &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;;begin_cs device=$00400000, length=$003D4000, ram=$20400000&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Loading programming algorithm ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Done.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Programming sequency is : erase, blank check, program, and verify {default} &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;CMD&amp;gt;VC&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Verifying object file CRC-16 to device ranges ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;block 00400000-0040688F ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Ok. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Checksum Verification Successful. (Cumulative CRC-16=$7FF3) &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Application verified in memory. No need to reprogram. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;CMD&amp;gt;RE&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Initializing.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Target has been RESET and is active.&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;REM Enable clocks for selected cores in MC_ME module &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Delaying for 200mS ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Done. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;REM Initialize RAM and DMA: &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;REM Initialize DMA TCD: &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;REM Copy valid executable code to RAM for each core to be used. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;REM Enable required cores in MC_ME: &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Delaying for 20mS ... &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Done. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_5.9.2.202409131555\supportFiles_ARM\NXP\S32K3xx\S32K344.mac) completed. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;BusFault: An imprecise (asynchronous) data access error has occurred. &lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;HardFault: A fault has been escalated to a hard fault.&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;This is an error I'm having right now.&lt;/P&gt;&lt;P&gt;I'm attaching the code as well.&lt;/P&gt;&lt;P&gt;Please tell me how to resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/There-s-an-error-turning-the-example-code/m-p/2018532#M44531</guid>
      <dc:creator>bohee2</dc:creator>
      <dc:date>2024-12-23T10:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: There's an error turning the example code</title>
      <link>https://community.nxp.com/t5/S32K/There-s-an-error-turning-the-example-code/m-p/2021404#M44724</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244576"&gt;@bohee2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that you mentioned using an S32K324 device, but it appears you are loading an example code intended for the S32K344 device. Please follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Generate a new project with the correct MCU, specifically for the S32K324.&lt;/LI&gt;
&lt;LI&gt;Copy the application source files from your existing project to the new one.&lt;/LI&gt;
&lt;LI&gt;Transfer any customizations you made to the project properties (e.g., configuration settings, peripheral setup, etc.).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If the issue persists, could you try attaching to the running target instead of loading the executable? This will allow us to pause and inspect the memory address at which the MCU is running. If the MCU is located at memory address 0x20400100 or similar, it indicates that the device is in recovery mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 18:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/There-s-an-error-turning-the-example-code/m-p/2021404#M44724</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-01-02T18:51:14Z</dc:date>
    </item>
  </channel>
</rss>

