<?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 fails on PCA10059</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40068/blinky-fails-on-pca10059</link><description>Compiled Blinky client fails on Dongle PCA10059. 
 Precompiled version nRF5_SDK_15.2.0_9412b96/examples/ble_peripheral/ble_app_blinky/hex/ble_app_blinky_pca10059_s140.hex works correctly without problems. 
 But if I compile a version it fails totally</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Nov 2018 07:17:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40068/blinky-fails-on-pca10059" /><item><title>RE: Blinky fails on PCA10059</title><link>https://devzone.nordicsemi.com/thread/155671?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 07:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4b7f735-9984-43e2-a4a6-4fc4a9c4d064</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Glad to hear that it worked out.&lt;/p&gt;
&lt;p&gt;You can use &amp;quot;&lt;em&gt;nrfutil pkg generate --help&lt;/em&gt;&amp;quot; to see the different softdevice IDs. If the softdevice that you are looking for isn&amp;#39;t listed you probably just need to update your nrfutil version.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&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 fails on PCA10059</title><link>https://devzone.nordicsemi.com/thread/155641?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 17:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637cb329-fe4c-4ba8-81fd-8d848f627fd5</guid><dc:creator>Juha Okkonen</dc:creator><description>&lt;p&gt;Thanks Edvin &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I forgot to mention that I tried previously --sd-id 0xA9, it was the only documented code I could find, but that didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;That 0xAE works just perfect. :) :D&lt;/p&gt;
&lt;p&gt;It seems to me that PCA10059 versions of the Makefile should have nrfutil package creation and dfu operations rather than flash operations!! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt; for programming the dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blinky fails on PCA10059</title><link>https://devzone.nordicsemi.com/thread/155631?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 16:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae245600-5db2-46b4-8558-07bf7d148f24</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The --sd-id must match the ID of the Softdevice that you include in your update.&lt;/p&gt;
&lt;p&gt;So I tested with the following command to generate the packet:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --debug-mode --softdevice ..\..\..\..\..\..\..\components\softdevice\s140\hex\s140_nrf52_6.1.0_softdevice.hex --application ..\_build\nrf52840_xxaa.hex --hw-version 52 --sd-req 0x00 --sd-id 0xAE dfu_test.zip&lt;/p&gt;
&lt;p&gt;(note that I used the gcc project, and generate the file from a folder within this folder (SDK15.2.0\examples\ble_peripheral\ble_app_blinky\armgcc\dfu_test, hence the ..\_build\nrf52840_xxaa.hex).&lt;/p&gt;
&lt;p&gt;Then I used the following command to program the device:&lt;/p&gt;
&lt;p&gt;nrfutil dfu usb_serial -pkg dfu_test.zip -p COM27&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And this works. When I tried to generate the packet with --sd-id 0x00, I can&amp;#39;t run the application either. This is because the dongle doesn&amp;#39;t think it has a softdevice after the DFU, and will assume it doesn&amp;#39;t have all the necessary components to start the application, so it will stay in DFU mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So try to change to --sd-id 0xAE&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>