<?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>LPCXpresso IDE FAQs中的主题 LPC18xx / LPC43xx Internal Flash Drivers</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/LPC18xx-LPC43xx-Internal-Flash-Drivers/m-p/472518#M90</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Background&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For LPC18 and LPC43 family parts which contain internal flash, such as LPC1857 and LPC4357, LPCXpresso IDE provides direct support for programming the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: For more general information on developing for LPC18 and LPC43 family parts, please see the FAQ "&lt;A href="https://community.nxp.com/thread/389077"&gt;LPC18xx / LPC43xx support in LPCXpresso&lt;/A&gt; ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Single Flash Bank parts&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC18x2 / LPC43x2 parts provide a single 512KB bank Flash, located at address 0x1a000000. The appropriate default flash driver (LPC18x2_43x2_512.cfx) to program this will be selected when you create a new project using the New Project Wizard for one of these parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Dual Flash Bank parts&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A number of LPC18/43 parts also provide dual banks of internal flash, with bank A starting at address 0x1a000000, and bank B starting at address 0x1b000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LPC18x3/LPC43x3 : Flash = 2x 256KB (512 KB total)&lt;/LI&gt;&lt;LI&gt;LPC18x5/LPC43x5 : Flash = 2x 384KB (768 KB total)&lt;/LI&gt;&lt;LI&gt;LPC18x7/LPC43x7 : Flash = 2x 512KB ( 1 MB total)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a new project using the New Project Wizard for one of these parts, an appropriate default flash driver &lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;(from LPC18x3_43x3_2x256_BootA.cfx / LPC18x5_43x5_2x384_BootA.cfx /LPC18x7_43x7_2x512_BootA.cfx)&lt;/STRONG&gt;&lt;/SPAN&gt; will be selected which after programming the part will also configure it to boot from Bank A flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to boot from Bank B flash instead, then you will need to manually configure the project to use the corresponding "BootB" flash driver (&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;LPC18x3_43x3_2x256_BootB.cfx /LPC18x5_43x5_2x384_BootB.cfx / LPC18x7_43x7_2x512_BootB.cfx&lt;/STRONG&gt;&lt;/SPAN&gt;). This can be done by selecting the appropriate driver file in the "Flash driver" field of the Memory Configuration Editor. Note that in this case you will probably also need to delete Flash Bank A from the list of available memories (or at least reorder so that Flash Bank B is first).&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Note about the "default" flash driver&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default flash driver selected by the project wizard when you create a project for an LPC18/43 part with internal flash, as described above, will generally not be displayed in the flash driver field in the Memory Configuration Editor. This field will typically only contain a filename if you manually override the default flash driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can confirm the flash driver being used though by looking at the debug log generated when you start a debug session for your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 22:10:38 GMT</pubDate>
    <dc:creator>lpcware-support</dc:creator>
    <dc:date>2016-03-31T22:10:38Z</dc:date>
    <item>
      <title>LPC18xx / LPC43xx Internal Flash Drivers</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/LPC18xx-LPC43xx-Internal-Flash-Drivers/m-p/472518#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Background&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For LPC18 and LPC43 family parts which contain internal flash, such as LPC1857 and LPC4357, LPCXpresso IDE provides direct support for programming the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: For more general information on developing for LPC18 and LPC43 family parts, please see the FAQ "&lt;A href="https://community.nxp.com/thread/389077"&gt;LPC18xx / LPC43xx support in LPCXpresso&lt;/A&gt; ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Single Flash Bank parts&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC18x2 / LPC43x2 parts provide a single 512KB bank Flash, located at address 0x1a000000. The appropriate default flash driver (LPC18x2_43x2_512.cfx) to program this will be selected when you create a new project using the New Project Wizard for one of these parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Dual Flash Bank parts&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A number of LPC18/43 parts also provide dual banks of internal flash, with bank A starting at address 0x1a000000, and bank B starting at address 0x1b000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LPC18x3/LPC43x3 : Flash = 2x 256KB (512 KB total)&lt;/LI&gt;&lt;LI&gt;LPC18x5/LPC43x5 : Flash = 2x 384KB (768 KB total)&lt;/LI&gt;&lt;LI&gt;LPC18x7/LPC43x7 : Flash = 2x 512KB ( 1 MB total)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a new project using the New Project Wizard for one of these parts, an appropriate default flash driver &lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;(from LPC18x3_43x3_2x256_BootA.cfx / LPC18x5_43x5_2x384_BootA.cfx /LPC18x7_43x7_2x512_BootA.cfx)&lt;/STRONG&gt;&lt;/SPAN&gt; will be selected which after programming the part will also configure it to boot from Bank A flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to boot from Bank B flash instead, then you will need to manually configure the project to use the corresponding "BootB" flash driver (&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;STRONG&gt;LPC18x3_43x3_2x256_BootB.cfx /LPC18x5_43x5_2x384_BootB.cfx / LPC18x7_43x7_2x512_BootB.cfx&lt;/STRONG&gt;&lt;/SPAN&gt;). This can be done by selecting the appropriate driver file in the "Flash driver" field of the Memory Configuration Editor. Note that in this case you will probably also need to delete Flash Bank A from the list of available memories (or at least reorder so that Flash Bank B is first).&lt;/P&gt;&lt;H1&gt;&lt;/H1&gt;&lt;H2&gt;&lt;SPAN style="color: #eb7a3d;"&gt;Note about the "default" flash driver&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default flash driver selected by the project wizard when you create a project for an LPC18/43 part with internal flash, as described above, will generally not be displayed in the flash driver field in the Memory Configuration Editor. This field will typically only contain a filename if you manually override the default flash driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can confirm the flash driver being used though by looking at the debug log generated when you start a debug session for your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 22:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/LPC18xx-LPC43xx-Internal-Flash-Drivers/m-p/472518#M90</guid>
      <dc:creator>lpcware-support</dc:creator>
      <dc:date>2016-03-31T22:10:38Z</dc:date>
    </item>
  </channel>
</rss>

