<?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 LPC1768 programmer using ISP in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1768-programmer-using-ISP/m-p/566615#M18522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by i0n on Wed Jan 09 04:16:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently in trouble with reading the first 512 bytes in flash memory in ISP mode (verirfication after writing). The memory I read back is not actually flash memory at 0-511 address but the boot rom which is remapped automatically on reset in ISP mode. I'm pretty sure that I have written to flash memory correctly because chip works properly after being reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also try changing the MEMMAP bit in Memory Mapping Control register so I could read the real first 512 bytes of flash memory. But chip reply the address of the register (0x400F C040) is out of memory address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, I saw that flash magic has done this task very well. I almost can't see the difference between reading sector 0 and other sectors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My assumption is that other well worked programmers has to write a small application on RAM. In that application, we need to change the MEMMAP bit to remap the first bytes to user flash memory, then enter IAP to re-invoke ISP. Then we could read the sector 0 normally. Is my assumption right? is it the only solution? Is there any other simpler way to do the task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If you have any idea, please kindly share with me. If you are not ready to share in public, so please contact with me via my email address : [email]&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:n.b.tr.87@gmail.com"&gt;n.b.tr.87@gmail.com&lt;/A&gt;&lt;SPAN&gt;[/email].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a good time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:23:45 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:23:45Z</dc:date>
    <item>
      <title>LPC1768 programmer using ISP</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1768-programmer-using-ISP/m-p/566615#M18522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by i0n on Wed Jan 09 04:16:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently in trouble with reading the first 512 bytes in flash memory in ISP mode (verirfication after writing). The memory I read back is not actually flash memory at 0-511 address but the boot rom which is remapped automatically on reset in ISP mode. I'm pretty sure that I have written to flash memory correctly because chip works properly after being reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also try changing the MEMMAP bit in Memory Mapping Control register so I could read the real first 512 bytes of flash memory. But chip reply the address of the register (0x400F C040) is out of memory address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, I saw that flash magic has done this task very well. I almost can't see the difference between reading sector 0 and other sectors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My assumption is that other well worked programmers has to write a small application on RAM. In that application, we need to change the MEMMAP bit to remap the first bytes to user flash memory, then enter IAP to re-invoke ISP. Then we could read the sector 0 normally. Is my assumption right? is it the only solution? Is there any other simpler way to do the task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;If you have any idea, please kindly share with me. If you are not ready to share in public, so please contact with me via my email address : [email]&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:n.b.tr.87@gmail.com"&gt;n.b.tr.87@gmail.com&lt;/A&gt;&lt;SPAN&gt;[/email].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a good time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1768-programmer-using-ISP/m-p/566615#M18522</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:23:45Z</dc:date>
    </item>
  </channel>
</rss>

