<?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>Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9291/unable-to-load-softdevice-on-custom-board</link><description>I developed a custom board with nRF51822_xxAA on it, working on low voltage mode. 
 I can program some basic things on it using Keil uVision 5.15 and a J-link to flash the code.
Everything works fine, as I can debug in Keil and see the value of my variables</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Nov 2015 05:19:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9291/unable-to-load-softdevice-on-custom-board" /><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34280?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 05:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fd4f9cd-80a1-4223-8c74-9df193984b88</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Thank you for coming back and updating this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34279?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2015 21:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19d366b2-78a0-480f-aa34-306800fe3f08</guid><dc:creator>stunt_man</dc:creator><description>&lt;p&gt;Thank you Aryan. I managed to flash Softdevice (S110 v8.0.0) in my board a few days ago, so I can confirm what you say.&lt;/p&gt;
&lt;p&gt;If anybody needs the process:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;1/ Convert Softdevice hex to bin using arm-none-eabi-objcopy (detailled command can be found at step 

1 from this website: &lt;a href="http://www.funwithelectronics.com/?id=170)"&gt;www.funwithelectronics.com/&lt;/a&gt;
2/ To flash Softdevice in the board with J-link tools:
- launch J-link commander tools
- select device (e.g &amp;#39;device nRF_51422_xxAC&amp;#39; depending on the name of your board as read by J-link)
- erase flash (just type erase)
- load Softdevice bin in flash at address 0x0 (Softdevice S110 v8.0.0 contains MBR) : loadbin your_softdevice.bin 0 
- load your bin (address depends on the size of your ROM)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34278?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2015 11:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dba2a207-8fee-44ba-bf62-f776fb722eab</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;sorry for late response. Lost this thread.
MBR comes within the softdevice hex file. Converting hex to bin should be ok except for one thing. If the hex file contains UICR addresses, then the binary file will become really big. This is because the binary file is with sequential addresses. I have not personally verified flashing bin, but it should work fine if there are no UICR settings.
I see that you are using S110 v8.0.0 and this softdevice does not configure anything in UICR register neither does MBR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34276?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 23:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:046964c3-02a4-428c-9c40-1c3e79864d2e</guid><dc:creator>stunt_man</dc:creator><description>&lt;p&gt;Some more information: I tried all of these operations several times and described problems occured every time.&lt;/p&gt;
&lt;p&gt;Is there any official softdevice (S110) bin file that exists so I would be able to see if the problem came from the bin I was generating or from flash download?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34277?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 23:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9df65d-75bb-490e-855d-6ca3e8165363</guid><dc:creator>stunt_man</dc:creator><description>&lt;p&gt;Thank you Aryan!&lt;/p&gt;
&lt;p&gt;I tried to get SoftDevice through JLink but I&amp;#39;m still having some issues&lt;/p&gt;
&lt;p&gt;First, I converted SoftDeviceV8.0 Hex file to a bin file through an &amp;#39;arm-none-eabi-objcopy&amp;#39; command (gcc version: gcc-arm-none-eabi-49). That gives me a .bin file (size around 90 kb).&lt;/p&gt;
&lt;p&gt;Then, after having erased my flash, I downloaded the created bin file to my card through Jlink at address 0x0 (loadbin softdevice.bin 0).&lt;/p&gt;
&lt;p&gt;Then with my IDE (Keil), I download my code at address 0x18000.
I started the card and nothing happened...&lt;/p&gt;
&lt;p&gt;I tried download my code at address 0x0 with Keil (after another flash erasing) and my code worked well (I mean this part of code does not use Soft Device).&lt;/p&gt;
&lt;p&gt;OK. Flash erasing and then I converted hex associated to my code to a bin and flashed my card with it at address 0. Nothing happened...&lt;/p&gt;
&lt;p&gt;2 options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;my bins got problems&lt;/li&gt;
&lt;li&gt;something bad happened during flash download&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to load Softdevice on custom board</title><link>https://devzone.nordicsemi.com/thread/34275?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2015 07:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103cb11a-0751-4cce-82b6-ce833eb7bf66</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;ol&gt;
&lt;li&gt;You can use JLink.exe directly which is a segger tool. It identifies nordic chips and you can find more information &lt;a href="https://devzone.nordicsemi.com/question/28637/jlink-commander/"&gt;here&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/12865/jlink-script-only-results-in-functional-device-when-flashing-whole-chip/"&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>