<?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: LPC1111 FHN33/203 LPC-Link programming issue in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590822#M29318</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 Thu Mar 21 01:58:43 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try doing a mass erase before programming...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/GuiFlashProgramming&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then post the debug log from LPCXpresso 5.1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also does this only happen with one particular image, or with every image? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible could you zip up and attach you AXF and map file to this thread?&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>Wed, 15 Jun 2016 22:50:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:50:18Z</dc:date>
    <item>
      <title>LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590818#M29314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zare on Wed Mar 20 09:01:37 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a custom board with LPC1111FHN33/203. When I try to program the flash with LPC-Link (one half of the LPC1114 LPCXpresso board) I got following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 0) Reading remote configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:03:23)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for chip XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/LPC1111/203.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Found generic directory XML file in C:/nxp/LPCXpresso_4.3.0_1023/lpcxpresso/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 5) Remote configuration complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 30) Emulator Connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 40) Debug Halt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 50) CPU ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Emu(0): Conn&amp;amp;Reset. DpID: BB11477. Info: HID32HS12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Packet delay: 0 Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: NXP: LPC1111/203 Part ID: 0x00010012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 65) Chip Setup Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Connected: was_reset=false. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cr:v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 70) License Check Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Loading ELF file 'LPC.axf' at location 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Writing 5620 bytes to 0000 in Flash (assumed clock: 12.0MHz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: 1 of 1 ( 0) Writing pages 0-41292144 at 0x00000000 with 5620 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 0) Page 0 at 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 18) Page 0 at 00000000: 1024 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 36) Page 0 at 00000400: 1024 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 54) Page 0 at 00000800: 1024 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ps: ( 72) Page 0 at 00000C00: 1024 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: (100) Writing Flash ended with an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed:05: File 'LPC.axf' load failure: Ef(8). Invalid address for flash write - not in defined flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: nSRST assert (if available)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Executing in bootloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wc: SWD Frequency (Final): 250 KHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1111 should have 8KB FLASH but the LPCXpresso say that the FLASH is 4KB. Actually the LPC-Link is programming first 4KB and then report the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed:05: File 'LPC.axf' load failure: Ef(8). Invalid address for flash write - not in defined flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone see this issue on LPC1111/203 or someone have some useful information please share with me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590818#M29314</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590819#M29315</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 20 09:15:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My&amp;nbsp; LPCXpresso v5.1.2 [Build 2065] [2013-02-20]&amp;nbsp; is showing a flash size of&amp;nbsp; 0x2000 :eek::eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps it's time to update?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590819#M29315</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590820#M29316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zare on Wed Mar 20 09:18:48 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Also my LPCXpresso showing 0x2000 FLASH size :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590820#M29316</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590821#M29317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zare on Thu Mar 21 01:48:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Same issue with latest LPCXpresso IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to program with ulink2 and there was no issue, ulink was able to program entire flash area, only LPC-Link have issue programming upper 4KB&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590821#M29317</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590822#M29318</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 Thu Mar 21 01:58:43 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try doing a mass erase before programming...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/GuiFlashProgramming&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then post the debug log from LPCXpresso 5.1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also does this only happen with one particular image, or with every image? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible could you zip up and attach you AXF and map file to this thread?&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>Wed, 15 Jun 2016 22:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590822#M29318</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590823#M29319</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 Thu Mar 21 02:57:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, I think that&amp;nbsp; I can see the problem (which is specific to the LPC1111/203 part).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ensure that LPCXpresso 5.1.2 is not running, then extract the file from the attached zip and place it in the \lpcxpresso\bin subdirectory of your LPCXpresso 5.1.2 installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this then allow a successfully programming of your flash?&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>Wed, 15 Jun 2016 22:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590823#M29319</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590824#M29320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zare on Fri Mar 22 04:17:21 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the programming is working (with LPCXpresso 5.1.2 and updated config in lpcxpresso/bin), but the firmware is not executing properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some single-step debugging I got Hardware Fault exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dump the entire FLASH with other debugger and seems like the bin and FLASH have little difference. I attaching FLASH dump (read_back.bin), original bin from build (ECR_LPC.axf.bin) and elf (ECR_LPC.axf) file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I program the generated bin with J-Link is executing properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you got the point and found where is the issue, but we need just small adjustment to get it completely working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590824#M29320</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1111 FHN33/203 LPC-Link programming issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590825#M29321</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 Fri Mar 22 09:44:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please post the debug log and the map file generated by the linker. Can you also try mass erasing before programming.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to try debugging the cause of the hard fault. This may not be an issue with the tools at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugHardFault&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that I strongly doubt that your new problem is anything to do with the original. Your original programming problem was caused by the flash programming code being passed the wrong flash size for this specific part.&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>Wed, 15 Jun 2016 22:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1111-FHN33-203-LPC-Link-programming-issue/m-p/590825#M29321</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:50:20Z</dc:date>
    </item>
  </channel>
</rss>

