<?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 LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-EVK-fsl-iap-driver-Flash-Read-returns-ecc-error/m-p/1747963#M54562</link>
    <description>&lt;P&gt;I am trying to use the supplied fsl_iap driver to read/write flash.&amp;nbsp; When I try and call FLASH_Read(), it always returns &lt;SPAN&gt;kStatus_FLASH_EccError.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached the lpcxpresso55S06_flashiap1 &lt;/SPAN&gt;&lt;SPAN&gt;sample program that demonstrates this.&amp;nbsp; I added the lines&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;90 and 91 to read 4 bytes from flash.&amp;nbsp; This call always returns the ecc error.&amp;nbsp; I noticed later on in the sample, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the for-loop that reads from flash directly.&amp;nbsp; Is this the correct approach to read from flash?&amp;nbsp; If not, any ideas why the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ecc error occurring?&amp;nbsp; Any suggestions on how to fix it?&amp;nbsp; Or should I just use the for loop method?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 17:31:46 GMT</pubDate>
    <dc:creator>ttahut</dc:creator>
    <dc:date>2023-10-27T17:31:46Z</dc:date>
    <item>
      <title>LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-EVK-fsl-iap-driver-Flash-Read-returns-ecc-error/m-p/1747963#M54562</link>
      <description>&lt;P&gt;I am trying to use the supplied fsl_iap driver to read/write flash.&amp;nbsp; When I try and call FLASH_Read(), it always returns &lt;SPAN&gt;kStatus_FLASH_EccError.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached the lpcxpresso55S06_flashiap1 &lt;/SPAN&gt;&lt;SPAN&gt;sample program that demonstrates this.&amp;nbsp; I added the lines&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;90 and 91 to read 4 bytes from flash.&amp;nbsp; This call always returns the ecc error.&amp;nbsp; I noticed later on in the sample, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the for-loop that reads from flash directly.&amp;nbsp; Is this the correct approach to read from flash?&amp;nbsp; If not, any ideas why the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ecc error occurring?&amp;nbsp; Any suggestions on how to fix it?&amp;nbsp; Or should I just use the for loop method?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 17:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-EVK-fsl-iap-driver-Flash-Read-returns-ecc-error/m-p/1747963#M54562</guid>
      <dc:creator>ttahut</dc:creator>
      <dc:date>2023-10-27T17:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-EVK-fsl-iap-driver-Flash-Read-returns-ecc-error/m-p/1749172#M54584</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/3640"&gt;@ttahut&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About detail explanation, please refer to below thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55xx-How-to-fix-AHB-Read-HardFault-Error/ta-p/1127260" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55xx-How-to-fix-AHB-Read-HardFault-Error/ta-p/1127260&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 05:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S06-EVK-fsl-iap-driver-Flash-Read-returns-ecc-error/m-p/1749172#M54584</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-10-31T05:56:46Z</dc:date>
    </item>
  </channel>
</rss>

