<?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>LPC MicrocontrollersのトピックRe: LPC4357:  could not stop Cortex-M device</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596541#M23052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The board in use do neither has COM nor Ethernet-ports, only USB and the standard 20-pin-debug-port.&lt;/P&gt;&lt;P&gt;USB is not set up, it looks like using Ulink2 is the only way to get access.&lt;/P&gt;&lt;P&gt;I was using Flash Magic but failed to establish a connection via Ulink2 only.&lt;/P&gt;&lt;P&gt;Now I have available a 2nd EVB, booting is done now using external flash only.&lt;/P&gt;&lt;P&gt;In case there should go something wrong again, I could switch to internal flash using a working program&lt;/P&gt;&lt;P&gt;to get access any time again.&lt;/P&gt;&lt;P&gt;For the first EVB I will try to get access again from time to time...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 15:52:58 GMT</pubDate>
    <dc:creator>hartmutmeyer</dc:creator>
    <dc:date>2016-08-16T15:52:58Z</dc:date>
    <item>
      <title>LPC4357:  could not stop Cortex-M device</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596539#M23050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have managed somehow to set my Cortex-M-device in a state where flashing is no more possible ( using uVision4 and ulink2 ).&lt;/P&gt;&lt;P&gt;It is for sure that this has something to do with the last code I have flashed&amp;nbsp; :smileysad:&lt;/P&gt;&lt;P&gt;There are already several postings about this topic in the web, so this is nothing new.&lt;/P&gt;&lt;P&gt;I have tried the known ways like reducing the clock-speed, try different reset-options eg, but all fails.&lt;/P&gt;&lt;P&gt;I faced this problem already but was able to connect later again, but now it looks like matters are much more difficult.&lt;/P&gt;&lt;P&gt;Obviously, the code has direct impact on the "strength" of this issue, there may be a way out or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read about a solution by adding some delay during startup, but at least for this board this seems to be to late,&lt;/P&gt;&lt;P&gt;therefore a new one is on it's way.&lt;/P&gt;&lt;P&gt;For future versions I will probably use external flash only + delay inside startup-code and switch to internal flash only in case&lt;/P&gt;&lt;P&gt;the code is running.&lt;/P&gt;&lt;P&gt;This avoids booting always from internal flash by automatic on the EVB used, no matter what boot-options are set :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2016 11:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596539#M23050</guid>
      <dc:creator>hartmutmeyer</dc:creator>
      <dc:date>2016-08-14T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357:  could not stop Cortex-M device</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596540#M23051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try booting the board into ISP mode. This should then allow the debugger to take control, or for you to connect over UART using a tool like Flashmagic to erase the flash (&lt;A href="http://www.flashmagictool.com/" title="http://www.flashmagictool.com/"&gt;Flash Magic - Welcome&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the following FAQ is targeted at LPCXpresso IDE, the information about ISP booting is valid regardless of toolchain:&lt;A href="https://community.nxp.com/message/630748"&gt;Regaining debug access to target MCU&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 07:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596540#M23051</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-08-16T07:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357:  could not stop Cortex-M device</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596541#M23052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The board in use do neither has COM nor Ethernet-ports, only USB and the standard 20-pin-debug-port.&lt;/P&gt;&lt;P&gt;USB is not set up, it looks like using Ulink2 is the only way to get access.&lt;/P&gt;&lt;P&gt;I was using Flash Magic but failed to establish a connection via Ulink2 only.&lt;/P&gt;&lt;P&gt;Now I have available a 2nd EVB, booting is done now using external flash only.&lt;/P&gt;&lt;P&gt;In case there should go something wrong again, I could switch to internal flash using a working program&lt;/P&gt;&lt;P&gt;to get access any time again.&lt;/P&gt;&lt;P&gt;For the first EVB I will try to get access again from time to time...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-could-not-stop-Cortex-M-device/m-p/596541#M23052</guid>
      <dc:creator>hartmutmeyer</dc:creator>
      <dc:date>2016-08-16T15:52:58Z</dc:date>
    </item>
  </channel>
</rss>

