<?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: LPC link not erasing flash on new debug in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596386#M31758</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 Tue Jan 29 22:14:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No error messages ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are we talking about LPCXpresso1769 boards ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you use CRP ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try ISP bootlader (&lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.support.code-red-tech.com/CodeRedWiki/DebugAccessChip&lt;/A&gt;&lt;SPAN&gt;) and use FlashMagic (&lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.flashmagictool.com&lt;/A&gt;&lt;SPAN&gt;). That's independent from SWD&amp;nbsp; :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;EDIT: OK I just tried the erase option in the chip programming window&amp;nbsp; and I managed to stop the device sending the message on uart0. Do you&amp;nbsp; really have to do these steps manually to ensure it works?&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;No :eek: If debugging isn't working there's a problem somewhere :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:36:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:36:01Z</dc:date>
    <item>
      <title>LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596383#M31755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpc_user on Tue Jan 29 21:07:41 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi. I have just started using my LPCxpresso 1768/1769 dev boards and I am having some trouble with lpcxpresso 5.0.14&amp;nbsp; Sometimes old code is retained on the device even after trying to debug new projects. I had some code on the board which used uart0 to send some messages. Now even after loading a new workspace, importing all the demo projects again, and then trying to debug the supplied uart example (which uses uart3) the board keeps sending the message on uart0 each time I debug. Since there is no erase flash button, nor is there a program flash button and it seems these processes are entrusted to the IDE, I cant see how to ensure the IDE actually does this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've watched the very few videos I could find and I have made sure focus is on the right part of project explorer during builds etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope someone can help with this, it is extremely frustrating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:35:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596383#M31755</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596384#M31756</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 Tue Jan 29 21:50:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Try to Clean your Project and Build it again :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Use 'Flash Program' Button (little chip icon) to program your *.axf file. There you can select 'Mass erase' ('Erase option') to delete your complete flash ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596384#M31756</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596385#M31757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpc_user on Tue Jan 29 21:57:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for those suggestions. I had tried those options and I just tried again with no improvement. Whichever axf file I choose in the program flash dialog, and with mass erase selected, uart0 still sends the same message on power up. even flash files form workspaces before I was using uart0 and from demo programs that dont even use a uart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: OK I just tried the erase option in the chip programming window and I managed to stop the device sending the message on uart0. Do you really have to do these steps manually to ensure it works?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596385#M31757</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596386#M31758</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 Tue Jan 29 22:14:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No error messages ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are we talking about LPCXpresso1769 boards ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you use CRP ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try ISP bootlader (&lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.support.code-red-tech.com/CodeRedWiki/DebugAccessChip&lt;/A&gt;&lt;SPAN&gt;) and use FlashMagic (&lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.flashmagictool.com&lt;/A&gt;&lt;SPAN&gt;). That's independent from SWD&amp;nbsp; :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;EDIT: OK I just tried the erase option in the chip programming window&amp;nbsp; and I managed to stop the device sending the message on uart0. Do you&amp;nbsp; really have to do these steps manually to ensure it works?&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;No :eek: If debugging isn't working there's a problem somewhere :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596386#M31758</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596387#M31759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpc_user on Tue Jan 29 22:27:08 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There are no error messages that I can spot at least.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I am not using the IDE correctly. If you have code that is sending "ttt\r\n" on uart0 in a while(1) loop, then you change said code to instead send "bbb\r\n", you have to clean, then build, the debug in order to see the changes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll look into the alternative loaders you suggested. Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596387#M31759</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596388#M31760</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 Tue Jan 29 22:38:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: lpc_user&lt;/STRONG&gt;&lt;BR /&gt;...you have to clean, then build, the debug in order to see the changes?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, usually a simple Build / Debug is doing the job :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596388#M31760</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596389#M31761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpc_user on Tue Jan 29 22:45:11 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah it isn't doing it consistently for me. But I can at least see changes on the device now using the manual programming button. Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596389#M31761</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC link not erasing flash on new debug</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596390#M31762</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 Jan 30 01:57:07 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To investigate this we would really need an actual example project, plus exact instructions on how to reproduce. If you can't send a project, then sending two AXF files (a "before" and "after"), plus corresponding linker map files may be sufficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note, the below recent thread contains details of how to cause a mass erase "automatically" before each debug launch. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=4085&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might find that you can use this as a "workaround" for now.&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 21:36:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-link-not-erasing-flash-on-new-debug/m-p/596390#M31762</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:36:04Z</dc:date>
    </item>
  </channel>
</rss>

