<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF51822 - After power up, program does not start without cycling the reset pin.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40707/nrf51822---after-power-up-program-does-not-start-without-cycling-the-reset-pin</link><description>Hello, we have been using a nRF51822 8-pin RF module for a while now for various products, the pinout is as follows: power, P0.00, P0.01, P0.09, P0.11, SWDIO, SWDCLK, ground. 
 I am using SDK13 in Keil, using a J-link SWD device for programming, and using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Nov 2018 23:13:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40707/nrf51822---after-power-up-program-does-not-start-without-cycling-the-reset-pin" /><item><title>RE: nRF51822 - After power up, program does not start without cycling the reset pin.</title><link>https://devzone.nordicsemi.com/thread/159121?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 23:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3884630b-bdd9-4410-9fbc-fb6426724bd8</guid><dc:creator>Mahonroy</dc:creator><description>&lt;p&gt;I figured out what the problem was. I had to insert a &amp;quot;nrf_delay_ms&amp;quot; command in my initialization function... looks like it was booting up too fast before all the other circuitry on the circuit board was ready (other IC&amp;#39;s using I2C, UART IC, etc.). This is why manually resetting always worked, because everything was already powered up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 - After power up, program does not start without cycling the reset pin.</title><link>https://devzone.nordicsemi.com/thread/159110?ContentTypeID=1</link><pubDate>Mon, 26 Nov 2018 18:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dc3a906-d1bd-4fc7-9aa3-a365d6fed6b7</guid><dc:creator>Mahonroy</dc:creator><description>&lt;p&gt;Hello, thank you for the response.&lt;/p&gt;
&lt;p&gt;This unfortunately did not fix the problem. This allowed the program to start running after flashing.... but disconnecting the J-link and just powering up the device itself, the firmware doesn&amp;#39;t start without manually resetting it by shorting SWDIO to ground... at which point it starts working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 - After power up, program does not start without cycling the reset pin.</title><link>https://devzone.nordicsemi.com/thread/158473?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 15:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:946f4cee-9de8-4cf6-af9c-158ac6524f28</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sounds like your project setting is not running the firmware after flash download.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s how to verify this setting:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/963/why-hard-power-reset-is-needed-after-every-flash-into-nrf51822"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/963/why-hard-power-reset-is-needed-after-every-flash-into-nrf51822&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you try this and report back?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You could also use nrfjprog for this: nrfjprog --pinreset -f nrf51&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>