<?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 Can I rewrite ROM API  on LPC812 ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-I-rewrite-ROM-API-on-LPC812/m-p/1082404#M41602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use LPC812.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I erased All flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I rewrite ROM API ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2020 14:03:29 GMT</pubDate>
    <dc:creator>kuma_hati_labo</dc:creator>
    <dc:date>2020-05-13T14:03:29Z</dc:date>
    <item>
      <title>Can I rewrite ROM API  on LPC812 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-I-rewrite-ROM-API-on-LPC812/m-p/1082404#M41602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use LPC812.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I erased All flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I rewrite ROM API ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 14:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-I-rewrite-ROM-API-on-LPC812/m-p/1082404#M41602</guid>
      <dc:creator>kuma_hati_labo</dc:creator>
      <dc:date>2020-05-13T14:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I rewrite ROM API  on LPC812 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-I-rewrite-ROM-API-on-LPC812/m-p/1082405#M41603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shojiro, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the ROM APIs&amp;nbsp; reside&amp;nbsp; on an area different than Flash memory, it should&amp;nbsp; not be&amp;nbsp; possible to erase them after erasing the flash memory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107302i41100D809E102717/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From figure 2.2.1 Memory mapping,&amp;nbsp; LPC81x UM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other point to have into account is that the APIs residing on boot ROM will not require the flash memory to execute commands&amp;nbsp; and routines, instead,&amp;nbsp; they use pointers to certain areas of the boot ROM space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;For example :&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The IAP (In application Programming API ) used to&amp;nbsp; perform read and write operations to the flash memory , as directed from the user code. Will require to have an specfic location from&amp;nbsp; the bootROM&amp;nbsp; (#define IAP_LOCATION 0x1fff1ff1) and 32 bytes of RAM to perform commands.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The other APIs ( like Power Profile, I2C-bus ROM API, and USART API )&amp;nbsp; requiere a pointer to the &lt;EM&gt;ROM driver table&lt;/EM&gt; (located on boot ROM ) to&amp;nbsp; call their respective routines. &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107199iA218CE37088136FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;From Fig 51. USART driver routines pointer structure.LPC81x UM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this information helps you.&lt;/P&gt;&lt;P&gt;Best regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 20:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-I-rewrite-ROM-API-on-LPC812/m-p/1082405#M41603</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-14T20:58:28Z</dc:date>
    </item>
  </channel>
</rss>

