<?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>Secure DFU won&amp;#39;t connect NRF51 S130 SDK 12.3.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65511/secure-dfu-won-t-connect-nrf51-s130-sdk-12-3-0</link><description>Hello. I am testing the Secure DFU for NRF51 with softdevice S130 provided in the SDK Version 12. 3.0 following the steps in this guide. https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Sep 2020 06:27:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65511/secure-dfu-won-t-connect-nrf51-s130-sdk-12-3-0" /><item><title>RE: Secure DFU won't connect NRF51 S130 SDK 12.3.0</title><link>https://devzone.nordicsemi.com/thread/267946?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 06:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6509bce-1a7d-4cde-967e-df59ffd3c9a0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Good to hear that you were able to solve this, and thanks for reporting back. If I remember correctly, the link time optimization option (-flto) messed up something with the vector table if built with other GCC versions (This SDK is verified with 4.9.3). I think it will work with 9.3.1 if you remove &amp;#39;-flto&amp;#39; in the Makefile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU won't connect NRF51 S130 SDK 12.3.0</title><link>https://devzone.nordicsemi.com/thread/267917?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 17:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e02dc5ca-1415-4687-9d7c-c32e69cf64e1</guid><dc:creator>Diego</dc:creator><description>&lt;p&gt;I finally got it to work using a different compiler version.&lt;/p&gt;
&lt;p&gt;First I was&amp;nbsp;compiling with armgcc version 9.3.1 (2020-q2-update). After rebuilding and it still didn&amp;#39;t work I downloaded the same version(4.9.3) that is in the makefile.windows file, rebuilt&amp;nbsp;micro-ecc, the bootloader, and the blinky firmware using that version and it worked. I was able to connect and upload&amp;nbsp;the blinky firmware through NRF Connect.&lt;/p&gt;
&lt;p&gt;I also did a little bit of debugging with the bootloader compiled with &lt;span&gt;version&amp;nbsp;&lt;/span&gt;9.3.1 and noticed that when I try to connect the WDT interrupt activates.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU won't connect NRF51 S130 SDK 12.3.0</title><link>https://devzone.nordicsemi.com/thread/267880?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 14:09:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c55c560-b4ff-418a-9d0d-076481888a05</guid><dc:creator>Diego</dc:creator><description>&lt;p&gt;I tested with the pre-compiled bootloader hex file and it does connect.&lt;/p&gt;
&lt;p&gt;I only changed the dfu_public_key.c file, but I will try again from scratch in case I changed something by accident.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU won't connect NRF51 S130 SDK 12.3.0</title><link>https://devzone.nordicsemi.com/thread/267846?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 13:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a394a592-0ece-498e-8dd5-6de27e4c567f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try to see if you get the same result if you program the pre-compiled bootloader hex file in \nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028_debug\hex\. I am not really sure what the problem could be. Have you made any changes to the bootloader code apart from adding new keys? &lt;/p&gt;
[quote user=""]Led 3 on the dev board turns on, as I read that it should when the chip is in DFU mode, but I also noticed that Led 1 also turns on slightly after. I couldn&amp;#39;t find anywhere in the documentation or the source code why Led 1 turns on.[/quote]
&lt;p&gt;&amp;nbsp;LED_1 is on when advertising and turned off while connected. The LED is referenced as &amp;quot;ADVERTISING_LED_PIN_NO&amp;quot; in the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>