<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Flash download error when in deep power down mode</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/38718/flash-download-error-when-in-deep-power-down-mode</link><description> 
I have programmed an LPC1768 to be nearly always in deep power
down mode. It is waken periodically by an RTC alarm 

 
Since I did this, I cannot reprogram the processor using the
programmer included in Keil&amp;#39;s microcontroller development tool
kit. </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/131829?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2010 23:42:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6b19350-8724-4917-be57-c515bc352d60</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
Pb solved.&lt;br /&gt;
After disoldering the NMI pin to add a pull up to Vdd and force it to
Gnd at reset, I have been able to reprogram the uc.&lt;/p&gt;

&lt;p&gt;
Thanks for your help&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/130607?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2010 02:11:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:24d3d804-6cc9-4eb5-82eb-c10c48ba3388</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
No, The pin is connected to its neighbour VddIO. So it is quite
difficult to cut the connection temporarily. It is nearly as
difficult as changing the micro.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/126017?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2010 01:07:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:87ee5976-0a42-4a21-b6ca-a351822b6397</guid><dc:creator>Robert &amp;#160;</dc:creator><description>&lt;p&gt;&lt;p&gt;
Have you forced the chip into bootloader mode and then tried to
erase the flash?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/115586?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2010 00:29:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3ef33741-f812-484b-abe0-2b30b9f7d7bd</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for the EINT0 idea.&lt;br /&gt;
As a matter of fact, I had included some code to run a loop when
coming out of deep power down if a pin was 0V.It works, I can see it
on scope.&lt;br /&gt;
I also can enter debug mode. Just cannot reprogram the flash : I get
: &amp;quot;SWD communication failure&amp;quot; and then &amp;quot;Flash download failed&amp;quot;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/103791?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 22:24:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c65b4096-d0a2-4015-86d8-290c5a0b13ce</guid><dc:creator>Robert &amp;#160;</dc:creator><description>&lt;p&gt;&lt;p&gt;
Debugging is not possible in Power Down mode on LPC17xx because
the chip turns off also the debug interface. Therefore also flashing
is not possible.&lt;/p&gt;

&lt;p&gt;
A simple solution is to force the chip into bootloader mode at
reset by holding EINT0 low while resetting the chip. Since chip will
stay in bootloader mode the application which uses power down won&amp;#39;t
be executed and it will be possible to erase/reprogram flash.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/78138?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 10:35:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:628a87eb-f52d-41a5-9867-9a089b317c7b</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
Question to keil in process&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/57814?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 10:09:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d8e0bb3e-3924-4f34-bc53-4550f574d4b9</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
I guess the debugger cannot distinguish beween the target being
disconnected, and the target being &amp;quot;in deep power down mode&amp;quot;?&lt;/p&gt;

&lt;p&gt;
Have you spoken to Keil support about this?&lt;/p&gt;

&lt;p&gt;
Have you spoken to NXP support about this?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/102085?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 10:04:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8ed10269-274b-4a92-b52e-5c1013100a3b</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks, but, it does not work&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/90275?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 09:15:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:79562479-a0dc-4da1-bbd3-76815bea4418</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
maybe you can hold the processor in reset using an external pin,
release it (or not...?) and quickly erase the flash using
JTAG/uv4...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash download error when in deep power down mode</title><link>https://community.arm.com/thread/57828?ContentTypeID=1</link><pubDate>Mon, 01 Mar 2010 08:48:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3dfe4828-a815-4d18-a328-c0fade74caee</guid><dc:creator>Benoit Chiron</dc:creator><description>&lt;p&gt;&lt;p&gt;
Some more information :&lt;br /&gt;
programmer/debugger&amp;#39;s name is U-LINK ME&lt;/p&gt;

&lt;p&gt;
Error message is : &amp;quot;Error: Flash download failed - Target DLL has
been cancelled&amp;quot;&lt;/p&gt;

&lt;p&gt;
The processor runs its program normally from what can be seen with
an oscilloscope.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>