<?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: Emwin Fonts in SDRAM + LPC1788 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518561#M2743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by anuj.tanksali on Tue Sep 02 03:27:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. I verified the data and addresses 2 to 3 times. it is correct and the i get same values every time. still the issue remains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my scatter file for SDRAM is below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LR_RAM2 0x0xA1000000 0x00E00000&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 01_CodeFile 0xA1000000 0x00E00000&amp;nbsp; {&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; *(CALIB72, CALIB48, CALIB28, CALIB24, CALIB20, BCKGND , SCR_SPF, SCR_PV, SCR_IRRA, SCR_BIO, UP_ARW, DN_ARW, SCR_SET, SCR_MAT, BCKDES, CLICK, BEEP, ENDOP, SCONN, RED_BUTTON, RED_BUT_MATERIAL) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it because i have defined the sections and not fixed addresses. I plan to hard code the addresses and again check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anuj &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:33:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:33:33Z</dc:date>
    <item>
      <title>Emwin Fonts in SDRAM + LPC1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518559#M2741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by anuj.tanksali on Sat Aug 30 08:57:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully run Emwin on my LPC 1788 board with Emwin fonts. The Emwin Fonts are stored in external NAND flash and on boot up of my system l copy the fonts from NAND flash to SDRAM. I have defined the mapping of fonts in scatter file. In the actual font.c file i have added __attribute to each font array and defined section which i use in my scatter file. I am using keil IDE and extract the font file image using fromelf utility provided by keil to get a bin file. I have defined the load and execution regions in which i have included the sections. i have defined the execution region of SDRAM from 0xA1000000 with 16mb size. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I download the hex file and font file which i extract using fromelf to my board using a PC utility. All is working file and i get to see the fonts on my 7" 800 x 480 pixel display.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As i download the fonts once in my external NAND i assume that i need not download again and just program only the hex file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;all works well when i compile and download all my files at once i.e. hex + font file. but the second time when i download only the hex file with some changes only in hex not font file i get a hard fault error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After compiling if i download hex + font file everytime then it works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as the font bin is already present in NAND and i copy from NAND to SDRAM on boot up i feel it should work if the font is already present and i need to download only hex every time but its not working. I am stuck up , dont know what am i doing wrong. has anybody come across such a problem. Please help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anuj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518559#M2741</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Emwin Fonts in SDRAM + LPC1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518560#M2742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mrabbasi61 on Sat Aug 30 09:38:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was thinking that you can make a little change in your program,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1- download your code + font , then copy font into Nand Flash (just like what you did before)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 change your code in a way that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after start up read from Nand Flash where you put your font, and verify if there is correct data at the correct location. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3- download your code (with out font) and see the result. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518560#M2742</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Emwin Fonts in SDRAM + LPC1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518561#M2743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by anuj.tanksali on Tue Sep 02 03:27:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. I verified the data and addresses 2 to 3 times. it is correct and the i get same values every time. still the issue remains.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my scatter file for SDRAM is below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LR_RAM2 0x0xA1000000 0x00E00000&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 01_CodeFile 0xA1000000 0x00E00000&amp;nbsp; {&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; *(CALIB72, CALIB48, CALIB28, CALIB24, CALIB20, BCKGND , SCR_SPF, SCR_PV, SCR_IRRA, SCR_BIO, UP_ARW, DN_ARW, SCR_SET, SCR_MAT, BCKDES, CLICK, BEEP, ENDOP, SCONN, RED_BUTTON, RED_BUT_MATERIAL) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it because i have defined the sections and not fixed addresses. I plan to hard code the addresses and again check.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anuj &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Emwin-Fonts-in-SDRAM-LPC1788/m-p/518561#M2743</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:33:33Z</dc:date>
    </item>
  </channel>
</rss>

