<?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>S32KのトピックRe: S32K144 bootload jump to HardFault_Handler</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792330#M2628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the exact same issue - on UART0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share your solution please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2019 02:00:42 GMT</pubDate>
    <dc:creator>klau</dc:creator>
    <dc:date>2019-06-28T02:00:42Z</dc:date>
    <item>
      <title>S32K144 bootload jump to HardFault_Handler</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792328#M2626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About my project, I have to add SPI-API into bootloader,in order to get data from SPI_flash(w25x16),but I found that:&lt;/P&gt;&lt;P&gt;Situation one:&lt;/P&gt;&lt;P&gt;----&amp;gt;I do hardware-init normally(include CLK_init,IO_init.SPI_init etc) ,and in main, I do nothing just jump to app directly,It is OK ,app works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation Two:&lt;/P&gt;&lt;P&gt;----&amp;gt;I only add one operation in main ,that is&amp;lt;after hardware-init , I read data from SPI_flash once&amp;gt;, and then jump to app, but it is NG, it will jump to HardFault_Handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my thought , maybe caused by Interrupt or DeInit, so before jump , I Deinit IO, SPI,NVIC, and add __disable_irp(),but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70222i1615AA55764A2EDC/image-size/large?v=v2&amp;amp;px=999" title="微信图片_20181213104333.png" alt="微信图片_20181213104333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so, I need help!!!&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 02:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792328#M2626</guid>
      <dc:creator>langweihua1643</dc:creator>
      <dc:date>2018-12-13T02:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 bootload jump to HardFault_Handler</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792329#M2627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to debug the code. You can start with&amp;nbsp;a reading CSFR register to determine which exception has occurred. The description of this register can be found on the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf" title="http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please refer to&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-334902"&gt;Fault handling on S32K144&lt;/A&gt;,&amp;nbsp;&amp;nbsp;there can be found the description and example code&amp;nbsp;shows the exception handling on S32K144 MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you consider that the issue can be in reading data from SPI flash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2018 09:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792329#M2627</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-12-17T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 bootload jump to HardFault_Handler</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792330#M2628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the exact same issue - on UART0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share your solution please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 02:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-bootload-jump-to-HardFault-Handler/m-p/792330#M2628</guid>
      <dc:creator>klau</dc:creator>
      <dc:date>2019-06-28T02:00:42Z</dc:date>
    </item>
  </channel>
</rss>

