<?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>Update softdevice in mbed kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3242/update-softdevice-in-mbed-kit</link><description>Hi guys, 
 How to update softdevice on mBED nRF51882 kit? 
 Details:
I have couple mbed dev kits with nrf51882.
I use Keil for development but will move to GCC after while. 
 Because debugger is CMSIS-DAP I can&amp;#39;t use nRF Studio to update softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Aug 2014 00:43:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3242/update-softdevice-in-mbed-kit" /><item><title>RE: Update softdevice in mbed kit</title><link>https://devzone.nordicsemi.com/thread/11873?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 00:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff63d95-d19e-4ebb-9b65-34077231b9fb</guid><dc:creator>Andrii Anpilogov</dc:creator><description>&lt;p&gt;Hi Clem,&lt;/p&gt;
&lt;p&gt;Thanks for idea!
BTW,
If use cmsis-dap adapet speed is ~4kb/s which means 25-30 seconds for full firmware update. 8(
Temporary to update test devices (I have few peripheral devices) I compile app to .bin and use flash_nrf51822.py to download it.
It&amp;#39;s fastest way to update firmware on the device. Unfortunately this trick can&amp;#39;t be use for GDB 8(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update softdevice in mbed kit</title><link>https://devzone.nordicsemi.com/thread/11871?ContentTypeID=1</link><pubDate>Tue, 05 Aug 2014 00:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:136f3b95-c2ce-467b-983e-78868209e22f</guid><dc:creator>Andrii Anpilogov</dc:creator><description>&lt;p&gt;Thanks Håkon,&lt;/p&gt;
&lt;p&gt;There were few issues on my board and major one was wrong level on SWDIO pin.
So cpu time to time was in wrong state.&lt;/p&gt;
&lt;p&gt;So far I use Keil for developing but I&amp;#39;ll have to move to gcc+cmsis-dap in near feature.
I feel it will be painful due to low speed and unstable debug process. 8(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update softdevice in mbed kit</title><link>https://devzone.nordicsemi.com/thread/11872?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 22:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dab23c9e-f533-470a-9c3c-ab36b2d6446d</guid><dc:creator>Clem Taylor</dc:creator><description>&lt;p&gt;pyOCD and the mbed-msd only does a full chip erase. It is much more convenient to just flash elf files in gdb, so I converted the softdevice hex file to binary and I compile it into the elf file.&lt;/p&gt;
&lt;p&gt;In my .ld file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{  
        /* flash: 0x00000000 - 0x0003FFFF (256K) */
        /* sram:  0x20000000 - 0x20003FFF  (16K) */

        /* S110 7.0.0 softdevice occupies top 88K of flash and 8K of SRAM */
        SD_FLASH (rx)   : ORIGIN = 0x00000000, LENGTH = 0x16000
        SD_RAM (rwx)    : ORIGIN = 0x20000000, LENGTH = 0x2000 
   
        /* application gets the rest of flash and sram */
        FLASH (rx)      : ORIGIN = 0x00016000, LENGTH = 0x2A000
        RAM (rwx)       : ORIGIN = 0x20002000, LENGTH = 0x2000
}
   
SECTIONS
{
        /* include the softdevice binary image: */
        .SOFTDEVICE :
        {
                KEEP(*(.softdevice))
        } &amp;gt; SD_FLASH = 0xFF
}
 
INCLUDE &amp;quot;gcc_nrf51_common.ld&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;softdevice.s:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Convert the binary softdevice into a linkable object. */
        .section .softdevice, &amp;quot;ax&amp;quot;
        .incbin &amp;quot;softdevice/s110_nrf51822_7.0.0_softdevice.bin&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update softdevice in mbed kit</title><link>https://devzone.nordicsemi.com/thread/11870?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2014 12:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e596ece7-fc0e-4a38-a8f1-bdd5e6d1a653</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You have to use nRF51 SDK v6.0.0 with S110 v7.0.0.
From S110 v7.0.0 (and future versions), the write into UICR is not required. You can load the S110-firmware directly into address area 0 to 0x15FFF.&lt;/p&gt;
&lt;p&gt;Have you tried loading the S110 by copying it into the MBED-drive instead?
Or loading it from Keil:
&lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_fl_hexdownload.htm"&gt;www.keil.com/.../uv4_fl_hexdownload.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>