<?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>Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5873/resetting-smart-beacon-to-factory-state</link><description>I&amp;#39;m doing some work with the nRF51822 smart beacon kit. I tried to do an over the air firmware update of the application, but kept getting dfu invalid state (2) errors after progress got to 1%. I tried to reupload the original precompiled hex application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Mar 2015 18:35:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5873/resetting-smart-beacon-to-factory-state" /><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20497?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2015 18:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:135111b2-1c74-4483-b4e7-7179a8518f50</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;Turned out that I was not formatting the last section of the init.dat file correctly, and had some issues with the project file.   Correcting the init.dat, and starting with a clean Keil project from the website allowed me to successfully upload changed firmware to the beacon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20496?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 13:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05829297-01e2-4c40-8f4c-1bc228a446bd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;If DFU does not work on the beacon kit the first thing to check is what board revision you have. Revision 1.0.0 is pre-programmed with S110 v.6.0.0., thus compatible with &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822-Bluetooth-Smart-Beacon-Kit/nRF51822-BK-FW/29888"&gt;beacon firmware v. 1.0.1&lt;/a&gt; that uses the v.6.0.0 API.&lt;/p&gt;
&lt;p&gt;S110 v.6.0.0. does however not have the support for softdevice and bootloader DFU, so unfortunately,  going from beacon FW 1.0.1 does  require an external &lt;a href="https://segger.com/jlink-debug-probes.html"&gt;J-link&lt;/a&gt;/&lt;a href="https://www.nordicsemi.com/eng/Products/nRF51-DK"&gt;DK kit&lt;/a&gt; to update the  kit with the cable Asbjørn mentioned. The update procedure is described in the index.html file found in the folder of the downloaded beacon firmware v.1.1.0.&lt;/p&gt;
&lt;p&gt;Board revisions after v.1.0.0 is already running with the latest firmware and can be updated with &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF-MCP-x64/46143"&gt;Master control panel 3.7.1&lt;/a&gt; by following the steps described below the &amp;quot;testing&amp;quot; section in the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v7.x.x/doc/7.2.0/s110/html/a00063.html"&gt;SDK documentation&lt;/a&gt;. This makes an &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v7.x.x/doc/7.2.0/s110/html/a00065.html"&gt;init file&lt;/a&gt; internally so you only need to provide the .hex file. On Android this init file has to be made manually. There is a guide on &lt;a href="https://github.com/NordicSemiconductor/nRF-Master-Control-Panel/tree/master/init%20packet%20handling"&gt;Github&lt;/a&gt; on how to do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20495?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 05:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4192fb5a-23bd-4345-969f-7f13053c6bf0</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;Currently working with Vidar in support on a solution.  Will post details when resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20494?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2015 19:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cb002dd-8257-4985-94d1-144d4e09c167</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;As a result, I tried to execute a firmware update with my iPad and the Nordic Toolbox for iOS - using the application file as a hex, and a correct application.dat file using the format you specify in a .zip file.   I was able to connect to both beacons again and begin the update.   Both times I got a disconnect message.   The beacon stuck in bootloader mode remained in bootloader mode, but the new beacon returned to advertising mode when the SW1 button was pressed.&lt;/p&gt;
&lt;p&gt;I checked the voltage on the PCB of the port I had attempted to open on the beacon in advertising mode.   The voltage was unchanged from the factory behavior.  So the update did not complete.&lt;/p&gt;
&lt;p&gt;Thanks for the advice about the connector as well.   Would I need the Master Control Panel for Windows to execute a hardwired update?  This is not included with the beacon, so if I do need it, what do I need to purchase?
Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20493?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2015 18:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:396da810-5b71-47a5-a55e-c72394037e9d</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;I thought I had done something wrong, so I actually ordered 2 additional beacons over the weekend to try again before I saw your response.    I figured that there might have been a serious issue with my original code that caused the problem.  I simplified my firmware code (now the firmware code is just the source Keil project, with three lines to define the number of a port to be opened as an output, set the port as an output and set it high).    This was compiled to an axf file, then converted to a BIN with fromelf.&lt;/p&gt;
&lt;p&gt;Interestingly, if I attempt the firmware update with the beacon stuck in Bootloader mode, and one of the new beacons, I get a DFU invalid state (2) error.   This is on the LG phone with Android 4.4.2.   So both beacons are behaving the same way when I send an application update.  So I suspected phone was the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting smart beacon to factory state</title><link>https://devzone.nordicsemi.com/thread/20492?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2015 17:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abcf6e0e-45ba-46d3-aa07-0d08bd807cea</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;You can re-program the beacon through the interface available on the little tap on the side of it. Either use the TC2030 connector or solder onto VDD, GND, SWDIO and SWDCLK to reprogram the unit. I&amp;#39;m not sure what has happened to your beacon, but it does seem to be stuck in the bootload mode. Do you see it constantly advertising as a dfu service as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>