<?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 set OTP BOOT_SRC in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2030073#M57553</link>
    <description>&lt;P&gt;Hi&amp;nbsp;thanhnambka,&lt;/P&gt;
&lt;P&gt;BOOT_SRC is at OTP bank 3, word 0. so the&amp;nbsp;&lt;STRONG&gt;bankIndex&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= 3; &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;regIndex =0&lt;/STRONG&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;parameter is the entire 32bit register (&amp;nbsp;45.12.4.3 OTP memory bank 3, word 0 - Boot ROM control data ), see UM11060 Table 1108.LPC540xx OTP memory bank 3, word 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jan 2025 07:38:30 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2025-01-18T07:38:30Z</dc:date>
    <item>
      <title>How to set OTP BOOT_SRC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2029690#M57548</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;custom board of&amp;nbsp; MCU LPC54S016. I have a question: How to set bits of OTP BOOT_SRS of&amp;nbsp;LPC54S016? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thanhnambka_0-1737108870262.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320074iDE7746A6CC3E41E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thanhnambka_0-1737108870262.png" alt="thanhnambka_0-1737108870262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank all ./.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Jan 2025 10:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2029690#M57548</guid>
      <dc:creator>namht</dc:creator>
      <dc:date>2025-01-17T10:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set OTP BOOT_SRC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2029846#M57549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;thanhnambka,&lt;/P&gt;
&lt;P&gt;OTP is accessed with API. You can refer &lt;EM&gt;&lt;STRONG&gt;otp&lt;/STRONG&gt; &lt;/EM&gt;demo code under MCUXpresso SDK to know how to use OTP API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Function&amp;nbsp;&lt;SPAN&gt;OTP_ProgramRegister, which calls&amp;nbsp;otpProgramReg API, is to set OTP register.&amp;nbsp;BOOT_SRC is at OTP bank 3, word 0, bit 10:9.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more information about this register, see UM11060&amp;nbsp;45.12.4.3 OTP memory bank 3, word 0 - Boot ROM control data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note, OTP is One-Time Programmable memory. That's to say, once OPT is written, it can't be written again. No matter you do system reset or not. Please double check your setting and make sure it is correct before programming OTP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 15:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2029846#M57549</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2025-01-17T15:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to set OTP BOOT_SRC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2030028#M57552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Jun Zhang,&amp;nbsp;Thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i want set value of BOOT_src=0x1 (as image below):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thanhnambka_0-1737167080101.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320158i3852F2793EE27B66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thanhnambka_0-1737167080101.png" alt="thanhnambka_0-1737167080101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I must use function:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;status_t OTP_ProgramRegister(uint32_t bankIndex, uint32_t regIndex, uint32_t value);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I must input 3 parameters:&amp;nbsp;&lt;STRONG&gt;bankIndex&lt;/STRONG&gt; = 3; and what is &lt;STRONG&gt;regIndex&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;value&lt;/STRONG&gt; parameters value to enter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 02:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2030028#M57552</guid>
      <dc:creator>namht</dc:creator>
      <dc:date>2025-01-18T02:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to set OTP BOOT_SRC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2030073#M57553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;thanhnambka,&lt;/P&gt;
&lt;P&gt;BOOT_SRC is at OTP bank 3, word 0. so the&amp;nbsp;&lt;STRONG&gt;bankIndex&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= 3; &amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;regIndex =0&lt;/STRONG&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;value&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;parameter is the entire 32bit register (&amp;nbsp;45.12.4.3 OTP memory bank 3, word 0 - Boot ROM control data ), see UM11060 Table 1108.LPC540xx OTP memory bank 3, word 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 07:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-OTP-BOOT-SRC/m-p/2030073#M57553</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2025-01-18T07:38:30Z</dc:date>
    </item>
  </channel>
</rss>

