<?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>Sometimes main function never gets reached. Need help badly.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26037/sometimes-main-function-never-gets-reached-need-help-badly</link><description>Hi,
I set a debug LED on as the very first thing I do in main. Randomly (sometimes 2 in a row, sometimes 1 in 100), sometimes my debug LED never comes on and no code is executed. 
 I got some help from Laird in modifying my startup file, which should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Oct 2017 10:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26037/sometimes-main-function-never-gets-reached-need-help-badly" /><item><title>RE: Sometimes main function never gets reached. Need help badly.</title><link>https://devzone.nordicsemi.com/thread/102628?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acb076a-c804-40ec-8c12-081ce9df2663</guid><dc:creator>the_purple_pig</dc:creator><description>&lt;p&gt;Laird Module. After a response from Nordic Support this morning, I added a 1 Meg pulldown on the /RESET line and this seems to have solved the problem.
Doesn&amp;#39;t seem like there&amp;#39;s a firmware fix so I have to mod lots of product, but if it works, this is a huge amount of pressure off my shoulders!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sometimes main function never gets reached. Need help badly.</title><link>https://devzone.nordicsemi.com/thread/102627?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c6ffc5a-a58f-4c1a-b0d6-28aed90311a9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Attaching a pulldown resistor to the SWDCLK is definitly not a good idea. Are you using a Laird Module or a custom board with a nRF51822? Which SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>