<?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: Question about OTP of LPC54605J512  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898713#M36090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay, I am trying to reproduce the issue using a NXPboard. I will update you as soon as possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sol&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2019 16:54:21 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2019-06-25T16:54:21Z</dc:date>
    <item>
      <title>Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898704#M36081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I am using LPC54605J512 and trying to read/write OTP. I can read/write Banks 0 and 3 with no problems. However, I cannot write Banks 1 and 2. When I execute OTP_ProgramRegister() to Bank 1 or 2, it returns the error code of “illegal bank.” Do I have to use different API to write Banks 1 and 2? Or, simply the LPC54605J512 has Banks 0 and 3 only?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Ohba&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 08:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898704#M36081</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-04-17T08:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898705#M36082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otpEnableBankWriteLock API must be called to enable the appropriate register before calling otpProgramReg API function.&lt;/P&gt;&lt;P&gt;Please check you are not disabling the banks,&amp;nbsp; for example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1: “otpEnableBankReadLock(0x3, 0x3, 0xC, 0x00)” will enable read access to BANK3-REG0, REG1 and disables access to BANK3-REG2, REG3. These access values can be changed by a subsequent call to “otpEnableBankReadLock”.&lt;/P&gt;&lt;P&gt;Example 2: “otpEnableBankReadLock (0x3, 0x6, 0x9, 0x01)” will enable read access to BANK3-REG1, REG2 and disable read access to BANK3-REG3, REG0 and since the write lock mask is also set, these permissions will be set and cannot be changed until reset. Note: The disable mask takes priority if both enable and disable masks are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sol&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 01:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898705#M36082</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-04-18T01:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898706#M36083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Thanks for your reply. I still cannot get my program to work for Banks 1 and 2. Again, it works good for Banks 0 and 3. What I have tried so far are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;LI style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I reconfirmed I was able to write data to the registers in Banks 0 and 3. However, I noticed I must make the target register not only writeable but also &lt;STRONG&gt;readable&lt;/STRONG&gt; using OTP_EnableBankReadLock() in order to write data. If I make the register not readable, OTP_ProgramRegister() returns the kStatus_OTP_ReadAccessLocked error code. This seems odd, but am I correct?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;For registers in Banks 0 and 3, I intentionally skipped OTP_EnableBankWriteLock() to leave the register write-locked (not writeable), and then ran OTP_ProgramRegister(). It returned the kStatus_OTP_WriteAccessLocked error code. That is very reasonable. However, for registers in Banks 1 and 2, it returned kStatus_OTP_IllegalBank. It seems to me that Banks 1 and 2 behave differently.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;I would appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; background-color: transparent; font-weight: 400; text-decoration: none;"&gt;Ohba&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898706#M36083</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-04-19T23:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898707#M36084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nobuyuki San,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The procedure for all the Banks it is the same, if you have working Bank 0 and Bank 3,&amp;nbsp; follow the same steps, for the Bank1 and Bank2. The API, it is the same for all the banks also. If you can put an small part of your code, we can try to review it, and see if there is something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 15:23:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898707#M36084</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-04-23T15:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898708#M36085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fully agree with you. If I can write data to banks 0 and 3, I should be able to write data to banks 1 and 2, too. So, I am baffled. Here is my code. I hope it makes sense. I ran this code on LPCXpresso546xx Eval Board Rev. D, and got the same results (I could not write data to banks 1 and 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;P&gt;Ohba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**********************/&lt;BR /&gt;#include &amp;lt;stdbool.h&amp;gt;&lt;BR /&gt;#include "board.h"&lt;BR /&gt;#include "pin_mux.h"&lt;BR /&gt;#include "fsl_device_registers.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;#include "fsl_rng.h"&lt;BR /&gt;#include "fsl_otp.h"&lt;BR /&gt;#include "fsl_clock.h"&lt;BR /&gt;#include "fsl_reset.h"&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Definitions&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;#define OPT_BASE_ADDRESS (0x40015000u)&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Prototypes&lt;BR /&gt; ******************************************************************************/&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Code&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;uint32_t readOtp( int bank, int reg_index ){ //Read OTP register at bank/reg_index, bank can be 0, 1, 2, or 3. reg_index can be 0, 1, 2, or 3.&lt;BR /&gt; int rc;&lt;BR /&gt; otp_word_t enable_mask = 0;&lt;BR /&gt; int reg_offset = 0;&lt;BR /&gt; uint32_t *offset;&lt;BR /&gt; switch( reg_index ){&lt;BR /&gt; case 0: enable_mask = 0x01; reg_offset = 0x00; break;&lt;BR /&gt; case 1: enable_mask = 0x02; reg_offset = 0x04; break;&lt;BR /&gt; case 2: enable_mask = 0x04; reg_offset = 0x08; break;&lt;BR /&gt; case 3: enable_mask = 0x08; reg_offset = 0x0C; break;&lt;BR /&gt; default: enable_mask = 0; break;&lt;BR /&gt; }&lt;BR /&gt; rc = OTP_EnableBankReadLock( bank, enable_mask, 0x00u, 0x00u );&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankReadLock() failed and returned %x\r\n", rc );&lt;BR /&gt; return 0;&lt;BR /&gt; }&lt;BR /&gt; else{&lt;BR /&gt; //PRINTF( "OTP_EnableBankReadLock(%d) succeeded\r\n" );&lt;BR /&gt; }&lt;BR /&gt; offset = (uint32_t *)(OPT_BASE_ADDRESS+bank*0x10+reg_offset);&lt;BR /&gt; return *offset;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/*Write data to OTP bank's reg_index. Bank can be 0, 1, 2, or 3. reg_index can be 0, 1, 2 or 3*/&lt;BR /&gt;bool writeOtp( uint32_t bank_index, uint32_t reg_index, uint32_t data ){&lt;BR /&gt; if( reg_index != 2 &amp;amp;&amp;amp; reg_index != 3 ){ //Registers 0 and 1 are reserved for system use.&lt;BR /&gt; PRINTF( "You can write data to register 2 or 3 only.\r\n" );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;BR /&gt; int rc, rc_prog;&lt;BR /&gt; uint32_t bank_mask = 0;&lt;BR /&gt; switch( bank_index ){&lt;BR /&gt; case 0: bank_mask = 0x01; break;&lt;BR /&gt; case 1: bank_mask = 0x02; break;&lt;BR /&gt; case 2: bank_mask = 0x04; break;&lt;BR /&gt; case 3: bank_mask = 0x08; break;&lt;BR /&gt; default: bank_mask = 0; break;&lt;BR /&gt; }&lt;BR /&gt; rc = OTP_EnableBankWriteMask( bank_mask ); //Enable write access of the specified bank&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankWriteMask() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;BR /&gt; uint32_t enable_mask = 0;&lt;BR /&gt; uint32_t disable_mask = 0;&lt;BR /&gt; switch( reg_index ){&lt;BR /&gt; case 0: enable_mask = 0x01; break;&lt;BR /&gt; case 1: enable_mask = 0x02; break;&lt;BR /&gt; case 2: enable_mask = 0x04; break;&lt;BR /&gt; case 3: enable_mask = 0x08; break;&lt;BR /&gt; default: enable_mask = 0; break;&lt;BR /&gt; }&lt;BR /&gt; disable_mask = enable_mask;&lt;/P&gt;&lt;P&gt;rc = OTP_EnableBankWriteLock( bank_index, enable_mask, 0, 0 ); //Enable write access of the specified register&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankWriteLock() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;rc = OTP_EnableBankReadLock( bank_index, enable_mask, 0, 0 ); //Enable read access of the specified register, is this really needed?&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankReadLock() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;rc_prog = OTP_ProgramRegister( bank_index, reg_index, data ); //Write data to the OTP of bank_index &amp;amp; reg_index&lt;BR /&gt; if( rc_prog != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_ProgramRegister() failed and returned %d (0x%x)\r\n", rc_prog, rc_prog );&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;rc = OTP_EnableBankReadLock( bank_index, 0, disable_mask, 0 ); //Disable read access of the specified register, is this really needed?&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankReadLock() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;rc = OTP_EnableBankWriteLock( bank_index, 0, disable_mask, 0 ); //Disable write access of the specified register&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_EnableBankWriteLock() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;rc = OTP_DisableBankWriteMask( bank_mask ); //Disable write access of the specified bank&lt;BR /&gt; if( rc != kStatus_Success ){&lt;BR /&gt; PRINTF( "OTP_DisableBankWriteMask() failed and returned %d (0x%x)\r\n", rc, rc );&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;if( rc_prog != kStatus_Success )&lt;BR /&gt; return false;&lt;BR /&gt; else&lt;BR /&gt; return true;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;void dumpOtp(){&lt;BR /&gt; int bank, reg_index;&lt;BR /&gt; uint32_t d32;&lt;BR /&gt; for( bank = 0; bank &amp;lt; 4; bank++ ){&lt;BR /&gt; PRINTF( "OTP bank %d:\t", bank );&lt;BR /&gt; for( reg_index = 0; reg_index &amp;lt; 4; reg_index++ ){&lt;BR /&gt; d32 = readOtp( bank, reg_index );&lt;BR /&gt; PRINTF( "reg%d=%08X\t", reg_index, d32 );&lt;BR /&gt; }&lt;BR /&gt; PRINTF( "\r\n" );&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; uint32_t version;&lt;BR /&gt; /* Init hardware*/&lt;BR /&gt; /* attach 12 MHz clock to FLEXCOMM0 (debug console) */&lt;BR /&gt; CLOCK_AttachClk(BOARD_DEBUG_UART_CLK_ATTACH);&lt;BR /&gt; /* enable clock to OTP and reset it */&lt;BR /&gt; CLOCK_EnableClock(kCLOCK_Otp);&lt;BR /&gt; RESET_PeripheralReset(kOTP_RST_SHIFT_RSTn);&lt;BR /&gt; BOARD_InitPins();&lt;BR /&gt; /* main clock needs to be set to 12 MHz in order to use OTP */&lt;BR /&gt; BOARD_BootClockFRO12M();&lt;BR /&gt; BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;/* Get version of driver in ROM */&lt;BR /&gt; version = OTP_GetDriverVersion();&lt;BR /&gt; PRINTF("OTP ROM API driver version: 0x%X\r\n\r\n", version);&lt;/P&gt;&lt;P&gt;int bank, reg;&lt;BR /&gt; uint32_t data;&lt;/P&gt;&lt;P&gt;for( bank = 0; bank &amp;lt; 4; bank++ ){&lt;BR /&gt; for( reg = 2; reg &amp;lt; 4; reg++ ){&lt;BR /&gt; data = 0x00000000u;&lt;BR /&gt; PRINTF( "Writing 0x%08X to bank%d register%d... ", data, bank, reg );&lt;BR /&gt; if( writeOtp( bank, reg, data ) ){&lt;BR /&gt; PRINTF( " Succeeded.\r\n" );&lt;BR /&gt; }&lt;BR /&gt; else{&lt;BR /&gt; //PRINTF( "Failed.\r\n" );&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;dumpOtp();&lt;/P&gt;&lt;P&gt;PRINTF( "Program finished.\r\n" );&lt;BR /&gt; while(true){}&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 02:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898708#M36085</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-04-24T02:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898709#M36086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nobuyuki San,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example, I am trying with the same Banks 0 and 1 but it is prepared for bank any bank, can you please try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example programs 4 words of data each into OTP bank 1 and OTP bank 2. The example uses LPC54018 SDK drivers. The complete SDK for LPC54018 can be downloaded from &lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuxpresso.nxp.com" rel="nofollow" target="_blank"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 01:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898709#M36086</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-04-30T01:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898710#M36087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your sample code. Since I do not have LPC54018 here, I tried your code on LPC54608J512 (LPCXpresso546xx development board) with the LPC54608 SDK. The code failed at&amp;nbsp;&lt;/P&gt;&lt;P&gt;status = OTP_ProgramRegister(BANK1_IDX, 0x0, bank1_word0);&lt;/P&gt;&lt;P&gt;at Line 129. The returned status code is 6109 decimal, which I believe indicates "illegal bank."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also ran your code on LPC54605J512 (my original board), and got the exactly same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you successfully run your code on LPC54018?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ohba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:01:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898710#M36087</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-04-30T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898711#M36088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has been three weeks since I posted the last question. I would appreciate any feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ohba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2019 02:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898711#M36088</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-05-20T02:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898712#M36089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am waiting for another three weeks. Did you confirm Banks 1 and 2 of OTP do not work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ohba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898712#M36089</guid>
      <dc:creator>noboba</dc:creator>
      <dc:date>2019-06-13T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Question about OTP of LPC54605J512</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898713#M36090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay, I am trying to reproduce the issue using a NXPboard. I will update you as soon as possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sol&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 16:54:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Question-about-OTP-of-LPC54605J512/m-p/898713#M36090</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-06-25T16:54:21Z</dc:date>
    </item>
  </channel>
</rss>

