<?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>S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18164/s130-sdk12-1-ble-bootloader-related</link><description>Hello, 
 I&amp;#39;m making BLE bootloader except other BLE functions.
I&amp;#39;m using s130 / sdk 12.1 / nrf51822xxAA environment.
Sure I have some problem. 
 What I have done : 
 Application 
 
 I merged DFU function with my application using nRF5_SDK_12.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Dec 2016 13:50:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18164/s130-sdk12-1-ble-bootloader-related" /><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70126?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 13:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0148d6-ca54-4f55-8957-8bfe8821a3b8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Air, I will try to find the cause of your issue in &lt;a href="https://devzone.nordicsemi.com/question/106200/sd130sdk1210-ble-bootloader-problem/"&gt;this&lt;/a&gt; post. I suggest that we close this post and move the activity to the linked post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70125?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 02:05:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6368d43-aa7f-4a40-9b91-231cc8ae6164</guid><dc:creator>air</dc:creator><description>&lt;p&gt;I can provide my code if possible. I wasted about 1 week. Sure I&amp;#39;ts my job.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70124?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 01:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9f271e-7746-4e0d-b56f-1b00a016d438</guid><dc:creator>air</dc:creator><description>&lt;p&gt;When I use buttonless_dfu and bootloader_secure including SD130, does bootloader_secure run(not buttonless_dfu)?
If so, how can I modify to run buttonless_dfu(not bootloader)?&lt;/p&gt;
&lt;p&gt;Finally, I want&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;my application run&lt;/li&gt;
&lt;li&gt;bootloader enter(using buttonless_dfu main function - Already I merged) after some key input
(This  key is in my board.)&lt;/li&gt;
&lt;li&gt;I upload my new F/W using bootloader_secure.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70123?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 00:41:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf49c7d0-4a26-44f7-a4d5-24403f8a1c1e</guid><dc:creator>air</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Nordic is the 1st time. So, there are many things I don’t know.
I experienced bootloader in different MCU without difficulty.
Sure, there were the exact information including example source code and process explanation.
But, I can’t find out the exact Nordic bootloader process.
There are few explanation about buttonless_dfu and bootloader_secure process.
I think bootloader is the basic util.
So, I think it’s wrong to lose time in development.
I’m sorry if you feel bad.
I want to get more exact information.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70122?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 09:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75b4b1a7-210f-4668-b782-95365f968231</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Q1: Yes, that should be possible. Just keep in mind that the minimum RAM required by the S130 SoftDevice is 0x13C8 bytes, so you&amp;#39;re left with 0x2C38 bytes for the application AND the call stack.
Q2: If you&amp;#39;re using a key input to put the device in bootloader mode, then you can disregards my previous answer. Were you asking how you should create a firmware packet with nrfutil? I see that you have posted a new &lt;a href="https://devzone.nordicsemi.com/question/105788/sd130-sdk-1201-dfu-problem/"&gt;question&lt;/a&gt; regarding this. If this is the case then I suggest that you mark this question as answered by clicking the checkmark in the circle to the left of my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70121?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 07:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38e5e1cb-2b1a-4da7-8b6d-9c9b2271efd0</guid><dc:creator>air</dc:creator><description>&lt;p&gt;For above problem I tried to write value - 1 to address - 0x3FC00 using nrfjprog --memwr 0x3FC00 --val 1. But I got a error message - ERROR : The area to write is not erased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70120?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 01:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05a1e808-c5fb-4d53-96eb-e7ea8bdd630a</guid><dc:creator>air</dc:creator><description>&lt;p&gt;Additionally, my code is like below.
startDfu() is the same as buttoness example main().&lt;/p&gt;
&lt;p&gt;int main(void)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t err_code;

UART_TX_HIGH;
lfclk_config();								// clock init
nrf_delay_ms(5);

twi_master_init();							// eeprom init
TWI_400K;										// twi frequency

// dfu check
if(checkDfu())
	goto DFU;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;. . .&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;while (1)
{
  . . .
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;DFU:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;startDfu();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70119?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 00:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ba63c27-9e78-4d91-9e04-b437b33a1178</guid><dc:creator>air</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Do you think it’s possible to use S130(SDK 12.x) bootloader (in SDK 12.x) in nRF51822(16KB ram)?
Sure, I don&amp;#39;t know the exact ram use in my application. But I think the use is under 8KB.&lt;/li&gt;
&lt;li&gt;If you&amp;#39;re using the buttonless example then you have to write 0x01 to the DFU Control Point
characteristic in order to put the device in bootloader mode.
-&amp;gt; I understand. But how can I do this? I don’t know.
My application enters into buttonless Dfu main function after special key input and soft reset.
I don&amp;#39;t use any Ble function before entering into buttonless Dfu main function.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S130/SDK12.1 BLE bootloader related</title><link>https://devzone.nordicsemi.com/thread/70118?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 10:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f99c4e28-2735-4b21-b5d2-971da6657162</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Air,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set the bootloader IRAM1 section to be identical to that of the application.&lt;/li&gt;
&lt;li&gt;If you&amp;#39;re using the buttonless example then you have to write 0x01 to the DFU Control Point characteristic in order to put the device in bootloader mode, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/ble_sdk_app_buttonless_dfu.html?resultof=%22%62%75%74%74%6f%6e%6c%65%73%73%22%20"&gt;this&lt;/a&gt; page for more information.&lt;/li&gt;
&lt;li&gt;If you&amp;#39;re looking for information on the Secure bootloader then I suggest that you take a look at &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/lib_bootloader_modules.html?cp=4_0_0_3_4"&gt;this&lt;/a&gt; page on our Infocenter.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>