<?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>LPC MicrocontrollersのトピックRe: LPC55Sxx FLASH read &amp;amp;&amp;amp;&amp;amp; JLINK programming</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114433#M58360</link>
    <description>Thank you for your reply. However, regarding the first issue, about 10 pieces were like this during the mass production process. This process involves first programming using JLink, then powering on and starting the chip. It was discovered that in the read area of the flash, there were already data, but it would encounter errors or ECC failure situations. The others that were normal would continue to function normally. So this has confused me. I also used the "reset 0" to reprogram the flash, but the effect was the same.</description>
    <pubDate>Wed, 11 Jun 2025 10:57:20 GMT</pubDate>
    <dc:creator>hskating</dc:creator>
    <dc:date>2025-06-11T10:57:20Z</dc:date>
    <item>
      <title>LPC55Sxx FLASH read &amp;&amp; JLINK programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2113204#M58341</link>
      <description>&lt;P&gt;Recently, I have encountered two issues. One is that when the project is in mass production, there are about ten boards. After using JLink to write the firmware onto the LPC5528, when powering on again, there will be a situation where reading a sector with a data size of 256 bytes from the flash will return FLASH-&amp;gt;STARTA failure. The development uses Zephyr, and the function is in the position of drivers/flash/soc_flash_mcux.c in the flash_mcux_read() of is_area_readable() and the returned status is FLASH_INT_STATUS_ERR_MASK or FLASH_INT_STATUS_ECC_ERR_MASK. However, I referred to the flash reading operation in the dsbl engineering of LPC55S69, which is consistent with the logic in Zephyr, as shown in the first attached image. But in the document: AN12949 Flash Programming Tips for LPC5500 Series, I also found that there is a flash read operation as shown in the second attached image. So are the final functional effects of these two functions the same? How should I solve this problem? The other issue is that the sample template developed in Zephyr uses LPC55s28, but in fact it is LPC5528. Then in the production bin file and hex file, the offset of the hex file starts from 0x1000 0000. When I use the bin file and download it starting from 0x0, it is also the same. Is there a difference? I saw in the LPC55S6x/LPC55S2x/LPC552x User manual that 0x1000 0000 is the secure part and 0x0 is the ordinary part. The configuration of j-flash is as shown in the third image. Please help solve this quickly because the project has already started mass production and I'm worried that there will be more defects later. thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 03:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2113204#M58341</guid>
      <dc:creator>hskating</dc:creator>
      <dc:date>2025-06-10T03:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55Sxx FLASH read &amp;&amp;&amp; JLINK programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114320#M58358</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244170"&gt;@hskating&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the flash is read after erased but before any write operation, an ECC error will occur. Please verify that the entire read flash range has been written to.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; For your second question, in your specific case, if you are using an LPC5528, please program it starting from address 0x0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 08:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114320#M58358</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-06-11T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55Sxx FLASH read &amp;&amp;&amp; JLINK programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114433#M58360</link>
      <description>Thank you for your reply. However, regarding the first issue, about 10 pieces were like this during the mass production process. This process involves first programming using JLink, then powering on and starting the chip. It was discovered that in the read area of the flash, there were already data, but it would encounter errors or ECC failure situations. The others that were normal would continue to function normally. So this has confused me. I also used the "reset 0" to reprogram the flash, but the effect was the same.</description>
      <pubDate>Wed, 11 Jun 2025 10:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114433#M58360</guid>
      <dc:creator>hskating</dc:creator>
      <dc:date>2025-06-11T10:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55Sxx FLASH read &amp;&amp;&amp;&amp;&amp; JLINK programming</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114947#M58368</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244170"&gt;@hskating&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="auto-hide-last-sibling-br paragraph-Oc488D paragraph-element br-paragraph-space"&gt;Please fully erase the 10 units, then program a simple SDK example first for testing.&lt;BR class="container-Vdm5p7 wrapper-_7axQ_ undefined" /&gt;Thank you.&lt;/DIV&gt;
&lt;DIV class="auto-hide-last-sibling-br paragraph-Oc488D paragraph-element br-paragraph-space"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="auto-hide-last-sibling-br paragraph-Oc488D paragraph-element br-paragraph-space"&gt;BR&lt;/DIV&gt;
&lt;DIV class="auto-hide-last-sibling-br paragraph-Oc488D paragraph-element br-paragraph-space"&gt;Alice&lt;/DIV&gt;
&lt;DIV class="auto-hide-last-sibling-br paragraph-Oc488D paragraph-element br-paragraph-space"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H3 class="header-OdWb_u auto-hide-last-sibling-br"&gt;&amp;nbsp;&lt;/H3&gt;</description>
      <pubDate>Thu, 12 Jun 2025 03:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55Sxx-FLASH-read-amp-amp-JLINK-programming/m-p/2114947#M58368</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-06-12T03:31:47Z</dc:date>
    </item>
  </channel>
</rss>

