<?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>Blinky firmware does&amp;#39;nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66550/blinky-firmware-does-nt-start-without-jlink-connection-on-nrf52833-custom-board</link><description>Hi, 
 We built the Blinky sample with NRF Connect SDK 1.3.1. It works fine on NRF52833 DK, but when flashing on external custom NRF52833 board the firmware won&amp;#39;t start without j-link connection established. 
 Anyone has a clue about what&amp;#39;s going on ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Oct 2020 09:28:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66550/blinky-firmware-does-nt-start-without-jlink-connection-on-nrf52833-custom-board" /><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/273416?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 09:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f4e9d8b-e1c7-43bb-96c1-9d88212ad847</guid><dc:creator>fgaultier</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We solved the problem. It was a hardware problem: the LC circuit on DCC / DEC4 pins was not correct and was preventing the normal boot up of the NRF52833, except if connected with JLINK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/272753?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 13:32:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdc60c3b-7efc-4ade-88ef-cb80b39ea441</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have an nRF52832 DK with a broken LFXTAL, and I tested the ncs\zephyr\samples\basic. I noticed that when I flash this sample on this DK, it automatically selects the RC oscillator, while if I flash it to a DK with a working LFXTAL, it selects the XTAL, so I suspect that Zephyr tries with the XTAL first, and then moves over to the RC oscillator if the XTAL is not responding. So I don&amp;#39;t think that is actually the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tested the nRF52833 DK without the debugger attached as well, but obviously, as you already described, that works as well.&lt;/p&gt;
&lt;p&gt;Do you have any way of monitoring the logs when the debugger is not connected. Either a standalone UART device (TTL-232) or another nRF DK that you can connect the UART pins on and monitor the UART log? In that case, does the log say anything when the debugger is not attached?&lt;/p&gt;
&lt;p&gt;The log should say:&lt;/p&gt;
&lt;p&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1&amp;nbsp; ***&lt;/p&gt;
&lt;p&gt;If it doesn&amp;#39;t say anything more, try to add the line:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;to your prj.conf file and check the log again.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/272532?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 12:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b512dd59-99dc-453a-afff-fe1e07bf9bcd</guid><dc:creator>fgaultier</dc:creator><description>&lt;p&gt;Yes we have an LFXTAL on our custom board and it should be working fine. Our firmware example does not involve any BLE. Is LFXTAL used even in those cases ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How do you set the LFCLK settings in the application ? We use NCS and Zephyr Blinky sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/272526?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 12:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484abd77-3fcf-4776-9bdd-f208c93a36c0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you have an LFXTAL on your custom nRF52833 board? If not, did you set the correct LFCLK settings in your application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When something works on a Nordic DK but not a custom board, that is usually the reason. The LFXTAL is not present, and hence the BLE stack doesn&amp;#39;t work properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So do you have an external LFXTAL (32kHz) on your custom board?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/272316?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d749fec-b52d-4b1e-8102-48ef92a6019f</guid><dc:creator>fgaultier</dc:creator><description>&lt;p&gt;It does&amp;#39;not seem to be the case and the same firmware runs fine on NRF52833 DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky firmware does'nt start without jlink connection on NRF52833 custom board</title><link>https://devzone.nordicsemi.com/thread/272289?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 12:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8421b1b-2634-4c01-bed1-61f2250bc407</guid><dc:creator>koniho</dc:creator><description>&lt;p&gt;This can happen if the firmware is built with Blocking mode RTT, i.e. `#define SEGGER_RTT_CONFIG_DEFAULT_MODE 2 // blocking`&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>