<?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>Not working when power restart (sdk12.3)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37990/not-working-when-power-restart-sdk12-3</link><description>Dear all, 
 I used SDK 12.3 buttonless functoin with PCA10028(nRF51422), and I occur some problem. 
 I did some testing as below: 
 case 1. softdevice+bootloader 
 case 2. softdevice+application 
 case 3. softdevice+bootloader+application 
 All case works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Sep 2018 08:11:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37990/not-working-when-power-restart-sdk12-3" /><item><title>RE: Not working when power restart (sdk12.3)</title><link>https://devzone.nordicsemi.com/thread/147107?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 08:11:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c10959a-5975-4d94-9d56-fa5065d14dac</guid><dc:creator>sthuang</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did see the different between your and my linker script.&lt;/p&gt;
&lt;p&gt;Issue had been solved.&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not working when power restart (sdk12.3)</title><link>https://devzone.nordicsemi.com/thread/146997?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 13:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c769c3-e9ba-4b71-8166-565835f4708e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I observed the LED was blinking and assumed it worked&amp;nbsp;while it actually was going in a reset loop. Problem is that the linker script does not define the&amp;nbsp;bootloaderSettings symbol. Should work if you use attached linker script.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You set the device family to NRF52 when you generated the bootloader settings page, and this is the reason you got &amp;quot;&lt;span&gt;The file specified is not a valid hex file, has data outside valid areas&amp;quot; error. Try --family NRF51&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Patched linker script:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f99f21d6c94142068711df6b1f813cba/ble_5F00_app_5F00_buttonless_5F00_dfu_5F00_gcc_5F00_nrf51.ld"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_buttonless_5F00_dfu_5F00_gcc_5F00_nrf51.ld&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not working when power restart (sdk12.3)</title><link>https://devzone.nordicsemi.com/thread/146869?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 05:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4689d534-29b3-47c2-bece-f3a01655ab92</guid><dc:creator>sthuang</dc:creator><description>&lt;p&gt;First of all, thank you for your support.&lt;/p&gt;
&lt;p&gt;After I flashed your hex file, PCA10028 LED3 start blink and no&amp;nbsp;advertising can be found by nRF connect.&lt;/p&gt;
&lt;p&gt;When I&amp;nbsp;&lt;span&gt;flashed my hex file by following your step, issue happened as below:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfjprog --program bootloader_settings.hex --sectorerase -r&lt;br /&gt;Parsing hex file.&lt;br /&gt;ERROR: The file specified is not a valid hex file, has data outside valid areas&lt;br /&gt;ERROR: or does not have data in valid areas.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is my method of making settings hex file and flashing it:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Use &amp;quot;nrfutil.exe settings generate --family NRF52 --application application.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 bootloader_settings.hex&amp;quot; to make&amp;nbsp;settings hex file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And use &amp;quot;mergehex.exe -m settings.hex bootloader.hex &amp;nbsp;-o bootloader_with_settings.hex&amp;quot; to combine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then I used nRFgo to flash&amp;nbsp;s130_nrf51_2.0.1_softdevice.hex,&amp;nbsp;&lt;span&gt;bootloader_with_settings.hex and&amp;nbsp;buttonless_app.hex.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;As the topic said it count not work after&amp;nbsp;power restart.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;My&amp;nbsp;GCC&amp;nbsp;version is 4.9.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any suggestion ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not working when power restart (sdk12.3)</title><link>https://devzone.nordicsemi.com/thread/146732?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 10:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61bd1e68-0e96-4875-96b1-2c6d325f176b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was unable to reproduce this issue. I built the bootloader and buttonless template example from SDK 12.3.0 with GCC 6.3.1. Please try attached .hex files and see if you get the same result.&lt;/p&gt;
&lt;p&gt;E.g.,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfjprog --program &amp;lt;softdevice&amp;gt;.hex --chiperase&lt;/p&gt;
&lt;p&gt;nrfjprog --program application.hex&lt;/p&gt;
&lt;p&gt;nrfjprog --program bootloader.hex&lt;/p&gt;
&lt;p&gt;nrfjprog --program settings.hex --sectorerase -r&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f99f21d6c94142068711df6b1f813cba/buttonless_5F00_app.hex"&gt;devzone.nordicsemi.com/.../buttonless_5F00_app.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f99f21d6c94142068711df6b1f813cba/settings.hex"&gt;devzone.nordicsemi.com/.../settings.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f99f21d6c94142068711df6b1f813cba/bootloader.hex"&gt;devzone.nordicsemi.com/.../bootloader.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>