<?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>nrf52 hangs in softdevice on power up</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20174/nrf52-hangs-in-softdevice-on-power-up</link><description>Hi,
I am running an nrf52 (board PTR5628, no external 32kHz crystal), having some leds blinking at startup just prior to start advertising. 75% of the time when I power it on it hangs. If I connect a debugger it seems to be stuck at address 0x8e4 - softdev</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Mar 2017 18:08:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20174/nrf52-hangs-in-softdevice-on-power-up" /><item><title>RE: nrf52 hangs in softdevice on power up</title><link>https://devzone.nordicsemi.com/thread/78589?ContentTypeID=1</link><pubDate>Sat, 04 Mar 2017 18:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:652d1427-cfe4-4329-ae69-9fed02b8e579</guid><dc:creator>pellepl</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;solved it. Turns out that it was a non-connected debug uart port freaking out. When setting the uart pins to UART_PIN_DISCONNECTED it worked also with the SWD detached. God knows why. My guess is that the uart RX pin fluctuated without the ground from the SWD. This is turn probably generated lot of input to the nrf52. As I based my app on the BLE-UART example, this might have generated calls into the softdevice stack way too early, or spammed it enough to kill my app. As things work when I debug, it is somewhat hard ever figuring out what actually messed things up.&lt;/p&gt;
&lt;p&gt;Anyhow, nrf52 rock! Way to go Nordic! Easiest the most competitive sdk and chip when it comes to CortexM4 with integrated 2.4GHz radio. No forcing of toolchain vendors or operating systems.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>