<?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 KSDK1.2/PE/Flexbus - Getting hardware fault on first access in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507190#M3889</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'm using KDS 3.0, KSDK 1.2, and MQX_KSDK on a K64. I'm trying to use the Flexbus to interface to a bunch of memory-mapped registers in an FPGA. The first time my code tries to access a register in the FPGA, it throws a hard fault interrupt. While I have tried multiple base addresses based on the system memory map as described in the reference manual, I'm currently trying to use 0xa0000000 as the base address into a 64K address space using CS2. Using the Memory Browser, I readback FB_CSAR2 = 0xA0000000, FB_CSMR2 = 0x00000001, and FB_CSCR2 = 0x004C0180. I believe the only bit in the control register that's important at this stage is the AA bit which is set so that an access to a valid address space should auto-generate an acknowledge to prevent a hardware fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an error in my configuration? Is there something else I need to configure to prevent the hardware fault (maybe in the MPU)? Is there a known problem with this component in PE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Feb 2016 15:48:36 GMT</pubDate>
    <dc:creator>larrykoos</dc:creator>
    <dc:date>2016-02-12T15:48:36Z</dc:date>
    <item>
      <title>KSDK1.2/PE/Flexbus - Getting hardware fault on first access</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507190#M3889</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'm using KDS 3.0, KSDK 1.2, and MQX_KSDK on a K64. I'm trying to use the Flexbus to interface to a bunch of memory-mapped registers in an FPGA. The first time my code tries to access a register in the FPGA, it throws a hard fault interrupt. While I have tried multiple base addresses based on the system memory map as described in the reference manual, I'm currently trying to use 0xa0000000 as the base address into a 64K address space using CS2. Using the Memory Browser, I readback FB_CSAR2 = 0xA0000000, FB_CSMR2 = 0x00000001, and FB_CSCR2 = 0x004C0180. I believe the only bit in the control register that's important at this stage is the AA bit which is set so that an access to a valid address space should auto-generate an acknowledge to prevent a hardware fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an error in my configuration? Is there something else I need to configure to prevent the hardware fault (maybe in the MPU)? Is there a known problem with this component in PE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507190#M3889</guid>
      <dc:creator>larrykoos</dc:creator>
      <dc:date>2016-02-12T15:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK1.2/PE/Flexbus - Getting hardware fault on first access</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507191#M3890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;I believe you are bitten by the Global Chip Select (CS0) default capability.&lt;/P&gt;&lt;P&gt;Please try to enable and disable CS0 which will disable the global chip select feature to allow the CS2 to operate correctly.&lt;/P&gt;&lt;P&gt;Please let us know if this resolves the issue or not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 18:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507191#M3890</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-02-12T18:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK1.2/PE/Flexbus - Getting hardware fault on first access</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507192#M3891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response. That corrected the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507192#M3891</guid>
      <dc:creator>larrykoos</dc:creator>
      <dc:date>2016-02-12T19:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK1.2/PE/Flexbus - Getting hardware fault on first access</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507193#M3892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome.&amp;nbsp; Thanks for update.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KSDK1-2-PE-Flexbus-Getting-hardware-fault-on-first-access/m-p/507193#M3892</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-02-12T19:51:30Z</dc:date>
    </item>
  </channel>
</rss>

