<?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: How to verify Flash programming if Boot ROM is mapped to address 0? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-verify-Flash-programming-if-Boot-ROM-is-mapped-to-address/m-p/517573#M2244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Mon Dec 14 08:34:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;See section 38.8 in the UM (rev 3.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your verification process should write a 1 to the MEMMAP register at 0x400FC040 before reading the lower part of flash for compare.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NB: use a word access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do it anyway, it can't do any harm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ISTR that only 128 bytes are overlayed, but that is mostly irrelevant as any amount will cause a mismatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't move you code higher as your app's vectors MUST be placed at 0 for correct operation (and Boot ROM's valid code check).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:30:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:30:24Z</dc:date>
    <item>
      <title>How to verify Flash programming if Boot ROM is mapped to address 0?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-verify-Flash-programming-if-Boot-ROM-is-mapped-to-address/m-p/517572#M2243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by giusloq on Mon Dec 14 02:04:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a DOS script that programs and verifies Flash memory of LPC1778 device. I'm using J-Link debugger probe that includes a simple command-line application that writes and reads memory of the connected device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The verify process failed immediately at address 0. I think because I verify starting from address 0, but after reset Boot ROM (or a part of it) is mapped to address 0. If I understood correcly, the size of the Boot ROM remapped to address 0 after reset is 0x3FF (1024 bytes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First question: does this mean the user application code can't use those first 1024 bytes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second question: how to implement a correct verify procedure? In this scenario, I think I need to verify starting from address 0x400, ignoring address range 0x000-0x3FF. Correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-verify-Flash-programming-if-Boot-ROM-is-mapped-to-address/m-p/517572#M2243</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify Flash programming if Boot ROM is mapped to address 0?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-verify-Flash-programming-if-Boot-ROM-is-mapped-to-address/m-p/517573#M2244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Mon Dec 14 08:34:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;See section 38.8 in the UM (rev 3.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your verification process should write a 1 to the MEMMAP register at 0x400FC040 before reading the lower part of flash for compare.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NB: use a word access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do it anyway, it can't do any harm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ISTR that only 128 bytes are overlayed, but that is mostly irrelevant as any amount will cause a mismatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't move you code higher as your app's vectors MUST be placed at 0 for correct operation (and Boot ROM's valid code check).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-verify-Flash-programming-if-Boot-ROM-is-mapped-to-address/m-p/517573#M2244</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:30:24Z</dc:date>
    </item>
  </channel>
</rss>

