<?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>detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19951/detailed-example-to-create-a-custom-bootloader</link><description>Hello , 
 following are my requirements : 
 
 to create a secure bootloader which checks app validity at every boot . 
 the boot loader should also accept UART communication . 
 
 following things i have tried : 
 
 Stripping the secure DFU bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Apr 2017 03:28:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19951/detailed-example-to-create-a-custom-bootloader" /><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77638?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 03:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b8d96f-1a80-4961-bd6e-27f0b7c15846</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I ask the question  as well as I give the answer.  If  @abhishek will use DFU state machine  than he can make his own bootloader  for his requirements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77637?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 11:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4933d54-8cff-46a4-b4ff-b708724960cc</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;@Hung Bui , i did get the answer thanks , as stated by you i change the MAIN_AAPLICATION_START_ADDR , also the abhishek which has answered is not me, we just share the same name.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77636?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 10:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a56f710-5a9e-4c5d-94f7-3aa3158659d9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@abhishek: I don&amp;#39;t really get what you posted above. Is it your answer to your own question or else ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77635?ContentTypeID=1</link><pubDate>Sun, 02 Apr 2017 12:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26f39696-b6d5-407e-804b-7b95e578342e</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;Hi Abhishek,&lt;/p&gt;
&lt;p&gt;Are you using the DFU states for downloading your application?&lt;/p&gt;
&lt;p&gt;If you are using please maintain the proper states like first set the state as DFU_IDLE and send the DFU_DNLOAD and than start downloading your application. before jump to the start address make sure that your state should be mainfest state.&lt;/p&gt;
&lt;p&gt;if you are in that state than only jump to the start address.&lt;/p&gt;
&lt;p&gt;In the mainfest state you can provide the delay of 100ms for blinking or better use UART logs.&lt;/p&gt;
&lt;p&gt;If you will follows the DFU state machine properly, defiantly you will get the required results.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Abhishek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77639?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 10:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:240a3af7-70d3-4660-a29c-d130733e6696</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Abhishek: How did you test ? If you only test your application with softdevice and no bootloader, then it not possible to start the application at other address unless you write a kind of bootloader at the normal application address (end of softdevice address).&lt;/p&gt;
&lt;p&gt;If you have our bootloader, then it&amp;#39;s possible to change address of your application.
First you have to update your application setting to set the start address of your application.
Second you need to modify the bootloader to update the &amp;quot;MAIN_APPLICATION_START_ADDR&amp;quot; to point to where you application start. Then you should be fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77634?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2017 07:55:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a0afc16-c610-4cb7-93e7-41d9ad0ea3d6</guid><dc:creator>Abhishek</dc:creator><description>&lt;p&gt;Hi Bjon ,&lt;/p&gt;
&lt;p&gt;thanks for the answer , rather can you please let me know only how to flash a new application to a different address , (i get a stack pointer misaligned error , when i try to change the itterupt vec. table address )&lt;/p&gt;
&lt;p&gt;can you please suggest a linker configuration for both 5840 and 5832, so that i can flash a application to the suggested address and then jump to the same address from bootloader.&lt;/p&gt;
&lt;p&gt;your help will be much appreciated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: detailed example to create a custom bootloader?</title><link>https://devzone.nordicsemi.com/thread/77633?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2017 08:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be26c56-520b-4e68-bd9d-1dff2a14b846</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Abhishek,&lt;/p&gt;
&lt;p&gt;we&amp;#39;re going to release a experimental secure serial bootloader in the production release of SDK v13.0.0, which is scheduled in mid-March. Furthermore, the secure serial bootloader will have the same application validity check as the current secure BLE bootloader, i.e. it will check if the NRF_DFU_BANK_VALID_APP flag is written to the bootloader settings flash page.&lt;/p&gt;
&lt;p&gt;I suggest that you wait for the production release of SDK v13.0.0, rather than implementing this on your own.&lt;/p&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>