<?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: Target error from Commit Flash write in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542902#M8019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lucasrangit on Thu Aug 26 14:18:01 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TommyBurger&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I notice in the log it says "assumed clock: 240.0MHz". That is not right. Is there a way to overide this? Any other solution or workaround? Please help.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting "Vector catch" to true works. However, there is another field in the target's debug configuration named "Crystal (XTAL) frequency and PLL value" that sounds like it would be applicable in situation where the XTAL and PLL frequencies are changed. CodeRedSupport, where is the documentation for this configuration option? I've searched the LPCXpresso help and getting started guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:56:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:56:41Z</dc:date>
    <item>
      <title>Target error from Commit Flash write</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542899#M8016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TommyBurger on Thu Jul 15 11:53:04 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been using LPCXpresso for a few months on two projects using LPC1754. Today we decided we needed a crystal. We added a 4.91 MHz crystal and I changed the constants in system_LPC17xx.c to multiply that up to 98304000. It worked fine the first time, but then when trying to download to flash again I get an error reported by target dialog box:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Commit Flash write&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Flash erase or write operation aborted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the following MCU Debug Log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(crt_emu_cm3_nxp) terminating on communication loss: Pipe has been closed by GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v2.0 (Jun 10 2010 11:46:27)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looked for chip XML file in C:/nxp/lpcxpresso_3.4/bin/LPC1754.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looked for vendor directory XML file in C:/nxp/lpcxpresso_3.4/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found generic directory XML file in C:/nxp/lpcxpresso_3.4/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&amp;nbsp; 5) Remote configuration complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( 30) Emulator Connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( 40) Debug Halt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( 50) CPU ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP: LPC1754&amp;nbsp; Part ID: 0x25011722&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( 65) Chip Setup Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected: was_reset=false. was_stopped=true&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;( 70) License Check Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( 85) Registered Semihost Handler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(100) Target Ready&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing 31312 bytes to 0000 in Flash (assumed clock: 240.0MHz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 of 1 (&amp;nbsp; 0) Writing pages 0-7 at 0x00000000 with 31312 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&amp;nbsp; 0) Page&amp;nbsp; 0 at 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(100) Writing Flash ended with an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;15: Target error from Commit Flash write: Ef(9). Flash erase or write operation aborted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stopped: VectorCatch:HardF (PC was 0xFFFFFFFE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use another JTAG tool to erase the flash first, then flash downloading succeeds once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice in the log it says "assumed clock: 240.0MHz". That is not right. Is there a way to overide this? Any other solution or workaround? Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542899#M8016</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Target error from Commit Flash write</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542900#M8017</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 Jul 15 14:41:42 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please read this support article:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/node/44&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542900#M8017</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Target error from Commit Flash write</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542901#M8018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TommyBurger on Thu Jul 15 18:02:59 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, it is working now. I set the vector catch option to true and it worked. The funny thing is, I set it back to false for verification and it still worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542901#M8018</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Target error from Commit Flash write</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542902#M8019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lucasrangit on Thu Aug 26 14:18:01 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TommyBurger&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I notice in the log it says "assumed clock: 240.0MHz". That is not right. Is there a way to overide this? Any other solution or workaround? Please help.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting "Vector catch" to true works. However, there is another field in the target's debug configuration named "Crystal (XTAL) frequency and PLL value" that sounds like it would be applicable in situation where the XTAL and PLL frequencies are changed. CodeRedSupport, where is the documentation for this configuration option? I've searched the LPCXpresso help and getting started guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Target-error-from-Commit-Flash-write/m-p/542902#M8019</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:41Z</dc:date>
    </item>
  </channel>
</rss>

