<?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: Problem running LVGL examples on custom board in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1505716#M49838</link>
    <description>&lt;P&gt;Hi, Julian, thanks for your response.&amp;nbsp; I am afraid so far these steps have not helped.&amp;nbsp; I attempted to load the code via a .bin file rather than the "Debug" method I had been using but the result was the same.&amp;nbsp; I feel pretty confident the board is being programmed correctly since I am seeing something happening on the LCD it is just garbled images (with the LVGL examples).&amp;nbsp; And using the same programming method everything works correctly with the Touch Cursor demo and other non-LVGL demos.&lt;/P&gt;&lt;P&gt;I also tried loading an LVGL example from SDK_2.x_LPCXpresso54018 (v2.8.2) but that also was not successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Aug 2022 17:26:01 GMT</pubDate>
    <dc:creator>mitchkapa</dc:creator>
    <dc:date>2022-08-12T17:26:01Z</dc:date>
    <item>
      <title>Problem running LVGL examples on custom board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1504456#M49816</link>
      <description>&lt;P&gt;We are working on transitioning our code from the LPCXpresso54018 development board to our own custom hardware.&amp;nbsp; On our custom board I am able to successfully run the example projects SDK_2.x_LPCXpresso54S018-&amp;gt;demo_apps-&amp;gt;touch_cursor and SDK_2.x_LPCXpresso54S018-&amp;gt;driver_examples-&amp;gt;lcdc-&amp;gt;lcdc_tft.&amp;nbsp; But if I attempt to run&amp;nbsp;SDK_2.x_LPCXpresso54S018-&amp;gt;lvgl_examples-&amp;gt;"any example" I cannot get any of these examples to run correctly.&amp;nbsp; Something appears to be running but there is just noise on the LCD screen not the correct images.&lt;/P&gt;&lt;P&gt;Here are some notes about our custom hardware:&lt;/P&gt;&lt;P&gt;1.) We are using the LPC54018 not LPC54S018 (but this is true of our NXP development board as well.)&lt;/P&gt;&lt;P&gt;2.) Our custom board uses the 208-pin package.&amp;nbsp; The development board uses the 180-pin package.&amp;nbsp; All of the SDK examples are set for the 180-pin package and I am making the change to the 208-pin package in the MCU settings area and updating the code via the pin configuration tool.&lt;/P&gt;&lt;P&gt;3.) All Ports/Pins between the custom board and the LPC54018 development board match with the exception of the Capacitive Touch interrupt pin which I have on Port3_Pin15.&amp;nbsp; I have added this pin in the pin configuration and modified board.h to reflect this change on the custom board.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions as to why the non-LVGL LCD examples work OK on our custom board but the LVGL examples do not?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 03:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1504456#M49816</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-11T03:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running LVGL examples on custom board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1504457#M49817</link>
      <description>&lt;P&gt;I forgot to add that we are using the same LCD panel on both the custom hardware and the development board.&amp;nbsp; The RK043FN66HS-CTG.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 03:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1504457#M49817</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-11T03:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running LVGL examples on custom board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1505657#M49837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193669"&gt;@mitchkapa&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you please confirm you followed the steps in the example's document?&lt;/P&gt;
&lt;P&gt;It is found under the example: "lpcxpresso54018_littlevgl_xx -&amp;gt; doc -&amp;gt; readme.txt"&lt;/P&gt;
&lt;P&gt;It says the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Running the demo&lt;BR /&gt;================&lt;BR /&gt;This demo is an external flash plain load demo, ROM will copy image in external flash to SRAMX to run:&lt;BR /&gt;1. Build the demo to generate a bin file.&lt;BR /&gt;Note: If need to generate bin file using MCUXpresso IDE, below steps need to be followed:&lt;BR /&gt;Set in example Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;Build steps-&amp;gt;Post-build steps-&amp;gt;Edit&lt;BR /&gt;enbable arm-none-eabi-objcopy -v -O binary "&amp;amp;{BuildArtifactFileName}" "&amp;amp;{BuildArtifactFileBaseName}.bin"&lt;/P&gt;
&lt;P&gt;This plainload example linked the vector table to 0x00000000, but program to external flash 0x10000000.&lt;/P&gt;
&lt;P&gt;2. Program the bin file to external on board flash via SEGGER J-FLASH Lite(V6.22 or higher):&lt;/P&gt;
&lt;P&gt;a. Open SEGGER J-FLASH Lite, select device LPC54018.&lt;/P&gt;
&lt;P&gt;b. Click the 'Erase Chip' to erase the extrenal flash.(if can not success, press SW4 button and reset the board, and try to erase again)&lt;/P&gt;
&lt;P&gt;c. Select the bin data file, set the '.bin/Erase Start' address to 0x10000000, then click 'Program Device'&lt;BR /&gt;Note: Please use above way to program the binary file built by armgcc tool chain to external flash.&lt;BR /&gt;For IAR, KEIL, MCUXpresso IDE, you can use the IDE tool to program the external flash.&lt;/P&gt;
&lt;P&gt;If this example runs correctly, the sample GUI is displayed."&lt;/P&gt;
&lt;P&gt;If this does not work, I would advise trying with the LPC54018's SDK.&lt;/P&gt;
&lt;P&gt;Best regards, Julian&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 15:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1505657#M49837</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-08-12T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running LVGL examples on custom board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1505716#M49838</link>
      <description>&lt;P&gt;Hi, Julian, thanks for your response.&amp;nbsp; I am afraid so far these steps have not helped.&amp;nbsp; I attempted to load the code via a .bin file rather than the "Debug" method I had been using but the result was the same.&amp;nbsp; I feel pretty confident the board is being programmed correctly since I am seeing something happening on the LCD it is just garbled images (with the LVGL examples).&amp;nbsp; And using the same programming method everything works correctly with the Touch Cursor demo and other non-LVGL demos.&lt;/P&gt;&lt;P&gt;I also tried loading an LVGL example from SDK_2.x_LPCXpresso54018 (v2.8.2) but that also was not successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 17:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1505716#M49838</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-12T17:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running LVGL examples on custom board</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1509033#M49914</link>
      <description>&lt;P&gt;This issue is now resolved.&amp;nbsp; It was due to an SDRAM issue on my board.&amp;nbsp; At first I didn't think this was a possible cause because the build output shows a 0% usage for BOARD_SDRAM but that is apparently not accurate.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 12:10:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-running-LVGL-examples-on-custom-board/m-p/1509033#M49914</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-20T12:10:40Z</dc:date>
    </item>
  </channel>
</rss>

