<?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 Running S32E288 code from QSPI in S32Z/E</title>
    <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2324929#M237</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My setup:&lt;BR /&gt;S32DS 3.6.4&lt;BR /&gt;S32 Flash Tool&lt;BR /&gt;S32 Debug Probe&lt;BR /&gt;S32E288-975EVB&lt;/P&gt;&lt;P&gt;I have a problem running a simple LED blinking code from QuadSPI Serial Flash with the S32E288-975EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code runs and builds with no issues when I use the S32 Debug Probe "S32E288_FreeRTOS_M33_Debug_RAM_S32Debug".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use the IVT tool to generate a BLOB. The BLOB contains:&lt;BR /&gt;1. the IVT image - I set the boot target as System Manager M33&lt;BR /&gt;2. a DCD file - for initialising RAM&lt;BR /&gt;3. The Application Bootloader binary - The .elf file format is too large to use as the application bootloader, which is why I use the raw binary. As I understand, the .elf adds some additional debug information, but shouldn't modify the code itself.&lt;/P&gt;&lt;P&gt;I then use the S32 Flash Tool to flash my BLOB on the board at location 0x0000_0000 (The start of QuadSPI_flash).&lt;/P&gt;&lt;P&gt;When I power on the board and attach to it using the S32 Debug Probe, I can see, that the Program Counter has gotten stuck at 0xefff_fffe, which seems to be outside the address range in general..? Also, when I attach to the board and set the program counter to the RAM_START, then everything seems to run fine at first, but at some point, the program counter ends up again at 0xefff_fffe. The Disassembly fails to read the command at that location.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where or how can I find what leads to this erratic program counter value or does the value itself already somehow give an indication of the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am also using freeRTOS, should that change anything in the bring up sequence?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What does the DEBUG_RAM version do extra, that my application bootloader or BLOB doesn't?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When writing my own application bootloader, what steps should I write in to my initialization script and what does the compiler take care of? For Example, do I need to initialize stack pointer, do I need to initialize any other peripheral besides RAM?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2026 09:54:10 GMT</pubDate>
    <dc:creator>HiddenSquid</dc:creator>
    <dc:date>2026-03-02T09:54:10Z</dc:date>
    <item>
      <title>Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2324929#M237</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My setup:&lt;BR /&gt;S32DS 3.6.4&lt;BR /&gt;S32 Flash Tool&lt;BR /&gt;S32 Debug Probe&lt;BR /&gt;S32E288-975EVB&lt;/P&gt;&lt;P&gt;I have a problem running a simple LED blinking code from QuadSPI Serial Flash with the S32E288-975EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code runs and builds with no issues when I use the S32 Debug Probe "S32E288_FreeRTOS_M33_Debug_RAM_S32Debug".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use the IVT tool to generate a BLOB. The BLOB contains:&lt;BR /&gt;1. the IVT image - I set the boot target as System Manager M33&lt;BR /&gt;2. a DCD file - for initialising RAM&lt;BR /&gt;3. The Application Bootloader binary - The .elf file format is too large to use as the application bootloader, which is why I use the raw binary. As I understand, the .elf adds some additional debug information, but shouldn't modify the code itself.&lt;/P&gt;&lt;P&gt;I then use the S32 Flash Tool to flash my BLOB on the board at location 0x0000_0000 (The start of QuadSPI_flash).&lt;/P&gt;&lt;P&gt;When I power on the board and attach to it using the S32 Debug Probe, I can see, that the Program Counter has gotten stuck at 0xefff_fffe, which seems to be outside the address range in general..? Also, when I attach to the board and set the program counter to the RAM_START, then everything seems to run fine at first, but at some point, the program counter ends up again at 0xefff_fffe. The Disassembly fails to read the command at that location.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where or how can I find what leads to this erratic program counter value or does the value itself already somehow give an indication of the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am also using freeRTOS, should that change anything in the bring up sequence?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What does the DEBUG_RAM version do extra, that my application bootloader or BLOB doesn't?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When writing my own application bootloader, what steps should I write in to my initialization script and what does the compiler take care of? For Example, do I need to initialize stack pointer, do I need to initialize any other peripheral besides RAM?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 09:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2324929#M237</guid>
      <dc:creator>HiddenSquid</dc:creator>
      <dc:date>2026-03-02T09:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325290#M239</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;HiddenSquid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Sorry for the reply late.&lt;/P&gt;
&lt;P&gt;1.Could you please check your boot mode from QSPI is normal？&lt;/P&gt;
&lt;P&gt;2.Do you boot another demo to generate Blob? Such as the Uart/LED demo in RTD.&lt;/P&gt;
&lt;P&gt;3.Also, could you share your configuration of IVT?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 02:09:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325290#M239</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-03-03T02:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325439#M240</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I will share most of my project with you. I have tried to make it as simple as possible for the time being, but the issue remains.&lt;/P&gt;&lt;P&gt;I believe my board works fine, as I previously had the greenVIP demo running and booting successfully from flash. For BOOT_CFG pins, dip switches at index [2] and [3] are set 1 for booting from flash.&lt;/P&gt;&lt;P&gt;I managed to step through the code at some point, when I manually overwrite the XPSR register. Could that be part of the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 07:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325439#M240</guid>
      <dc:creator>HiddenSquid</dc:creator>
      <dc:date>2026-03-03T07:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325509#M241</link>
      <description>&lt;P&gt;I have concluded, that the issue is in fact from the XPSR register. I don't have the T flag set and the ISR_NUMBER indicates a hard_fault, but for some reason I never really get to the hard fault. Also I don't understand, why or when does the T flag get unset?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 09:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325509#M241</guid>
      <dc:creator>HiddenSquid</dc:creator>
      <dc:date>2026-03-03T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325900#M244</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;HiddenSquid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;How do you set the start/entry pointer? it also would seem that the pointer is not configured correctly.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 03:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2325900#M244</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-03-04T03:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2326033#M246</link>
      <description>&lt;P&gt;I set the entry and start pointer both to 0x2500_0000, which is the start of RAM, which I have initalised with the DCD.&lt;BR /&gt;I have also confirmed that the entry pointer gets correctly set by checking the MC_ME.PRTN0_CORE0_ADDR register, which has a value of 0x2500_0000.&lt;/P&gt;&lt;P&gt;But it still doesn't explain how the Program Counter ever reaches 0xefff_fffe or when or how does the T flag get cleared?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 07:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2326033#M246</guid>
      <dc:creator>HiddenSquid</dc:creator>
      <dc:date>2026-03-04T07:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2326354#M248</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;HiddenSquid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and information.&lt;/P&gt;
&lt;P&gt;I will help you to check this issue and will reply to you as soon as if I get result.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 10:51:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2326354#M248</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-03-04T10:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running S32E288 code from QSPI</title>
      <link>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2328691#M251</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;HiddenSquid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please try to set the&amp;nbsp;RAM entry pointer as the following picture, it is in the .map file.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 07:14:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32Z-E/Running-S32E288-code-from-QSPI/m-p/2328691#M251</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-03-09T07:14:58Z</dc:date>
    </item>
  </channel>
</rss>

