<?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>I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42535/i-have-trouble-doing-buttonless-dfu-example</link><description>Hello all 
 i have problem with doing this example 
 https://github.com/gamnes/nRF52832-buttonless-dfu-development-tutorial 
 Here is my stepts to do this 
 1.Download Sdk in &amp;quot;C:\ &amp;quot;(nRF5_SDK_15.0.0_a53641a) 
 2.Flash software device in C:\nRF5_SDK_15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 06:23:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42535/i-have-trouble-doing-buttonless-dfu-example" /><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166707?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 06:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36def03e-2229-4ef9-84bc-623cd86a0b0d</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You have&lt;strong&gt; BSP_INDICATE_FATAL_ERROR &lt;/strong&gt;state if LED1 and LED2 are on at the same time.&lt;/p&gt;
&lt;p&gt;Can you try to build the &lt;strong&gt;debug version&lt;/strong&gt; of the &lt;strong&gt;secure_bootloader?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You find it in the folder &lt;strong&gt;nRF5_SDK_15.2.0\examples\dfu\secure_bootloader\pca10040_ble_debug&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Do you use Segger Embedded Studio?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166413?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 09:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8764b53-b784-47ec-8736-390303555a5f</guid><dc:creator>james cho</dc:creator><description>&lt;p&gt;and i add LED2 pin num15 result is two leds blink first 5seconds , after that two leds turns on is it meaning BSP_INDICATE_FATAL_ERROR ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166407?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 08:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f1d870-eb83-4ec8-a9f2-d8ca8540e0ff</guid><dc:creator>james cho</dc:creator><description>&lt;p&gt;thank you andrea&lt;/p&gt;
&lt;p&gt;my result is first 5seconds it blinks but after 5seconds it turns on not blink&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166155?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 08:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb123ca4-1abd-4b20-a6ca-9a6b310238c3</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Sorry, the fault is mine, I should be clearer with my explanation.&lt;/p&gt;
&lt;p&gt;1. Open the file &lt;strong&gt;pca10040.h&lt;/strong&gt; in folder &lt;strong&gt;nRF5_SDK_15.0.0_a53641a\components\boards&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2. Edit line &lt;strong&gt;52 and 53 &lt;/strong&gt;like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define LED_START      17
#define LED_1          17

EDIT TO THIS:
#define LED_START      14
#define LED_1          14
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And edit this on line &lt;strong&gt;74:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BUTTON_2       14

EDIT TO THIS:
#define BUTTON_2       17&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. Save and close the&amp;nbsp;&lt;strong&gt;pca10040.h&lt;/strong&gt; file&lt;/p&gt;
&lt;p&gt;4. Open the &lt;strong&gt;secure_bootloader&lt;/strong&gt; project in the folder &lt;strong&gt;nRF5_SDK_15.0.0_a53641a\examples\dfu\secure_bootloader\pca10040_ble&lt;/strong&gt; in the &lt;strong&gt;IDE &lt;/strong&gt;you wish to use.&lt;/p&gt;
&lt;p&gt;5. Compile the &lt;strong&gt;secure_bootloader &lt;/strong&gt;project and flash this to your device. You also need to flash the SoftDevice (found in the folder &lt;strong&gt;nRF5_SDK_15.0.0_a53641a\components\softdevice\s132\hex&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166144?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 08:24:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59c8f840-9dfc-4a39-93de-462f57b879d4</guid><dc:creator>james cho</dc:creator><description>&lt;p&gt;thank you Andeas because of my poor english&amp;nbsp; i can&amp;#39;t understand what you said&lt;/p&gt;
&lt;p&gt;do you mean i should compile&amp;nbsp; C:\nRF5_SDK_15.0.0_a53641a\examples\dfu\secure_dfu_test_images\ble\nrf52832\sd_s132_bootloader_buttonless_with_setting_page_dfu_secure_ble_debug_without_bonds&lt;/p&gt;
&lt;p&gt;? or other project using advertising&lt;/p&gt;
&lt;p&gt;if you said first i don&amp;#39;t know how to recompile hex file&amp;nbsp; :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166134?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 07:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee5d312a-a444-4deb-b59e-a3839c93e54a</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I suggest that you use a project then and edit the LED which shows when your device is advertising.&lt;/p&gt;
&lt;p&gt;Open the file &lt;strong&gt;nRF5_SDK_15.0.0_a53641a\components\boards\pca10040.h&lt;/strong&gt;, and edit the following&lt;strong&gt; &lt;/strong&gt;on line &lt;strong&gt;52 and 53:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define LED_START      17
#define LED_1          17

EDIT TO THIS:
#define LED_START      14
#define LED_1          14
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And edit this on line &lt;strong&gt;74:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BUTTON_2       14

EDIT TO THIS:
#define BUTTON_2       17&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Compile and download this &lt;strong&gt;.hex &lt;/strong&gt;file to your device.&lt;/p&gt;
&lt;p&gt;Does your LED blink now when it advertises?&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-0-0/sdk_for_custom_boards"&gt;Some more information on custom boards&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/166113?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 02:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4101cd-156c-4bc0-8016-5ac1000e87b9</guid><dc:creator>james cho</dc:creator><description>&lt;p&gt;i have a custom board without any buttons and i have two leds(pin numbers are 14 and 15) in my board&lt;/p&gt;
&lt;p&gt;so i cannot observe led blink because this hex file is precompiled&lt;/p&gt;
&lt;p&gt;but in my android phone i seldom found Nordic_Buttonless like this(bottom of list)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_2019_2D00_01_2D00_16_2D00_16_2D00_13_2D00_01.png" /&gt;&lt;/p&gt;
&lt;p&gt;as you look this screenshot, signal is dead and after i click refresh Nordic_Buttonless disappear&lt;/p&gt;
&lt;p&gt;i don&amp;#39;t know how to solve it&lt;/p&gt;
&lt;p&gt;thank you Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/165903?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 09:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffa8cbbf-4bcd-4d62-b517-399707ba8663</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Is your board advertising? Does LED1 blink? Do you have a custom board?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/165870?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 07:48:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:392713cc-21cd-4b24-ba71-978ef04756b5</guid><dc:creator>james cho</dc:creator><description>&lt;p&gt;Hi&amp;nbsp; thank you for reply i have one more question&lt;/p&gt;
&lt;p&gt;after i follow this&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/wwwwwwwww.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;something strange was happend&lt;/p&gt;
&lt;p&gt;sometimes actually seldom i got Buttonless but most of all i couldn&amp;#39;t found Buttoless&lt;/p&gt;
&lt;p&gt;this are steps i followed&lt;/p&gt;
&lt;p&gt;first i put this in cmd&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;nrfjprog --program C:\Users\mmsw\Desktop\cho\nRF5_15.2_ok_1s-p\examples\dfu\secure_dfu_test_images\ble\nrf52832\sd_s132_bootloader_buttonless_with_setting_page_dfu_secure_ble_debug_without_bonds.hex --chiperase &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and second i put this because i have board without buttons&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrfjprog --reset&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why i&amp;nbsp;seldom find Buttonless in nrfconnect scanner list&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have trouble doing buttonless dfu example</title><link>https://devzone.nordicsemi.com/thread/165696?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 10:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:040a94c5-d091-433f-98c1-a707d92e4c81</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Have you gone through the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_buttonless_dfu.html&amp;amp;cp=4_0_0_4_1_2_6"&gt;description here&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>