<?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: Problem with IAP blanking flash - LPC824 in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1619920#M4926</link>
    <description>Hi Alice,&lt;BR /&gt;The memory I'm erasing is the entire flash. When I try to delete it, the code is running in RAM. I'm trying to do this so that new code can be written to flash. This code works perfectly in LPCXpresso version 7.9.2. IDE. I can't figure out why after importing the project, it doesn't work in MCUXpresso.</description>
    <pubDate>Wed, 22 Mar 2023 14:48:13 GMT</pubDate>
    <dc:creator>josefrval</dc:creator>
    <dc:date>2023-03-22T14:48:13Z</dc:date>
    <item>
      <title>Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1616216#M4915</link>
      <description>I ported my project that ran on LPCXPresso version 7.9.2 to MCUXpresso 11.6. The project worked normally, however I had a failure in a feature. In this functionality, at some point I run the software only in RAM and completely erase the flash and then write a new version to the flash. The process fails with a hard fault error when I try to delete the flash. I am using the IAP_ENTRY functions. I suspect the boot sector is protected but I can't figure out how to unlock it.</description>
      <pubDate>Wed, 15 Mar 2023 22:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1616216#M4915</guid>
      <dc:creator>josefrval</dc:creator>
      <dc:date>2023-03-15T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1617567#M4918</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214227"&gt;@josefrval&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about use "GUI Flash Tool" to erase:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1679049028624.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/215156i04A813002D6E356E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1679049028624.png" alt="Alice_Yang_0-1679049028624.png" /&gt;&lt;/span&gt;&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>Fri, 17 Mar 2023 10:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1617567#M4918</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-17T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1617889#M4919</link>
      <description>Thanks Alice, but it isn't the question. We need to erase the flash on the flight, in run time, for updating with a new code, why we need to use IAP functions. If you want, I can post the code.</description>
      <pubDate>Fri, 17 Mar 2023 20:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1617889#M4919</guid>
      <dc:creator>josefrval</dc:creator>
      <dc:date>2023-03-17T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1618336#M4920</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214227"&gt;@josefrval&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recommend you use this tool to erase to check whether the flash can erased, because you said "&lt;SPAN&gt;boot sector is protected&lt;/SPAN&gt;", also we can&amp;nbsp;&lt;SPAN&gt;eliminate hardware issue firstly.&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>Mon, 20 Mar 2023 10:02:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1618336#M4920</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-20T10:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1618698#M4921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;, I checked but we didn't have any problem:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Executing flash operation 'Erase' (Erase flash) - Mon Mar 20 16:10:42 BRT 2023&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Checking MCU info...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Scanning for targets...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Executing flash action...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;MCUXpresso IDE RedlinkMulti Driver v11.6 (Oct 3 2022 08:09:13 - crt_emu_cm_redlink.exe build 9)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 0) Reading remote configuration&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Wc(03). No cache support.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Found chip XML file in C:/Desenvolvimento/Dankia/mcuxpresso/Workspace/fmw8gavstop/fmwdriverlpc82x/GavLaserScan-Release\LPC824.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 5) Remote configuration complete&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Reconnected to existing LinkServer process.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Serial Number: WIN64HS12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;VID:PID: 1FC9:0009&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;USB Path:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Using memory from core 0 after searching for a good core&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;On debug connection - reset using system reset&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 30) Emulator Connected&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 40) Debug Halt&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 50) CPU ID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;number of h/w breakpoints = 4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;number of flash patches = 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;number of h/w watchpoints = 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BC11477. CpuID: 00000C60. Info: &amp;lt;None&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Content of CoreSight Debug ROM(s):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RBASE F0000000: CID B105100D PID 0500081000 ROM (type 0x1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ROM 1 0x14000000: (dev #2) no valid device here - powered down?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ROM 1 E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ROM 3 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ROM 3 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NXP: LPC824&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;DAP stride is 1024 bytes (256 words)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Inspected v.2 On-chip Flash Memory LPC800_32.cfx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Image 'LPC800 (32K) Sep 19 2022 09:11:41'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 65) Chip Setup Complete&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connected: was_reset=false. was_stopped=true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;( 70) License Check Complete&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Opening flash driver LPC800_32.cfx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Sending SYSRESETREQ to run flash driver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Flash device supported (32KB = 32*1K at 0x0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mass Erase flash at 0x0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Closing flash driver LPC800_32.cfx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;MassErase completed (in 136ms)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1618698#M4921</guid>
      <dc:creator>josefrval</dc:creator>
      <dc:date>2023-03-20T19:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1619616#M4925</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214227"&gt;@josefrval&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the flash memory you erased is still used by project.&lt;/P&gt;
&lt;P&gt;You can try to erase&amp;nbsp; other memory that your flash not used.&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>Wed, 22 Mar 2023 02:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1619616#M4925</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-22T02:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1619920#M4926</link>
      <description>Hi Alice,&lt;BR /&gt;The memory I'm erasing is the entire flash. When I try to delete it, the code is running in RAM. I'm trying to do this so that new code can be written to flash. This code works perfectly in LPCXpresso version 7.9.2. IDE. I can't figure out why after importing the project, it doesn't work in MCUXpresso.</description>
      <pubDate>Wed, 22 Mar 2023 14:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1619920#M4926</guid>
      <dc:creator>josefrval</dc:creator>
      <dc:date>2023-03-22T14:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IAP blanking flash - LPC824</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1620361#M4930</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214227"&gt;@josefrval&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is works on LPCxpresso, so how about run project standalone without IDE?&lt;/P&gt;
&lt;P&gt;How about send your project to me ? I help to check on my side.&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>Thu, 23 Mar 2023 02:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problem-with-IAP-blanking-flash-LPC824/m-p/1620361#M4930</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-23T02:19:44Z</dc:date>
    </item>
  </channel>
</rss>

