<?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>nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63312/nrf52832-custom-board-not-advertising-after-flashing-custom-bootloader-buttonless</link><description>Hi, 
 I followed this page , downloaded SDK 15.1.0 and I was able to compile and build Custom bootloader (after adding custom board, also changed in makefile as well) for Custom board of nRF52832 in the provided secure bootloader option using arm gcc</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jul 2020 07:47:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63312/nrf52832-custom-board-not-advertising-after-flashing-custom-bootloader-buttonless" /><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/260486?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 07:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53749e3c-bbcc-4929-8095-8a88bdb69ba7</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Thanks alot issue has been resolved, it was mainly because, when i downloaded SDK 15.x.x i did not pay much heed to&amp;nbsp;migration document, that was the problem regarding advertisement issue. I am using older SDK everything seems fine now.&lt;/p&gt;
&lt;p&gt;To answer your questions:&lt;/p&gt;
&lt;p&gt;1. I was using same flash setting than I got debug suggestion to change it.&lt;br /&gt;2. I just added disabled DFU enter through button press and enabled buttonless method and as well adjusted clock source as suggested above.&amp;nbsp;&lt;br /&gt;3. I did it succesfully flashed but no advertisement.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Nagarjun CS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/260306?ContentTypeID=1</link><pubDate>Thu, 16 Jul 2020 09:08:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe9b09e-f40d-4901-9698-bb92950ce119</guid><dc:creator>Jared</dc:creator><description>[quote user="Nagarjun"]But, after I flash my application (built with no errors)even though flashing is succesfull the device shutsdown without advertising. I checked if memory adjustements have to be so,i attahced debugger, but I see no debug results.[/quote]
&lt;p&gt;&amp;nbsp;Seems that maybe you are overwriting the application due to the flash memory settings.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Could you change the FLASH settings to what is used in a SDK example, for example the dfu secure example?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;You have obviously changed the Link count in the config file. What other changes have you done? A specific reason for why you changed this?&lt;/li&gt;
&lt;li&gt;Have you tried a unmodified SDK DFU example?&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/260045?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 07:21:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:168fcbd4-ef5d-48a7-b878-f5004e944f2d</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Okay, starting from building from building bootloader, i built the secure_bootloader project with no errors (after adding custom_board.h and enabling buttonless features in sdk_config) and flashed the soft device and bootloader succesfully. Now, the device advertises successfully in DFU mode, there is no problem there.&lt;br /&gt;&lt;br /&gt;But, after I flash my application (built with no errors)even though flashing is succesfull the device shutsdown without advertising. I checked if memory adjustements have to be so,i attahced debugger, but I see no debug results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/260043?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 07:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e734864-e684-45df-9804-8a58e5ab1bc3</guid><dc:creator>Jared</dc:creator><description>[quote user="Nagarjun"]But, after i corrected I get no debug messages after flash.[/quote]
&lt;p&gt;&amp;nbsp;Did you build the project without any errors and was is flashed successfully? What do you observe on the board, is it advertising?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259921?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 13:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7321e16-5949-4a59-8a2e-d4114faa5b61</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;I realized that soon and took care of it instantly and corrected it in sdk_config. But, after i corrected I get no debug messages after flash.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2020_2D00_07_2D00_14-15_2D00_12_2D00_04.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259912?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 12:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c72e80-54c8-47eb-85ec-9334a0eb5381</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;NRF_SDH_BLE_TOTAL_LINK_COUNT should be 2 as&amp;nbsp;&amp;nbsp;&lt;span&gt;&lt;span&gt;NRF_SDH_BLE_TOTAL_LINK_COUNT &amp;gt;=&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT+&amp;nbsp;&lt;/span&gt;&lt;/span&gt;NRF_SDH_BLE_CENTRAL_LINK_COUNT&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259858?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 09:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e299c29-4f1c-4828-b536-5e0f35d140f2</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Any suggestions? I have shared wha you asked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259614?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 07:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34ce26b-b61e-4aae-826b-529873cf9ea0</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Hi Jared,&lt;br /&gt;&lt;br /&gt;Here is the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0552.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../0552.sdk_5F00_config.h&lt;/a&gt;&amp;nbsp;you asked for.&lt;br /&gt;&lt;br /&gt;Start address:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x52000
  RAM (rwx) :  ORIGIN = 0x200038D8, LENGTH = 0xC728
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Size of softdevice is 415kb and flash is 512kb. I would like to also mention that, we changed softdevice from S132 V5.0.0 to S132 V6.1.0 to use buutonless feature in bootloader itself. I am now thinking, that it could be a problem as well. Could you let me know ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Nagarjun CS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259470?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 13:56:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5bb118a-e648-4e93-acfb-592968ff27a8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you share your sdk config file and the start address and size of the Softdevice and FLASH?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/259036?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 15:42:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1efe1cd0-0661-4fb0-a59f-4eb68bc8563f</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This is what I get in return from&amp;nbsp;&lt;span&gt;sd_ble_cfg_set()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="188" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2020_2D00_07_2D00_08-17_2D00_39_2D00_55.png" width="323" /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Nagarjun CS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/258989?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 12:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38b0b90b-79ce-4558-8896-67877e3c2162</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;RAM start location can be adjusted to&amp;quot; is outputted when the start address of the application is higher than it must be i.e it&amp;#39;s not necessarily&amp;nbsp;&amp;nbsp;a critical error as when there is less RAM available to the application than what is needed. I see that you get an error from sd_ble_cfg_set(), what does it return?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/258776?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 10:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595ca594-dbbe-471f-8c47-80fdc1466668</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;I re-verified my settings and changes I made in nrf_bootloader.c. Now, it advertises (but only button press method) with above changes in sdk_config.h and later i flash my application .zip package using nrf connect. And, board did not restart after button. So, when I checked I had to adjust RAM size.&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " height="180" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-from-2020_2D00_07_2D00_07-11_2D00_21_2D00_16.png" width="263" /&gt;&lt;br /&gt;&lt;br /&gt;I adjusted these in .ld file and now settings looks like this.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x52000
  RAM (rwx) :  ORIGIN = 0x200038D8, LENGTH = 0xC728
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And still I get error,&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;debug&amp;gt; nrf_sdh_ble: RAM starts at 0x200038D8 
&amp;lt;error&amp;gt; app: Fatal error&lt;/pre&gt;&lt;br /&gt;I am using Softdevice 132 6.1.0. Could you help me out what am I doing wrong?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Nagarjun CS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/258369?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 14:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26868488-2bfe-40ca-afb5-b2a6745aa001</guid><dc:creator>Nagarjun</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;Thanks for the reply.&amp;nbsp;&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/63312/nrf52832-custom-board-not-advertising-after-flashing-custom-bootloader-buttonless/258300"]Do you have the optional 32KHz crystal mounted on your custom board?[/quote]
&lt;p&gt;No, we do not have this.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In custom_board.h, I had set like this&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_CLOCK_LFCLKSRC      {.source       = NRF_CLOCK_LF_SRC_RC,      \
                                 .rc_ctiv      = 16,                          \
                                 .rc_temp_ctiv = 2,                          \
                                 .accuracy     = NRF_CLOCK_LF_ACCURACY_20_PPM}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But, I made the changes like you mentioned. But, flashing is successful but device doesn&amp;#39;t turn on after flashing softdevice and bootloader.&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/63312/nrf52832-custom-board-not-advertising-after-flashing-custom-bootloader-buttonless/258300"]That&amp;#39;s an oversight from us, which we have fixed in SDK 17.0.0. It should have been possible to compile the bootloader without defining any buttons.[/quote]
&lt;p&gt;Okay.&lt;br /&gt;&lt;br /&gt;If I define buttons and choose to enter bootloader mode through pressing buttons, than i can see LED on after I flash the softdevice and while flashing bottloader and doesn&amp;#39;t advertise as well above settings. But, when I choose buttonless, I can&amp;#39;t even see LED on.&lt;br /&gt;&lt;br /&gt;Could you please guide me further?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Nagarjun CS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 Custom board not advertising after flashing Custom Bootloader (Buttonless)</title><link>https://devzone.nordicsemi.com/thread/258300?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 12:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f960a9fa-f60f-4128-bbda-0bc3603f5215</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have the optional 32KHz crystal mounted on your custom board? If not, please make sure you have selected the internal RC oscillator as the low-frequency clock source in sdk_config (default is xtal):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;/h&amp;gt; 
//==========================================================

// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 8
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Otherwise, the Softdevice will enter an infinite loop waiting for the non-existent crystal to start up.&lt;/p&gt;
[quote user=""]Also, I want to know even though I have disabled&amp;nbsp;&lt;span&gt;NRF_BL_DFU_ENTER_METHOD_BUTTON, why do I have to define&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN (I get error if I don&amp;#39;t define)&lt;/span&gt;&amp;nbsp;?[/quote]
&lt;p&gt;&amp;nbsp;That&amp;#39;s an oversight from us, which we have fixed in SDK 17.0.0. It should have been possible to compile the bootloader without defining any buttons. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>