<?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>dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22064/dfu-bootloader-eclipse-managed-project-issue</link><description>I tryed to port the dfu secure bootloader sample of sdk 13 to eclipse managed project. after a few hours, i finished it. compiling and linking went fine but the filesize is a little bit bigger then the ordinary gnu make in the sample folder. if i flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 May 2017 12:21:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22064/dfu-bootloader-eclipse-managed-project-issue" /><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86653?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 12:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66698cc-1eb3-4250-9309-35ff44f7cefa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86652?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 12:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b7b52b-5004-4d6e-83b6-c424aabf7a96</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;Thank you! It was my fault. I added the wrong start function to my project. works great&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86651?ContentTypeID=1</link><pubDate>Fri, 19 May 2017 09:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:762e772a-b39b-4d37-b4e6-4a853410e60c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Im looking at the Secure bootloader source in SDK v13.0.0 and nrf_bootloader_app_start() should set the SoftDevice vector table, i.e. call sd_softdevice_vector_table_base_set() and not nrf_dfu_mbr_vector_table_set().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86641?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 14:01:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aee70ce-1d26-4232-a178-97cea03f79b8</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;After flashing all are fine. If i upgrade the Firmware With dfu then it is written after the Firmware is send With ble. the Whole System is broken when the Code (upper) is reached. After that the mbr page is no longer r clear. Then i cant start the bootloader anymore. If i clear mbr page i can get Into bootloader again. the problem might be the nrf_dfu_mbr_vector_table_set function, but why. the firmware is written just fine with dfu (log files).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86643?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 13:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bbe2f67-8cce-4fae-a6d3-0048e6e253b5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;It is weird that the MBR settings page is written to when you compile the bootloader project in Eclipse since the mbrParamsPage is set to NOLOAD, i.e.&lt;/p&gt;
&lt;p&gt;/* Place the mbr params page in flash. */
.mbrParamsPage(NOLOAD) :
{&lt;/p&gt;
&lt;p&gt;} &amp;gt; MBR_PARAMS_PAGE&lt;/p&gt;
&lt;p&gt;Or are you reading out the MBR settings page after you have flashed the bootloader to your device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86640?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 11:39:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:990465d0-11bc-449e-bf13-48360b21589e</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;Yes the linker script from debug from dfu sample folder&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86639?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 11:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb17990-a931-4d2a-8d8a-e8b90f8bcab4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Im not that familiar with managed make, but I assume that you have to specify some kind of linker script?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86644?ContentTypeID=1</link><pubDate>Wed, 17 May 2017 10:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20322b20-8015-41f8-90a2-4e82acede861</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;I checked the mbr page of the two different versions. the difference is, that in eclipse compiled bootloader the page changed. i added the file on top. in sample bootloader thre is only 0xFF in the file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86638?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 16:51:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7fea0b-e6e5-4b17-809c-58fff0fff7b1</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;Okay i got news. it seems to be code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_LOG_DEBUG(&amp;quot;Setting MBR vector table base: 0x%08x\r\n&amp;quot;, start_addr);

err_code = nrf_dfu_mbr_vector_table_set(start_addr, true);
if(err_code != NRF_SUCCESS)
{
    NRF_LOG_ERROR(&amp;quot;Failed running nrf_dfu_mbr_vector_table_set\r\n&amp;quot;);
    return;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in void nrf_bootloader_app_start(uint32_t start_addr)&lt;/p&gt;
&lt;p&gt;with a while befor that code, i can restart the bootloader by holding the button. if the bootloader reach that code, i am unable to get into bootloader once again with button press.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86637?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 14:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d9b4996-9e22-4776-8888-46c3b6c72f14</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;additionally the code size of the eclipse compiled project is 35004 bytes, while the codesize of the sample from makefile is about 34500 but in the linker script is the flash size defined by 0x9000 so idk why it is broken after flashing the firmware&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86642?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 13:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc77f8a-f44b-4575-bfd7-e1ace53095e7</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;Yes it Works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86650?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c93adbe2-f4dc-4183-931f-dc9b0ffb2374</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;So if you compile the bootloader project in the SDK using the supplied Makefile you&amp;#39;re able to perform a successful Application DFU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86649?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 13:06:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d28ae7d-5a9f-455b-8616-45a93cb46c3b</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;yes it is the compiled .hex file in the sdk sample folder for pc ..40 board. i compiled it with the makefile, all went fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86648?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 12:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a838a2c6-e5ff-425a-97cf-bdb8bc815600</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;So when you say: &amp;quot;if i use the .hex from the sample folder, all works fine.&amp;quot; do you mean the bootloader hex in the sample folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86647?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 12:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26808ec4-0614-497b-9a51-4cccd654cab8</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;Okay now i got two logs. One from the sample Bootloader and one from the eclipse compiled one.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Bootloader-Eclipse-Compiled.log"&gt;Bootloader Eclipse Compiled.log&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Bootloader-Sample-Nordic.log"&gt;Bootloader Sample Nordic.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;they both seem identical&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86646?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 12:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec3daa1-beb1-48ca-9c9f-bf67969652f7</guid><dc:creator>gotthcha</dc:creator><description>&lt;p&gt;No its the dfu_test_app_hrm_s132.zip from the sample folder of dfu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu bootloader eclipse managed project issue</title><link>https://devzone.nordicsemi.com/thread/86645?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 12:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62df5cbc-aaaf-4d9a-8d19-09edc55dc8bc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Have made your own application firmware image using nrfutil ? If yes, can you post the commands you used to create the .zip file and which version of nrfutil that you&amp;#39;re using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>