<?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>nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10816/nrfgo-studio-and-bootloader-programming</link><description>Hi everyone,
I must to program my device from nRFgo Studio (rel. 1.21). So I do this procedure: 
 
 I program the Softdevice (in my application S110 rel. 7.0.0); 
 I program the Bootloader (in this case I used the bootloader from Nordic rel. SDK6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 May 2016 02:24:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10816/nrfgo-studio-and-bootloader-programming" /><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40444?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 02:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28a5efb3-1585-463a-897b-0a6649b28b22</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;hello Bjørn Spockeli,&lt;/p&gt;
&lt;p&gt;As I tried &amp;quot;= {BANK_VALID_APP};&amp;quot;
0x3FC00 address shows strangely,&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1680.2016_2D00_05_2D00_26-17_3B00_28_3B00_28.PNG" alt="b" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40443?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 08:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9d70ab8-457d-4c9c-beee-0c990ec73974</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;hello Bjørn Spockeli,&lt;/p&gt;
&lt;p&gt;As I tried &amp;quot;= {BANK_VALID_APP};&amp;quot;
0x3FC00 address shows strangely,&lt;/p&gt;
&lt;p&gt;but as I use const uint8_t instead of uint8_t, It works well.
could you explain this?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2016_2D00_05_2D00_26-17_3B00_28_3B00_28.PNG" alt="b" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40441?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2015 15:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e412ace-dd9c-41ca-9ba8-b42af5906a66</guid><dc:creator>Paolo A.</dc:creator><description>&lt;p&gt;Hi Bjorn, thank you for your hint.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40442?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 08:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d8b207-688c-434c-b9e2-84610f3700a7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40440?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 15:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a7ba553-9427-4bc4-a728-45ec4054174e</guid><dc:creator>Paolo A.</dc:creator><description>&lt;p&gt;Hi Bjorn, thank you for reply.
So, if I understand well, via smartphone the DFU app, after download sets the BANK_VALID_APP = 0x01.
But if I try to program the device with nRFgo Studio this flag doesn&amp;#39;t set.
Is it right?
So I must forced this flag manually.&lt;/p&gt;
&lt;p&gt;Paolo A.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40439?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 15:06:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88fb0a32-945d-4b81-a0cf-6285b3465c65</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The device will always start in bootloader mode and check if there is a valid application on the device. This is done by reading the bootloader settings flash page and checking if a certain flag is set.&lt;/p&gt;
&lt;p&gt;The flag is by default set to BANK_INVALID_APP = 0xFF, indicating that there is no application present on the device. The flag will be set to BANK_VALID_APP = 0x01 after an OTA DFU has been successfully completed.&lt;/p&gt;
&lt;p&gt;The flag can be set manually in bootloader_settings.c by changing line 18, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t  m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)); 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;to the following&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t  m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used))= {BANK_VALID_APP};  
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For more information, please see question E in our &lt;a href="https://devzone.nordicsemi.com/blogs/685/common-faq-on-dfu/"&gt;DFU FAQ&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40438?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 14:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67e59140-9d97-4961-8515-8e2078d49276</guid><dc:creator>Paolo A.</dc:creator><description>&lt;p&gt;Hi Anders, if I programmed the softdevice after the bootloader, the softdevice erase all flash memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and bootloader programming</title><link>https://devzone.nordicsemi.com/thread/40437?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 14:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdc4172c-7056-41b7-b029-ef749c36df14</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Try programming it in this sequence:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Bootloader&lt;/li&gt;
&lt;li&gt;Softdevice&lt;/li&gt;
&lt;li&gt;Application&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>