<?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>i.MX Processors中的主题 INVSTATE Hardfault when running LVGL GUI GUIDER example</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/INVSTATE-Hardfault-when-running-LVGL-GUI-GUIDER-example/m-p/1739843#M214047</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been unsuccessfully trying to run &lt;STRONG&gt;evkcmimxrt1060_lvgl_guider_bm example&lt;/STRONG&gt;. After pressing the debug button in MCUXPRESSO, a &lt;STRONG&gt;hardfault&lt;/STRONG&gt; is produced. The fault is produced due to an &lt;STRONG&gt;INVSTATE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;This is a custom board with the MIMXRT1062 MCU, where a 8MB HYPERRAM IC is connected to FLEXSPI2 and used as external memory. The flash memory is a 16MB SOIC NOR connected to FLEXSPI1. The display is a 1024x600 LVDS display connected to the ELCDIF interface via a&amp;nbsp;&lt;SPAN&gt;SN65LVDS93A (RGB to LVDS converter IC).&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some tweaking and with the help of&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336" target="_self"&gt;kerryzhou&lt;/A&gt;&amp;nbsp;I have been able to run the&amp;nbsp;&lt;STRONG&gt;evkmimxrt1060_elcdif_rgb&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;succesfully with acceptable FPS. The details about that conversation is in this topic: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/evkmimxrt1060-elcdif-rgb-performance-issues/m-p/1739838#M214046TF-8" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/evkmimxrt1060-elcdif-rgb-performance-issues/m-p/1739838#M214046TF-8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now, that I know the hardware is correct, I moved to next stage, which is to test the display using LVGL. Unfortunately I haven't been able to make it work yet, because of the &lt;STRONG&gt;INVSTATE&lt;/STRONG&gt; &lt;STRONG&gt;hardfault&lt;/STRONG&gt;. This happens every time I press debug and immediatly after the flash is written in the target. Please see picture below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG-20231014-WA0016.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245124i8F7C8350A5C2C59E/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG-20231014-WA0016.jpg" alt="IMG-20231014-WA0016.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does this mean that the culprit is in the address 0x0000810C?&lt;/P&gt;&lt;P&gt;I have attached the MCUX project which is the modified example for my custom board.&lt;/P&gt;&lt;P&gt;Please&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336" target="_self"&gt;@kerryzhou&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840" target="_self"&gt;@jeremyzhou&lt;/A&gt;&amp;nbsp;give me a helping hand. I have tried lots and lots of things with no result.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Patricio&lt;/P&gt;</description>
    <pubDate>Sun, 15 Oct 2023 20:34:34 GMT</pubDate>
    <dc:creator>patriciocohen</dc:creator>
    <dc:date>2023-10-15T20:34:34Z</dc:date>
    <item>
      <title>INVSTATE Hardfault when running LVGL GUI GUIDER example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/INVSTATE-Hardfault-when-running-LVGL-GUI-GUIDER-example/m-p/1739843#M214047</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been unsuccessfully trying to run &lt;STRONG&gt;evkcmimxrt1060_lvgl_guider_bm example&lt;/STRONG&gt;. After pressing the debug button in MCUXPRESSO, a &lt;STRONG&gt;hardfault&lt;/STRONG&gt; is produced. The fault is produced due to an &lt;STRONG&gt;INVSTATE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;This is a custom board with the MIMXRT1062 MCU, where a 8MB HYPERRAM IC is connected to FLEXSPI2 and used as external memory. The flash memory is a 16MB SOIC NOR connected to FLEXSPI1. The display is a 1024x600 LVDS display connected to the ELCDIF interface via a&amp;nbsp;&lt;SPAN&gt;SN65LVDS93A (RGB to LVDS converter IC).&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some tweaking and with the help of&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336" target="_self"&gt;kerryzhou&lt;/A&gt;&amp;nbsp;I have been able to run the&amp;nbsp;&lt;STRONG&gt;evkmimxrt1060_elcdif_rgb&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;succesfully with acceptable FPS. The details about that conversation is in this topic: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/evkmimxrt1060-elcdif-rgb-performance-issues/m-p/1739838#M214046TF-8" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/evkmimxrt1060-elcdif-rgb-performance-issues/m-p/1739838#M214046TF-8&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now, that I know the hardware is correct, I moved to next stage, which is to test the display using LVGL. Unfortunately I haven't been able to make it work yet, because of the &lt;STRONG&gt;INVSTATE&lt;/STRONG&gt; &lt;STRONG&gt;hardfault&lt;/STRONG&gt;. This happens every time I press debug and immediatly after the flash is written in the target. Please see picture below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG-20231014-WA0016.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245124i8F7C8350A5C2C59E/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG-20231014-WA0016.jpg" alt="IMG-20231014-WA0016.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does this mean that the culprit is in the address 0x0000810C?&lt;/P&gt;&lt;P&gt;I have attached the MCUX project which is the modified example for my custom board.&lt;/P&gt;&lt;P&gt;Please&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336" target="_self"&gt;@kerryzhou&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840" target="_self"&gt;@jeremyzhou&lt;/A&gt;&amp;nbsp;give me a helping hand. I have tried lots and lots of things with no result.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Patricio&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 20:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/INVSTATE-Hardfault-when-running-LVGL-GUI-GUIDER-example/m-p/1739843#M214047</guid>
      <dc:creator>patriciocohen</dc:creator>
      <dc:date>2023-10-15T20:34:34Z</dc:date>
    </item>
  </channel>
</rss>

