<?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 IAP boot image generation using Keil uVision 4 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-boot-image-generation-using-Keil-uVision-4/m-p/583757#M20916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jeffh on Thu Aug 01 15:45:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use IAP to update the internal flash boot image at runtime.&amp;nbsp; I am using lpc4357 so one bank will be running the current boot image and the other bank will be used to store/run the new image.&amp;nbsp; I have this working but I have to compile the new image specifically for the intended bank or else it won't work.&amp;nbsp; Is there some way to use relative addressing in Keil so I can compile one image to use for IAP regardless if it is placed in bank 0 or 1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two more issues concerning IAP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The IAP section in the manual says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"IAP commands which result in a flash write/erase operation use 32 bytes of space in the top portion of the on-chip RAM for execution."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which specific RAM address range is being used for the 32 bytes?&amp;nbsp; The 4357 has local and AHB RAM in non-contiguous regions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When IAP is completed and I set the active flash bank to the new boot image, I want to reset the chip to boot using the new image.&amp;nbsp; I call NVIC_SystemReset() but this seems to just reset and run the old image.&amp;nbsp; What is the correct way to boot to the new image?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:09:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:09:22Z</dc:date>
    <item>
      <title>IAP boot image generation using Keil uVision 4</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-boot-image-generation-using-Keil-uVision-4/m-p/583757#M20916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jeffh on Thu Aug 01 15:45:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use IAP to update the internal flash boot image at runtime.&amp;nbsp; I am using lpc4357 so one bank will be running the current boot image and the other bank will be used to store/run the new image.&amp;nbsp; I have this working but I have to compile the new image specifically for the intended bank or else it won't work.&amp;nbsp; Is there some way to use relative addressing in Keil so I can compile one image to use for IAP regardless if it is placed in bank 0 or 1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two more issues concerning IAP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The IAP section in the manual says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"IAP commands which result in a flash write/erase operation use 32 bytes of space in the top portion of the on-chip RAM for execution."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which specific RAM address range is being used for the 32 bytes?&amp;nbsp; The 4357 has local and AHB RAM in non-contiguous regions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When IAP is completed and I set the active flash bank to the new boot image, I want to reset the chip to boot using the new image.&amp;nbsp; I call NVIC_SystemReset() but this seems to just reset and run the old image.&amp;nbsp; What is the correct way to boot to the new image?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-boot-image-generation-using-Keil-uVision-4/m-p/583757#M20916</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:09:22Z</dc:date>
    </item>
  </channel>
</rss>

