<?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 Cannot program flash on LPCXpresso 1769 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573260#M21363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rattus on Wed May 18 16:43:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the VM problems were cleared, I've been playing with various coding experiments. Maybe a dozen. At one point, the LED on the LPC1769 side seemed to stick on half intensity (as if it's toggling at a high rate), and from that point on, I get errors like the following when I debug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Commit Flash write: Et: Flash driver not ready.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weird. So I reset the USB (dfu, reset the port in the VM) and try the command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;highline-linux:/usr/local/LPCXpresso/bin&amp;gt; crt_emu_cm3_nxp -flash-erase -pLPC1769 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v2.0 (Apr&amp;nbsp; 1 2011 10:54:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GetModuleFileName path == /usr/local/LPCXpresso/bin/crt_emu_cm3_nxp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for chip XML file in /usr/local/LPCXpresso/bin/LPC1769.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for vendor directory XML file in /usr/local/LPCXpresso/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Found generic directory XML file in /usr/local/LPCXpresso/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed:02: Failed on connect: Ee(05). No matching emulator found - make sure power is on and not in use already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Et:31: No connection to emulator device&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing. It seems to be in a programmed state from which I can't flash my way out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried other USB ports, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:52:49 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:52:49Z</dc:date>
    <item>
      <title>Cannot program flash on LPCXpresso 1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573260#M21363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rattus on Wed May 18 16:43:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the VM problems were cleared, I've been playing with various coding experiments. Maybe a dozen. At one point, the LED on the LPC1769 side seemed to stick on half intensity (as if it's toggling at a high rate), and from that point on, I get errors like the following when I debug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Commit Flash write: Et: Flash driver not ready.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weird. So I reset the USB (dfu, reset the port in the VM) and try the command line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;highline-linux:/usr/local/LPCXpresso/bin&amp;gt; crt_emu_cm3_nxp -flash-erase -pLPC1769 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v2.0 (Apr&amp;nbsp; 1 2011 10:54:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GetModuleFileName path == /usr/local/LPCXpresso/bin/crt_emu_cm3_nxp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for chip XML file in /usr/local/LPCXpresso/bin/LPC1769.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for vendor directory XML file in /usr/local/LPCXpresso/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Found generic directory XML file in /usr/local/LPCXpresso/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed:02: Failed on connect: Ee(05). No matching emulator found - make sure power is on and not in use already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Et:31: No connection to emulator device&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing. It seems to be in a programmed state from which I can't flash my way out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried other USB ports, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:52:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573260#M21363</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program flash on LPCXpresso 1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573261#M21364</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 May 18 16:50:21 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, switch to ISP and try it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A href="http://http://knowledgebase.nxp.com/showthread.php?t=1909"&gt;&lt;/A&gt;&lt;A href="http://knowledgebase.nxp.com/showthread.php?t=1909" target="test_blank"&gt;http://knowledgebase.nxp.com/showthread.php?t=1909&lt;/A&gt; &lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:52:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573261#M21364</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program flash on LPCXpresso 1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573262#M21365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rattus on Wed May 18 18:28:45 MST 2011&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;Yes, switch to ISP and try it again.&lt;BR /&gt;&lt;BR /&gt;See: &lt;A href="http://http://knowledgebase.nxp.com/showthread.php?t=1909"&gt;&lt;/A&gt;&lt;A href="http://knowledgebase.nxp.com/showthread.php?t=1909" target="test_blank"&gt;http://knowledgebase.nxp.com/showthread.php?t=1909&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Zero; I followed your link to the Code Red page that also suggested the vector catch method, and after spending a few minutes trying to find the Debug Configurations button in the IDE (hint: it's the squashed bug just to the left of the hammer - that sure was intuitive!), set the vector catch value to true, reinitialized the USB, went into debug mode, disabled the vector catch and voila - it came back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now to figure out how I locked the flash in the first place ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Cannot-program-flash-on-LPCXpresso-1769/m-p/573262#M21365</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:52:51Z</dc:date>
    </item>
  </channel>
</rss>

