<?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: LPC1114: &amp;quot;Target error from Write Memory&amp;quot; in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575209#M22201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Mon Dec 20 08:39:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply said: yes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I went through the revision history and found the two revisions, where this debugger error appeared. And the only changes here were changes in the linker script accompanied by section attributes for functions/variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've attached the linker script and the created .map-file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:06:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:06:47Z</dc:date>
    <item>
      <title>LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575203#M22195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Mon Dec 20 01:01:39 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using an LPC1114/301 for one of our products. To make a firmware update possible, we divided the flash into 3 sections; 1 sector for a bootstrap (fixed), 2 sectors for the bootloader (updateable) and 5 sectors for the firmware (also updateable). In the XPresso-Workspace, there are 4 projects: Bootstrap, Bootloader, Firmware and CMSIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After changing the linker script in a way, that all program sections reside in the correct place, it's not possible to use the debugger (LPC-Link) anymore (LPC Xpresso 3.5.0 and 3.5.6). When starting the debugger, an error message with "15: Target error from Write Memory" appears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't use any not-existing memory areas; all addresses are in valid memories according to the .map-file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know, what causes this problem or how to solve it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575203#M22195</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575204#M22196</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 Mon Dec 20 03:14:50 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you connecting via the LPC-Link to the built-in MCU on the LPCXpresso board, or have you split the LPC-Link off and are connecting to your own board?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you successfully download and run a "standard" LPCXPresso example application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please can you copy and paste the MCU debug log from the console view of the LPCXpresso into this thread. You may need to use the "Monitor" icon of the console view in order to select the MCU debug log as the log file to display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575204#M22196</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575205#M22197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Mon Dec 20 03:52:55 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The built-in MCU is not used. We disconnected the PCB tracks and connect the LPC-Link to our board with the 2x5 pin header (SW-Debug).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If i download the created .axf via "Program Flash", the process seems to work; after the flash was programmed, we get the error message "05: File 'project.axf' load failure: Eg(10). Attempt to load into missing flash area.". This message occured the first time days before the restructuring of the linker script and the "target error". After disconnecting and repowering the board, the new software runs perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (Here i think the LPC-Link tries to write some RAM data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Here is the MCU debug log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]LPCXpresso Debug Driver v2.0 ([/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot]Oct 27&amp;nbsp; 2010[/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot]12:23:[/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot]56)[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Looked for chip XML file in D:/progs/nxp/lpcxpresso_3.5/bin/LPC1114/301.xml[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Looked for vendor directory XML file in D:/progs/nxp/lpcxpresso_3.5/bin/nxp_directory.xml[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Found generic directory XML file in D:/progs/nxp/lpcxpresso_3.5/bin/crt_directory.xml[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Emu(0): Conn&amp;amp;Reset. DpID:&amp;nbsp; BB11477. [/FONT][/COLOR][COLOR=black][FONT=&amp;amp;quot]Info: T1S6RGRIA[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Packet delay: 0&amp;nbsp; Poll delay: 0.[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=green][FONT=&amp;amp;quot]Cannot find definition 'LPC11_PMU' for peripheralInstance 'PMU'[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]NXP: LPC1114/301&amp;nbsp; Part ID: 0x0444102B[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Connected: was_reset=false. was_stopped=true[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]v Registered license, download limit of 128K[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=red][FONT=&amp;amp;quot]15: Target error from Write Memory: Em(06). Overrun memory transaction buffer.[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [COLOR=black][FONT=&amp;amp;quot]Stopped: VectorCatch:HardF (PC was 0x00003004)[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The Address 0x3004 where the Program Counter was, is the Reset Vector of our "new" Vector table. Since the vector table is not relocateable in flash, we use tail chaining to reroute the interrupts to our own table (hint from &lt;/SPAN&gt;&lt;A href="http://"&gt;http://embeddedfreak.wordpress.com/2010/10/19/tail-chaining-arm-cortex-m0-interrupts/&lt;/A&gt;&lt;SPAN&gt; ). This worked perfectly. Only the Firmware uses interrupts; bootstrap and bootloader don't need them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575205#M22197</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575206#M22198</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 Mon Dec 20 05:04:29 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please confirm:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The details of the reset/swd circuitry on your target board -&amp;nbsp; in particular, not that LPC-Link requires&amp;nbsp; RESET in addition to SWDIO, CLK and GND when connecting to an LPC11 target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you successfully download and debug a "standard" LPCXpresso1114 example? [In other words an application that consists only of one part]. I would suggest you simply switch to a new workspace, import the LPC11 CMSIS project, then create a default "NXP LPC1100 semihosting C project". Does this successfully download and run (ie print "hello world" to the console).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you also confirm whether you have changed the clock setup code in the CMSIS project you are using in your project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575206#M22198</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575207#M22199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Mon Dec 20 06:45:26 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The connection from LPC-Link to our board contains SWDIO, SWCLK, Reset and GND. We adopted the electrical connection from the XPresso schematics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i take an example program (e.g. blinky), this works perfect. The .axf can be downloaded without any errors, the debugger can be used without any problems. Also if i use an old program revision with just only one project (the firmware without bootstrap/bootloader), it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since we combined those 3 (4 with CMSIS) projects into one workspace, the one "error" after flashing the .axf appeared, but the debugger was still working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After the section placement changes, the debugger shows up the target error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The clock setup was not changed; the settings are the same as in 'blinky'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: The semihosting project is also working; "hello world" is shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575207#M22199</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575208#M22200</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 Mon Dec 20 07:15:48 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you changed the linker script, and the debugger now gives this error? Pleasre post you linker script and map file, and we will tell you what you have done wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575208#M22200</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575209#M22201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Mon Dec 20 08:39:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Simply said: yes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I went through the revision history and found the two revisions, where this debugger error appeared. And the only changes here were changes in the linker script accompanied by section attributes for functions/variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've attached the linker script and the created .map-file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575209#M22201</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575210#M22202</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 Mon Dec 20 09:52:19 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please can you provide the *exact* changes between a working and non-working linker script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: We would also like to review the "../../FW/Debug/FW_Debug_mem.ld" and "../../FW/Debug/FW_Debug_lib.ld" script files, and it would be helpful to have the FW.axf file itself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575210#M22202</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575211#M22203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Tue Dec 21 00:58:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A working linker script&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The 2 automatically generated .ld (lib + mem)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- fw.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the first two lines in the linker script with bs_externals/bl_externals don't influence the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The main change was this noinit-part.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575211#M22203</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575212#M22204</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 Dec 21 02:40:48 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the section headers in your axf file using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=1]arm-none-eabi-objdump -h FW.axf[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The linker is marking this as loadable data (rather than bss/noloadable which is what you want)....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;15 .noinit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00001248&amp;nbsp; 10000000&amp;nbsp; 10000000&amp;nbsp; 00010000&amp;nbsp; 2**4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTENTS, ALLOC, LOAD, DATA&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;To prevent this, you need to specify the (NOLOAD) attribute on your noinit section:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; .noinit (NOLOAD):
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.bootstrap_noinit)&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.bootloader_noinit) 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.noinit)
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; RamLoc8&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without NOLOAD, the debugger is actually trying to program up the whole of memory from 0x0 up into RAM as if it were Flash - which is why you get an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Docs on NOLOAD at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sourceware.org/binutils/docs-2.20/ld/Output-Section-Type.html#Output-Section-Type&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other alternative would be to change your section names in the noninit section to begin ".bss" (as they then would not be marked as LOADable).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575212#M22204</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575213#M22205</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 Dec 21 02:48:37 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also suggest moving _etext to before your noinit section! This symbol is probably being used by your startup code to identify where to copy the initial values of your data - which is at the end of your code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575213#M22205</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114: "Target error from Write Memory"</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575214#M22206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Jaecko on Tue Dec 21 03:05:31 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The missing NOLOAD-attribute caused all this trouble. Now, with NOLOAD, everything works again; The debugger message disappeared, also the error when downloading the .axf vanished. Perfect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincere thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:06:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-quot-Target-error-from-Write-Memory-quot/m-p/575214#M22206</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:06:50Z</dc:date>
    </item>
  </channel>
</rss>

