<?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: No longer able to program flash in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583791#M26005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sbishop77 on Fri Oct 30 10:33:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the application does not configure for low power or use sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed the linked-to instructions, but I still get the same error message when attempting to flash an image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I realize that flashing the board and starting a debug session is a similar process; but just to be clear, I have no trouble starting a debug session.&amp;nbsp; (And in case this matters in terms of replicating the problem, note that the image I am attempting to flash is compiled in a "release" configuration.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in case you're wondering, I can't just use a debug session, unfortunately.&amp;nbsp; The code running on the M0+ is very time sensitive, but the overhead of a debug session on the M0+ is significant.&amp;nbsp; (The M4 is fine.&amp;nbsp; I assume the M4 has support for hardware breakpoints and the like while the M0+ doesn't?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing.&amp;nbsp; I have two boards, and I see the same issue with both of them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:39:45 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:39:45Z</dc:date>
    <item>
      <title>No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583789#M26003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sbishop77 on Thu Oct 29 16:13:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on a dual-core application targeting the LPCXpresso 54102 evaluation board.&amp;nbsp; After recently making some simple changes to the C code, I am no longer able to flash the device.&amp;nbsp; I get this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Ni: LPCXpresso RedlinkMulti Driver v7.8 (May 28 2015 03:19:07 - crt_emu_cm_redlink.exe build 388)&lt;BR /&gt;Pc: (&amp;nbsp; 0) Reading remote configuration&lt;BR /&gt;Pc: (&amp;nbsp; 5) Remote configuration complete&lt;BR /&gt;Nc: Probe Firmware: LPC-Link-II CMSIS-DAP (NXP)&lt;BR /&gt;Nc: VID:PID:&amp;nbsp; 1FC9:0090&lt;BR /&gt;Nc: USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;1ab974eb&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Pc: ( 30) Emulator Connected&lt;BR /&gt;Xw:&lt;BR /&gt;Xc:&lt;BR /&gt;Pc: ( 40) Debug Halt&lt;BR /&gt;Pc: ( 50) CPU ID&lt;BR /&gt;Nc: Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. CpuID: 410FC240. Info: (null)&lt;BR /&gt;Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Nc: loaded v.2 On-chip Flash Memory LPC5410x_512K.cfx&lt;BR /&gt;Nc: image 'LPC5410x (512K Flash) May 21 2015 09:32:17'&lt;BR /&gt;Pc: ( 65) Chip Setup Complete&lt;BR /&gt;Nt: Connected: was_reset=true. was_stopped=false&lt;BR /&gt;Cr:v LPCXpresso Free License - Download limit is 256K&lt;BR /&gt;Pc: ( 70) License Check Complete&lt;BR /&gt;Nt: Loading ELF file 'spectrum-analyzer-m4-master.axf' at location 00000000&lt;BR /&gt;Nt: Writing 24940 bytes to address 0x00000000 in Flash&lt;BR /&gt;Pb: 1 of 1 (&amp;nbsp; 0) Writing pages 0-0 at 0x00000000 with 24940 bytes&lt;BR /&gt;Ps: (&amp;nbsp; 0) at 00000000: 0 bytes - 0/24940&lt;BR /&gt;Ps: ( 65) at 00000000: 16384 bytes - 16384/24940&lt;BR /&gt;Ps: (131) at 00004000: 16384 bytes - 32768/24940&lt;BR /&gt;Nc: Progress meter completed at over 100% (32768/24940 bytes)&lt;BR /&gt;Nt: Erased/Wrote page&amp;nbsp; 0-0 with 24940 bytes in 397msec&lt;BR /&gt;Pb: (100) Finished writing Flash successfully.&lt;BR /&gt;Nt: Flash Write Done&lt;BR /&gt;Nt: Loaded 0x616C bytes in 527ms (about 47kB/s)&lt;BR /&gt;Nt: Loading ELF file 'spectrum-analyzer-m4-master.axf' at location 020108E4&lt;BR /&gt;Nt: Writing 4 bytes to address 0x020108E4 in Flash&lt;BR /&gt;Ed:05: File 'spectrum-analyzer-m4-master.axf' load failure: Eg(10). Attempt to load into missing flash area.&lt;BR /&gt;Pc: (100) Target Connection Failed&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why it no longer working.&amp;nbsp; Any help would be appreciated.&amp;nbsp; I have attached my projects in a single ZIP file.&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338155"&gt;projects_0.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583789#M26003</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583790#M26004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 29 16:51:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Does your application configure for low power, or use a sleep mode? If so, boot the part into the ISP before you start your debug session. In fact, do it anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access"&gt;Regaining debug access to target MCU&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583790#M26004</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583791#M26005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sbishop77 on Fri Oct 30 10:33:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the application does not configure for low power or use sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed the linked-to instructions, but I still get the same error message when attempting to flash an image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I realize that flashing the board and starting a debug session is a similar process; but just to be clear, I have no trouble starting a debug session.&amp;nbsp; (And in case this matters in terms of replicating the problem, note that the image I am attempting to flash is compiled in a "release" configuration.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in case you're wondering, I can't just use a debug session, unfortunately.&amp;nbsp; The code running on the M0+ is very time sensitive, but the overhead of a debug session on the M0+ is significant.&amp;nbsp; (The M4 is fine.&amp;nbsp; I assume the M4 has support for hardware breakpoints and the like while the M0+ doesn't?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more thing.&amp;nbsp; I have two boards, and I see the same issue with both of them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583791#M26005</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583792#M26006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Oct 30 11:18:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't reproduce your problem here using the project that you supplied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at your original log (from using the GUI flash programmer I presume?) the curious thing is the lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;Nt: Loading ELF file 'spectrum-analyzer-m4-master.axf' at location 020108E4
Nt: Writing 4 bytes to address 0x020108E4 in Flash
Ed:05: File 'spectrum-analyzer-m4-master.axf' load failure: Eg(10). Attempt to load into missing flash area.&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the address of which is in RAM, and hence shouldn't be being programmed as flash anyway!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you ZIP up and provide the actual AXF file that you are trying to flash?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And also provide the actual command line displayed at the top of the GUI flash programmer after it runs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583792#M26006</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583793#M26007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sbishop77 on Fri Oct 30 11:53:37 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, that's from using the "Program Flash" button in the LPCXpresso (version 7.8.0, build 426) tool bar.&amp;nbsp; (I'm sorry, I should have mentioned that earlier.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;crt_emu_cm_redlink -flash-load-exec "C: xp\workspace\54102\spectrum-analyzer-m4-master\Release\spectrum-analyzer-m4-&lt;BR /&gt;master.axf" -g -2 -vendor=NXP -pLPC54102J512 -reset=vectreset -flash-driver=LPC5410x_512K.cfx&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have attached my AXF file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583793#M26007</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583794#M26008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Nov 02 02:10:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please can you try building and downloading your image using LPCXpresso IDE v7.9.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I believe your issue is related to one of the multicore project related fixes that we made in LPCXpresso IDE v7.9.0 : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpcxpresso-latest-release" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/lpcxpresso-latest-release&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can safely install LPCXpresso v7.9.2 without uninstalling your current version. And then for testing purposes, you might want to create a new workspace and import your existing projects into it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583794#M26008</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: No longer able to program flash</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583795#M26009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by sbishop77 on Mon Nov 02 12:42:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That worked.&amp;nbsp; Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/No-longer-able-to-program-flash/m-p/583795#M26009</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:39:47Z</dc:date>
    </item>
  </channel>
</rss>

