<?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>Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39162/problem-reprogramming-the-sparkfun-nrf52832-dev-board</link><description>Hi, 
 I am using a Sparkfun nRF52832 dev board and SES with the Jlink mini to program it.Our project involved the ability to use the micro as a keyboard so I am playing with the ble_app_hids_keyboard example. 
 I was able to get the example running on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Oct 2018 13:15:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39162/problem-reprogramming-the-sparkfun-nrf52832-dev-board" /><item><title>RE: Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/thread/152223?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 13:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:552c6472-e0ab-4d13-8551-c507cb0f17ad</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am happy to help. I am not sure why it disconnects, but if you provide the debug log I might be able to get some more insight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/thread/152221?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 13:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9daa44db-0fc5-4e45-ad03-b02bed0af867</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am happy to help. I am not sure why it disconnects, but&amp;nbsp;if you provide the&amp;nbsp;debug log I might get some more insight.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/thread/151834?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 12:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7fcbd4f-8dd9-47f7-9541-635efdac41aa</guid><dc:creator>qchang</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thank you so much for the help. I was able to connect the micro back to my macbook&amp;nbsp;again after I deleted the Nordic Keyboard from the bluetooth&amp;nbsp;plist and restart my macbook. However the connection between the nRF52832 and my macbook&amp;nbsp;is very unstable. When I power on the dev board it automatically connected with my macbook&amp;nbsp;but after I press the button a couple of times(usually 2 to 4 times) it disconnected itself with macbook; sometimes it will connect back to macbook&amp;nbsp;by itself and sometimes I will need to reboot the dev board before it connects to macbook&amp;nbsp;again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will get back to Lab and tried to print out the error message. I am new to both SES and nRF chips so sorry for not providing and debugging message in the original post.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/thread/151828?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 12:01:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c10deaa6-0730-47d4-bc9e-4a1a91f2fb5e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I tried to reproduce the error you got. I downloaded the ble_app_hids_keyboard example onto the chip, connected the device to the computer. Then I reprogrammed the chip, and without removing the device I connected it to the computer once again.&lt;/p&gt;
&lt;p&gt;Then the same happened as in your case, it connected and disconnected, in the following manner:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; app: Fast advertising.
&amp;lt;info&amp;gt; app: Disconnected
&amp;lt;info&amp;gt; app: Connected
&amp;lt;info&amp;gt; peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102
&amp;lt;info&amp;gt; app: Fast advertising.
&amp;lt;info&amp;gt; app: Disconnected
&amp;lt;info&amp;gt; app: Connected
&amp;lt;info&amp;gt; peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102
.
.
.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you are getting the same error (4102), according to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38262/ble_app_template-connection-ecryption-error-in-sdk-15-1"&gt;this&lt;/a&gt;&amp;nbsp;link, the error occurs because the bonding info is removed from the chip, but not the client side, and&amp;nbsp;can be solved by removing the device from the laptop.&amp;nbsp;This&amp;nbsp;fixed&amp;nbsp;the problem for me.&lt;/p&gt;
&lt;p&gt;But it seems like this didn&amp;#39;t solve the issue for you. Could you try to debug the&amp;nbsp;chip and post any error messages you got?&lt;/p&gt;
&lt;p&gt;Best regards, Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem reprogramming the sparkfun nRF52832 dev board</title><link>https://devzone.nordicsemi.com/thread/151548?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 19:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e38e0f-c315-420d-83d8-3f62c45a78ef</guid><dc:creator>qchang</dc:creator><description>&lt;p&gt;Ok I just reconnected nrf52832 to my iphone&amp;nbsp;and it actually works. When I try to reconnect&amp;nbsp;it to my laptop it keeps connect and disconnect with my macbook. I tried to delete&amp;nbsp;the device from bluetooth&amp;nbsp;plist&amp;nbsp;but it still could not be connected to my macbook.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>