<?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>LPCXpresso IDEのトピックRe: Flash programming lpc1850</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530262#M1897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by microeval on Sun Sep 29 23:38:58 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi devel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to the NXP-LPC. Can you please suggest me which development boards are supported for LPC 1857 with IAR workbench?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the SPI/SSP and USART in the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ram.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:35:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:35:38Z</dc:date>
    <item>
      <title>Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530236#M1871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Tue Jun 25 05:54:45 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At first, I'm sorry if I ask beginner questions but I haven't any experience with flash programming.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to download a simple program and execute into NOR flash on my MCB1800 board with an Lpc1850 on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The NOR Flash is a Spansion one with the following ref : S29GL064N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this I find the application note number "11285" about "Writing a flash programming algorithm for unsupported devices" where they provided a flash driver for my board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I place it into "lpcxpresso_dir/bin/flash" and try to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The download bar went to 100% and they don't report any error. When I check the memory to check if the&amp;nbsp; code is in, it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when the download finished, nothing passed. The code don't execute and I have this message : "No source available for "0x1040683c" "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it something specific to do for start execution from NOR Flash ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using LPCXpresso v.5.2.4 Build 2122 on a Windows 7 64bits, with full licence type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530236#M1871</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530237#M1872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Jun 25 06:03:28 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you read this FAQ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/LPC18xx_43xx_ExternalFlash&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you need to configure your project to use the external flash (by default it will use internal RAM). Links are in the above FAQ.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530237#M1872</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530238#M1873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Tue Jun 25 06:14:28 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I manage the memory configuration to add my EXT32 NOR Flash on location "0x1c000000" with a size of 0x100000. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you are telling about "Enhanced Managed Linker Scripts" ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maxime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530238#M1873</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530239#M1874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Tue Jun 25 23:35:11 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something like macro in IAR for lpcxpresso ? For write memory before the execution of the code ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maxime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530239#M1874</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530240#M1875</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 Wed Jun 26 00:09:10 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;We supply a number of prebuilt SPIFI drivers, which have the filename format of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC18_43_SPIFI_&amp;lt;flashsize&amp;gt;_&amp;lt;sectorsize&amp;gt;.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "biggest" we currently supply is for 8MB parts with 64KB sectors. From a very quick skim of the datasheet for the S29GL064N, it looks like it is 64MB with 64KB sectors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would expect that you would probably be able to program the first 8MB of this flash with the 8MB driver that we supply - [FONT=Courier New]LPC18_43_SPIFI_8MB_64KB.cfx[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try selecting this driver and programming a simple test image. Does it work? If not then post the debug log...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/DebugLog&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if it does work, then try adding a new build configuration to the SPIFI flash driver project that we supply in LPCXpresso with the appropriate size settings. You can find this project in the [FONT=Courier New]LPC18xx_43xx_SPIFI.zip[/FONT] at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]C:\nxp\LPCXpresso_5.2.4_2122\lpcxpresso\Examples\FlashDrivers\NXP\LPC18xx_43xx[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll&amp;nbsp; need to read this FAQ first though...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UserLoadableFlashDrivers&lt;/A&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:35:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530240#M1875</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530241#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Wed Jun 26 01:50:48 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No it don't working, I always have the same error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in final launch sequence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute MI command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-break-insert -t main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error message from debugger back end:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access memory at address 0x1c003b90&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access memory at address 0x1c003b90&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And here they are the debug log :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LLPCXpresso Debug Driver v5.2 (Apr 19 2013 02:04:40 - crt_emu_cm_redlink build 24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found chip XML file in C:/Users/Vulliens.HQ/Documents/LPCXpresso_5.2.4_2122/workspace/UsbEmulator/Debug/LPC1850.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: Redlink: 300567&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded LPC1850A_4350A_SPIFI.cfx: LPC18/43 8MB(64KB) SPIFI @0x14000000 (Dec&amp;nbsp; 3 2012 10:26:10)&amp;nbsp; External Flash Device on SPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=false. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same message error and error log with this driver : LPC18_43_SPIFI_8MB_64KB.cfx &lt;/SPAN&gt;&lt;BR /&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:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530241#M1876</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530242#M1877</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 Wed Jun 26 02:13:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like you are building your image incorrectly. SPIFI flash is located at a base address of 0x14000000, not 0x1c000000.&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:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530242#M1877</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530243#M1878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Wed Jun 26 03:16:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If I manage the memory configuration for try to download code into spi flash memory I get the same error with different value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in final launch sequence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute MI command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-break-insert -t main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error message from debugger back end:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access memory at address 0x14003b90&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot access memory at address 0x14003b90&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and here is the debug log :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v5.2 (Apr 19 2013 02:04:40 - crt_emu_cm_redlink build 24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found chip XML file in C:/Users/Vulliens.HQ/Documents/LPCXpresso_5.2.4_2122/workspace/UsbEmulator/Debug/LPC1850.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: Redlink: 300567&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded LPC18_43_SPIFI_8MB_64KB.cfx: LPC18/43 8MB(64KB) SPIFI @0x14000000 (Dec&amp;nbsp; 3 2012 10:26:05)&amp;nbsp; External Flash Device on SPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing 50308 bytes to 14000000 in Flash (assumed clock: unknown)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erased/Wrote page&amp;nbsp; 0-0 with 50308 bytes in 1966msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash write Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stopped (Was Reset)&amp;nbsp; [Reset from Unknown]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I don't want to download code into spi Flash memory but in the NOR Flash integrated with the board. In the spec the memory region named "16 MB static external memory CS0".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530243#M1878</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530244#M1879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Wed Jun 26 07:09:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you see in the chip specification, this adress locate in ROM memory ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing could be wrong with 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:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530244#M1879</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530245#M1880</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 Wed Jun 26 07:28:12 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you are using the MCB1800 board, can you confirm whether your board has an LPC1857 or LPC1850 MCU fitted?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it has an LPC1857 fitted, then select this as your target MCU and use the internal flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it has an LPC1850 fitted, then first of all check the boot pins...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.keil.com/support/man/docs/mcb1800/mcb1800_su_configuring.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would then be worth trying to program the 4MB SPI flash that the board has fitted...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.keil.com/mcb1800/specs.asp&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.keil.com/mcb1800/MCB1800v1-3-schematics.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the schematics, it looks like this is the same device as used on the NGX Xplorer boards, in which case you could use the LPC18_43_SPIFI_4MB_64KB.cfx flash driver supplied in LPCXpresso. &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:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530245#M1880</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530246#M1881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Wed Jun 26 07:46:55 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an lpc 1850 on the board, the jumper are right for boot from spifi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to debug I always have this error tell that cannot access memory at 0x14003b90.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this time I have this on the debug console :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 0) Reading remote configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hard Fault in FLASH driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While trying command 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 0 == 14000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 1 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 2 == 00000001&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 3 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 4 == 1000c440&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 5 == 1000df94&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 6 == 10081000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 7 == 10089fd8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 8 == 1000be50&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 9 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 10 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 11 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 12 == 10081100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 13 == 10003280&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 14 == fffffff1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 15 == 10000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 16 == 40000003&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 17 == 10003280&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 18 == 100032c0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reg 19 == 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and here is the debug log message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v5.2 (Apr 19 2013 02:04:40 - crt_emu_cm_redlink build 24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found chip XML file in C:/Users/Vulliens.HQ/Documents/LPCXpresso_5.2.4_2122/workspace/UsbEmulator/Debug/LPC1850.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: Redlink: 300567&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded LPC18_43_SPIFI_4MB_64KB.cfx: LPC18/43 4MB(64KB) SPIFI @0x14000000 (Dec&amp;nbsp; 3 2012 10:26:13)&amp;nbsp; External Flash Device on SPI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=false. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing 50308 bytes to 14000000 in Flash (assumed clock: unknown)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erased/Wrote page&amp;nbsp; 0-0 with 50308 bytes in 1920msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash write Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stopped (Was Reset)&amp;nbsp; [Reset from Unknown]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the gdb traces can also help you to find the issue, I can send too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the first thing I want to do isn't to program spifi flash memory. I want to copy and execute my code in external NOR Flash. Where the base address is 0x1c000000. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because in future project I have to use spifi for another goal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530246#M1881</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530247#M1882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Thu Jun 27 00:54:33 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something for initialize pins for the correct memory (SPIFI Flash or NOR Flash) Before executing code? (Like the macro in IAR.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When this error occurs, i think it looks like the MCU cannot access memory beacause related pins aren't set up.&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:35:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530247#M1882</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530248#M1883</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 Jun 27 01:04:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;From your debug log, it looks like you are using LPC-Link2. Unfortunately we don't currently support this as a debug probe for LPC18 targets. For more details please see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/LPCLink2support&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need to use an original LPC-Link (ie &lt;/SPAN&gt;&lt;A href="http://http://support.code-red-tech.com/CodeRedWiki/LPCXpressoExtDebug"&gt;a split LPCXpresso board&lt;/A&gt;&lt;SPAN&gt;) or else a Red Probe+.&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:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530248#M1883</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530249#M1884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Thu Jun 27 02:06:52 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I'm using an lpc-link2. Thank you for the explanation I don't hear about that before. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will test with an lpc-link shortly and give you a feed back.&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:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530249#M1884</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530250#M1885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Thu Jun 27 06:18:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I try with the lpc-link to load and execute my code in SPIFI and it's working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But about the NOR Flash, it's still impossible to download and execute my code correctly. I don't know why but when the application start, the Memory located at 0x1c000000 isn't available. But after when I try to run the driver to see what is in the memory after initialization I can see my code in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the new debug log indicate an error which I'm not familiar with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v5.2 (Apr 26 2013 19:52:27 - crt_emu_lpc18_43_nxp build 1153)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found chip XML file in C:/Users/Vulliens.HQ/Documents/LPCXpresso_5.2.4_2122/workspace/UsbEmulator/Debug/LPC1850.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: HID64HS12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Packet delay: 0&amp;nbsp; Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Loaded MCB1800.cfx: S29GL064N Dual Flash (16MB) Keil_MCB1850_4350 Jun 27 2013 14:50:34&amp;nbsp; External Flash Device on 32-bit Bus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP: LPC1850&amp;nbsp; Part ID: 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing 76712 bytes to 1C000000 in Flash (assumed clock: 72.0MHz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Erased/Wrote page&amp;nbsp; 0-0 with 76712 bytes in 14480msec&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash write Done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Core reset only (VECTRESET)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stopped: VectorCatch:HardF (PC was 0x1C2177A0) (VectorCatch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be wrong ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the support, regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530250#M1885</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530251#M1886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Thu Jun 27 07:33:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You did remember to switch your boot config pins back after running from SPIFI ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530251#M1886</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530252#M1887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Thu Jun 27 22:23:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I have done this. I switch back for EMC32 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the memory could not be accessible. When I see the memory in debug mode at beginning of the application, there is only "1" or "F" in hexa.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After if I test the driver in debug mode, and pass the initialization pin to access the memory, I can see my code in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No idea about what could be provoked this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530252#M1887</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530253#M1888</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 Sat Jun 29 03:13:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you run the debug driver's debug build configuration (which downloads the basic driver into RAM from a "standard debug session", can you check that it first of all erases and then programs the flash memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Might be worth you just exporting and posting your flash driver project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/ImportExport&lt;/A&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:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530253#M1888</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530254#M1889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Wed Jul 03 23:47:10 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I have test in debug mode, and all the functions are working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the late answer, I was in holiday 2 days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The project is export in attached file. I have to clean it because it was too large.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530254#M1889</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Flash programming lpc1850</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530255#M1890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by maxtippy on Thu Jul 04 00:44:59 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I start debug the application, I see in the memory that there is only "1". But when I test an other little program just to init the memory, I can see my code in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to write something in the memory before starting the application ? Because I have to write some register after each reset to enable the memory controller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maxime&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:35:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-programming-lpc1850/m-p/530255#M1890</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:35:34Z</dc:date>
    </item>
  </channel>
</rss>

