<?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 Re: Hardfault on GUI_DEVICE_CreateAndLink in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515930#M1416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Mon Nov 23 14:56:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to debug the hard fault to get some more information, such as the cause of the fault, and the address causing the fault. There is an LPCXpresso faq on debugging a hard fault.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:18:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:18:54Z</dc:date>
    <item>
      <title>Hardfault on GUI_DEVICE_CreateAndLink</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515928#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by egnascimento on Wed Nov 18 09:02:14 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, a quick hardware description. My board has LPC1857 + T-55149 Kyocera TFT / Renesas R61509 controller and a 8MBit (512x16) static SRAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;This test is based on &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpco%E2%80%A6il_mcb_1857.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpco…il_mcb_1857.zip&lt;/A&gt;&lt;SPAN&gt; . I have modified LCD initialization with T55149 initialization SPI commands. I have also configured my SRAM and it works well testing write/reads to/from address 0x1C000000 and so on.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging on IAR it goes until GUI_DEVICE_CreateAndLink where the hardfault happens. Debugging it closely, the hardfault happens at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gui_Init -&amp;gt; LCD_X_Init-&amp;gt;_EnlargeBlocks-&amp;gt;GUI_DEVICE_CreateAndLink-&amp;gt;Gui_DEVICE_Create-&amp;gt;GUI_ALLOC_GetFixedBlock-&amp;gt;_InitOnce-&amp;gt;_EnlargeBlocks-&amp;gt;__iar_unaligned_eabi_memcpy function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone please give me a hint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That´s the first time I work with this graphic library so please expect anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Addition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A small update. I figured that FRAMEBUFFER_ADDR was with wrong address. It was with 0x28000000 instead of my SRAM address 0x1C000000. Now it seems that it gets stuck a bit before on _Alloc and stays in a loop inside _RemoveHoles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515928#M1414</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hardfault on GUI_DEVICE_CreateAndLink</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515929#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by egnascimento on Mon Nov 23 05:40:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515929#M1415</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hardfault on GUI_DEVICE_CreateAndLink</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515930#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Mon Nov 23 14:56:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to debug the hard fault to get some more information, such as the cause of the fault, and the address causing the fault. There is an LPCXpresso faq on debugging a hard fault.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hardfault-on-GUI-DEVICE-CreateAndLink/m-p/515930#M1416</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:18:54Z</dc:date>
    </item>
  </channel>
</rss>

