<?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 custom board only turns on one time right after programming [SDK17 + S132]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107702/nrf52-custom-board-only-turns-on-one-time-right-after-programming-sdk17-s132</link><description>Hi everyone. I&amp;#39;m programming the nRF52 custom board with the following figure - my application is based on ble_app_uart example. The custom board turned on and worked normally for the first time. When I turn off the power to the board and turn it back</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jan 2024 18:40:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107702/nrf52-custom-board-only-turns-on-one-time-right-after-programming-sdk17-s132" /><item><title>RE: nRF52 custom board only turns on one time right after programming [SDK17 + S132]</title><link>https://devzone.nordicsemi.com/thread/465878?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 18:40:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cb4b291-e148-4fc7-b3a9-b9cb31e2170a</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks a lot &lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;. The issue was resolved&amp;nbsp;when I enable RX pin with the internal pin pull-up by the following code (for anyone got this issue in the future).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_gpio_cfg_input(RX_PIN_NUMBER, NRF_GPIO_PIN_PULLUP);&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 custom board only turns on one time right after programming [SDK17 + S132]</title><link>https://devzone.nordicsemi.com/thread/465874?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 17:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3073c571-3083-4346-aa8d-d02e86e6ce59</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;If there is no external pull-up or other connection on the custom board uart Rx pin make sure the internal pin pull-up is enabled in the ble_app_uart code otherwise you will get an error like this because initialising the uart can generate a framing error if the Rx pin is not held high; alternatively to test this suggestion connect the Rx pin to Vdd and see if the error goes away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 custom board only turns on one time right after programming [SDK17 + S132]</title><link>https://devzone.nordicsemi.com/thread/465870?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 17:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cd7c747-16a0-4f40-aa99-4e876f9203f3</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks for the reply Simonr!&lt;/p&gt;
&lt;p&gt;As I mentioned above, my custom board worked fine (meaning, a LED keeps blinking for advertising and once it gets connected, the LED stops blinking) right after flashing the code using nRF52 Dev Kit, so I assume there is no error. However, once I turned off my custom board, then turned the power back on. There were no indicator showing the board works or not.&lt;/p&gt;
&lt;p&gt;I checked with RTT Viewer it showed an error as you saw in the first post and it pointed to this function in the main.c file.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:535px;max-width:562px;" alt=" " height="535" src="https://devzone.nordicsemi.com/resized-image/__size/1124x1070/__key/communityserver-discussions-components-files/4/pastedimage1706116294388v1.png" width="562" /&gt;&lt;/p&gt;
&lt;p&gt;There is one more thing I should let you know. My custom board is based on nRF52833 while the nRF52 DEV KIT is with nRF52832. For other applications, flashing the custom board with this DEV KIT worked well. Not sure if any doubts from this point?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 custom board only turns on one time right after programming [SDK17 + S132]</title><link>https://devzone.nordicsemi.com/thread/465823?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 13:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7bbd080-b7ab-4312-b4ce-ed99863a6daf</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you show me the rest of that error line? It seems that something is running out of memory, but you&amp;#39;ve cut the screenshot before I can see what line/file is reporting this error. You should try going to the file mentioned and see what an NO_MEM error means in that context. Seems like a SW issue rather than a HW issue at first glance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>