<?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 Interrupt Vector Table relocate to SRAM in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741574#M29896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When attempting to copy the interrupt vector table from flash (0x00000000) to either internal SRAM (0x20000000) or external SRAM (0xA0000000) a Hard Fault is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Hard Fault occurs on the first attempt to write to SRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas or experience with relocating the Interrupt Vector Table to SRAM in a LPC54608 or what could be causing the Hard Fault?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 16:59:21 GMT</pubDate>
    <dc:creator>patrickhudson</dc:creator>
    <dc:date>2018-04-17T16:59:21Z</dc:date>
    <item>
      <title>Interrupt Vector Table relocate to SRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741574#M29896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When attempting to copy the interrupt vector table from flash (0x00000000) to either internal SRAM (0x20000000) or external SRAM (0xA0000000) a Hard Fault is generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Hard Fault occurs on the first attempt to write to SRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas or experience with relocating the Interrupt Vector Table to SRAM in a LPC54608 or what could be causing the Hard Fault?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 16:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741574#M29896</guid>
      <dc:creator>patrickhudson</dc:creator>
      <dc:date>2018-04-17T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt Vector Table relocate to SRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741575#M29897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible interrupts are already active? I presume you delay the VTOR change until after the copy? I could understand a problem with a copy to external SRAM if the controller had not be initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;MCUXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 17:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741575#M29897</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-04-17T17:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt Vector Table relocate to SRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741576#M29898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attempted to disable all known interrupts prior to the table copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Hard Fault occurs prior to the VTOR change.&amp;nbsp; The Hard Fault occurs at the first attempt to read the Interrupt Vector Table in Flash @ address 0x00000000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 17:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741576#M29898</guid>
      <dc:creator>patrickhudson</dc:creator>
      <dc:date>2018-04-17T17:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt Vector Table relocate to SRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741577#M29899</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 appear to have the cause isolated - I was using an int pointer for the reference to the flash interrupt vector table. (had copied code from a different platform)&amp;nbsp; Once I changed it to a uint32_t pointer, the Hard Fault has disappeared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Interrupt-Vector-Table-relocate-to-SRAM/m-p/741577#M29899</guid>
      <dc:creator>patrickhudson</dc:creator>
      <dc:date>2018-04-17T18:24:44Z</dc:date>
    </item>
  </channel>
</rss>

