<?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>nRF52840 upgrading mBed-os from 5.7.6 to 5.9.6</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39099/nrf52840-upgrading-mbed-os-from-5-7-6-to-5-9-6</link><description>Hi, 
 We are developing a device with nRF52840 and mBed-os. We have a bootloader based on SDK 13.0.0.0-1 with softdevice s140 5.0.0-1-alpha. 
 Changes that has been made to the bootloader is e.g. enabling write protection and adding possibility to force</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 May 2019 09:36:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39099/nrf52840-upgrading-mbed-os-from-5-7-6-to-5-9-6" /><item><title>RE: nRF52840 upgrading mBed-os from 5.7.6 to 5.9.6</title><link>https://devzone.nordicsemi.com/thread/185116?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 09:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261c1baa-b841-4b4d-8c41-cdafd12bce0d</guid><dc:creator>Gourav</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; could you post some use full links for developing custom bootloader for nrf52840 using mBed-os&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Gourav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 upgrading mBed-os from 5.7.6 to 5.9.6</title><link>https://devzone.nordicsemi.com/thread/151392?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 11:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4919ea9e-41d1-4e30-8612-1ce95ed6e5d2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you need to update to a new bootloader that is API compatible with the new softdevice (v.6.x.x API). Note that the Master boot record (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.sds/dita/softdevices/s130/mbr_bootloader/mbr_bootloader.html?cp=2_3_2_0_11"&gt;MBR&lt;/a&gt;&amp;nbsp;- not possible to update through DFU)&amp;nbsp;included in the 5.0.0-1 alpha release does not support bootloader update as Kenneth already pointed out. In other words, it is not possible to do&amp;nbsp; DFU for any devices running your current FW implementation, they need to be re-programmed through the debug interface.&lt;/p&gt;
&lt;p&gt;The application start address depends on the size of the softdevice binary. Bootloader should rely on the&amp;nbsp; &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.sds/dita/softdevices/s130/sd_info_structure/sd_info_structure.html?cp=2_3_2_0_12"&gt;info&amp;nbsp;struct&lt;/a&gt;&amp;nbsp;in the softdevice to determine the application start address rather than a harcoded value inside the bootlaoder code.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 upgrading mBed-os from 5.7.6 to 5.9.6</title><link>https://devzone.nordicsemi.com/thread/151207?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 11:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a734fdb-271b-4257-a884-3d7694153c60</guid><dc:creator>H&amp;#229;kan Evertsson</dc:creator><description>&lt;p&gt;When updating s140, is it necessary to update the bootloader as well so it uses SDK15? Does DFU and application start address work the same in SDK 15 as in SDK 13 so that the changes we have made can be merged?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 upgrading mBed-os from 5.7.6 to 5.9.6</title><link>https://devzone.nordicsemi.com/thread/151203?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 11:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37022717-4b4f-4e0b-8855-d18e254401d0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Is there support for running mBed 5.9.6 on nRF52840?[/quote]
&lt;p&gt;Nordic is not involved in the work with mbed-OS, in general if the mbed-OS is using a production quality S140 release (not alpha release) it should be possible to run mbed-OS on the nRF52840.&amp;nbsp;&lt;/p&gt;
[quote user=""]Do we need to upgrade the bootloader and/or the softdevice as well?[/quote]
&lt;p&gt;From your description I can see that you are referring to a alpha release of S140, which is not a qualified BLE stack. In addition from the release notes for&amp;nbsp;s140_nrf52840_5.0.0-1.alpha I can find: &amp;quot;The SV-calls sd_mbr_command_vector_table_base_set() and sd_mbr_command_copy_bl() are not supported&amp;nbsp;(DRGN-8197). Using these calls leads to undefined behavior &amp;quot;&lt;/p&gt;
&lt;p&gt;So you will need to update to a production release of S140 to make a product.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>