<?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 S32K342 IAR startup code problem in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2024450#M44933</link>
    <description>&lt;P&gt;problem similar with the link&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/S32K344-IAR-startup-code-problem-SW32K3-S32M27x-RTD-R21-11-5-0-0/m-p/1974821" target="_blank"&gt;S32K344 IAR startup code problem (SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410) - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;export the project from SDK to IAR and compile, IAR will report Error[Lp004]: actual size (0x448) exceeds maximum size (0x410) for block "interrupt_vector_init".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I tried to change the maximum size to the actual size, and b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;uild succeeded. But, after i download the file into the board, it's&amp;nbsp;&lt;SPAN&gt;going to HardFault handler without going to main function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;using SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410 and IAR VERSION 9.32.1&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2025 03:33:28 GMT</pubDate>
    <dc:creator>fan1234</dc:creator>
    <dc:date>2025-01-09T03:33:28Z</dc:date>
    <item>
      <title>S32K342 IAR startup code problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2024450#M44933</link>
      <description>&lt;P&gt;problem similar with the link&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/S32K344-IAR-startup-code-problem-SW32K3-S32M27x-RTD-R21-11-5-0-0/m-p/1974821" target="_blank"&gt;S32K344 IAR startup code problem (SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410) - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;export the project from SDK to IAR and compile, IAR will report Error[Lp004]: actual size (0x448) exceeds maximum size (0x410) for block "interrupt_vector_init".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I tried to change the maximum size to the actual size, and b&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;uild succeeded. But, after i download the file into the board, it's&amp;nbsp;&lt;SPAN&gt;going to HardFault handler without going to main function.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;using SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410 and IAR VERSION 9.32.1&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 03:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2024450#M44933</guid>
      <dc:creator>fan1234</dc:creator>
      <dc:date>2025-01-09T03:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 IAR startup code problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2041886#M45800</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry for delay. It looks that you are using wrong linker script file (.icf) - probably for S32K1xx instead of S32K342&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 15:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2041886#M45800</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2025-02-11T15:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 IAR startup code problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2044097#M45895</link>
      <description>&lt;P&gt;thank you for&amp;nbsp; your reply. the icf file is correct. i have solved the problem,&amp;nbsp; IAR has it's default startup file which define the entry and vector table, so i need to change them in IAR.&lt;/P&gt;&lt;P&gt;BR!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 02:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2044097#M45895</guid>
      <dc:creator>fan1234</dc:creator>
      <dc:date>2025-02-14T02:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 IAR startup code problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2157883#M52144</link>
      <description>&lt;P&gt;Hello Fan，&lt;/P&gt;&lt;P&gt;I met the same problem. Would you please tell me how to solve this problem.&lt;/P&gt;&lt;P&gt;MCU: S32K312&lt;/P&gt;&lt;P&gt;RTD 6.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 02:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2157883#M52144</guid>
      <dc:creator>ben_chin</dc:creator>
      <dc:date>2025-08-26T02:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 IAR startup code problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2163237#M52393</link>
      <description>sorry for delay. it's been a long time, and i can't provide you too many details now. my advice is to check the differences between the iar and s32ds startup files, and you may find the names of program entry and vector table are different.&lt;BR /&gt;I assume that you have used the startup file provided by s32ds, then you need to change the program entry and vector table definition of you iar project.&lt;BR /&gt;hope that‘s helpful.</description>
      <pubDate>Thu, 04 Sep 2025 02:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-IAR-startup-code-problem/m-p/2163237#M52393</guid>
      <dc:creator>fan1234</dc:creator>
      <dc:date>2025-09-04T02:26:14Z</dc:date>
    </item>
  </channel>
</rss>

