<?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: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed. in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565282#M17922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Mar 13 21:14:41 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;LPC-Link can toggle Reset, you should ensure that 'Vector catch' is enabled and you are using LPCXpresso 4:&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To clarify, LPC-Link resets the part using the SYSRESETREQ and/or VECTRESET mechanisms, but does not toggle the external reset signal (SRST) connected to the debug header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:15:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:15:17Z</dc:date>
    <item>
      <title>05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565275#M17915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LakeLover20 on Tue Mar 13 10:03:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to program a LPC1767 using Red Suite 3.&amp;nbsp; I'm getting the following error message - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yet the device seems to be programmed. The load cycle goes up to 114%.&amp;nbsp; What does all this mean?&amp;nbsp; Is all my code getting programmed to the device?&amp;nbsp; Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;side question- is there a document which lists all the error codes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565275#M17915</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565276#M17916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Mar 13 10:18:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you can provide a few more informations :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Is it a custom board? If so, did you check your SWD wiring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Did you ever manage to flash/debug the MCU?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 Did you try to flash a standard sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#4 Did you switch to ISP with enabled Vector catch already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#5 Could you post a debug log?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565276#M17916</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565277#M17917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LakeLover20 on Tue Mar 13 11:31:11 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Zero- I am a NXP FAE in TX, trying to help resolve a production issue.&amp;nbsp; One of my customers is using Xytronics to manufacture a new board with a LPC1767.&amp;nbsp; Xytronics is trying to use Red Suite 3 to program the customer’s binary into the device on the board.&amp;nbsp; They are seeing the previously mentioned error message. To answer your questions--&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Is it a custom board? If so, did you check your SWD wiring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** It is a customer board. I don't know if Xytronics double checked the wiring.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Did you ever manage to flash/debug the MCU?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 Did you try to flash a standard sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#4 Did you switch to ISP with enabled Vector catch already?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#5 Could you post a debug log?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** Are you talking about the log created while the programming is going on? (I'm thinking a debug log is created while an application is executing, not while a device is being programmed.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565277#M17917</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565278#M17918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Mar 13 11:54:40 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's not very informative at all :(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest to program a new board with FlashMagic via ISP (UART0). That's very reliable and wiring problems with SWD don't disturb this method. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it's a good idea to use a simple working program (like LED blinking). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that's working, next step is to use SWD. That's what I'm doing with my new boards :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565278#M17918</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565279#M17919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Mar 13 14:06:31 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You didn't mention which emulator is being used, or whether you're able&amp;nbsp; to connect to any known working board (e.g. LPCXpresso1768, etc.). Do&amp;nbsp; you have an LPCXpresso board with you that you can test with the&amp;nbsp; development environment? If you can, it suggests your there is a&amp;nbsp; production or design problem with the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Also, it would be a good idea to recommend to your customer to upgrade to the latest RedSuite 4 release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: It may be there's nothing wrong with the flash operation itself. The flash may have successfully programmed, but the debugger is not able to reset the part (reported as a "Flash write operation" failure). Is there any indication code is running after power cycling the board?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565279#M17919</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565280#M17920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LakeLover20 on Tue Mar 13 17:07:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I found out from Code Red that the error "Ef(4). Flash write operation failed." means the debugger detected a problem either flashing the image, or completing a successful processor reset after flash.&amp;nbsp; The probable cause is the LPC-Link that's being used to interface to the target board because the LPC-Link can not toggle RESET (SRST) if it detects a reset problem, whereas Code Red's Red Probe+ can.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565280#M17920</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565281#M17921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Mar 13 17:18:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: LakeLover20&lt;/STRONG&gt;&lt;BR /&gt;...LPC-Link can not toggle RESET (SRST) if it detects a reset problem...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC-Link can toggle Reset, you should ensure that 'Vector catch' is enabled and you are using LPCXpresso 4:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565281#M17921</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565282#M17922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Mar 13 21:14:41 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;LPC-Link can toggle Reset, you should ensure that 'Vector catch' is enabled and you are using LPCXpresso 4:&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To clarify, LPC-Link resets the part using the SYSRESETREQ and/or VECTRESET mechanisms, but does not toggle the external reset signal (SRST) connected to the debug header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565282#M17922</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: 05: File 'C2010ARM.axf' load failure: Ef(4). Flash write operation failed.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565283#M17923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed Mar 14 00:46:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting a debug session (LPCXpresso 4.2 / LPC-Link / LPC1769) with enabled 'Vector catch' shows 2 resets here :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I always thought that's a 'Vector catch' reset before SWD is started and a reset to start program after downloading&amp;nbsp; :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://flic.kr/p/bq1DfJ&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: LPC-Link doesn't use this external reset with other MCUs like LPC13XX or LPC11XX :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/05-File-C2010ARM-axf-load-failure-Ef-4-Flash-write-operation/m-p/565283#M17923</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:15:18Z</dc:date>
    </item>
  </channel>
</rss>

