<?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>What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4971/what-is-the-right-way-to-flash-s110-7-1-0</link><description>Hi, 
 I&amp;#39;m on OSX, and I&amp;#39;m having problems where the first service calls I make on my own device fails but work fine on the second generation Nordic development board. 
 I am pretty sure I&amp;#39;m compiling my code against the headers matching the softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jan 2015 21:35:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4971/what-is-the-right-way-to-flash-s110-7-1-0" /><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17518?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 21:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a3c68d8-ab19-4384-a9b7-39393898b954</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Follow this blog, it will get you working with OS X.  &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17516?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 19:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ec95ed-2661-46e3-adb6-dccab9c7883b</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Yes, you are totally right, I wasn&amp;#39;t paying close enough attention to the size and it wasn&amp;#39;t in fact doing what I thought. Thanks for the tip!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17517?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 19:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aea773b-639c-47ae-826d-18c60d3fd60d</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Well, it turned out that everything was working after all but now I have a much better understanding of JLinkExe, softdevice versioning, etc :) By chance I had LightBlue running in the background and noticed when switching windows that my peripheral was showing up after flashing with JLinkExe.&lt;/p&gt;
&lt;p&gt;So the issue I&amp;#39;m having is really that I don&amp;#39;t have GDB working correctly. I mean, I can load symbols, set breakpoints, see the callstack and step through code, but something is wrong with GDB. I&amp;#39;ll post a separate question / comment when I figure out what I&amp;#39;m doing wrong with GDB for future readers of this thread.&lt;/p&gt;
&lt;p&gt;Thanks to all who helped me on this thread during the holidays and Happy New Year!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17515?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 03:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53fb38f7-ead7-41d7-93bf-41e7b6c81c43</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I don&amp;#39;t think verifybin is doing what you think. It&amp;#39;s loading 237504 bytes instead of the actual size of the softdevice, which is much smaller. If you actually look at the softdevice hex file it does start with 0x3A (because that&amp;#39;s the file format, lines start with a colon) however the first actual byte placed at 0x00000000 is 0xC0.&lt;/p&gt;
&lt;p&gt;So my assumption here is that loadbin knows how to read hex files, you can see it splits into two ranges, but verifybin doesn&amp;#39;t and assumes you are giving it a .bin file to compare against.&lt;/p&gt;
&lt;p&gt;.. and looking at the help output of JLinkExe that appears to be the case, verifybin only verifies bin files. In fact loadbin is supposed only to take .bin files and you&amp;#39;re supposed to use loadfile for hex files, however it seems that JLinkExe is lenient on that point because I&amp;#39;m pretty sure from the output that it&amp;#39;s recognised it as a hex file and loaded it properly.&lt;/p&gt;
&lt;p&gt;So .. your softdevice is most-likely properly loaded onto the chip. If you really want to verify it, convert the hex file to a bin file and verify against that, not the hex one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17514?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 02:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:468588d7-51ae-4f31-9f3b-807ca67995b1</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Ok, try to use nRFGo under windows and erase all.  The reserved section of softdevice may have been protected.  nRFGo will do a full ease, then you can reflash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17513?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 00:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a442e173-b08e-4a0c-8bdc-c8d00187014a</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Thanks! Same exact result unfortunately :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17511?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2015 00:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aba999d6-afb6-4bb4-a513-58247674ac5c</guid><dc:creator>jeremysf</dc:creator><description>&lt;p&gt;Oh, I tried the RC calibrated clock first, but figured the synthesized clock would be more basic, either way same result :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17512?ContentTypeID=1</link><pubDate>Wed, 31 Dec 2014 22:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69decec3-48b7-420f-85db-457ac369175f</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try RKNRFGO on OS X.  Google it, you&amp;#39;ll find the site to download.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way to flash s110 7.1.0?</title><link>https://devzone.nordicsemi.com/thread/17510?ContentTypeID=1</link><pubDate>Wed, 31 Dec 2014 22:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:258693e7-54f6-4086-aa88-c34865ebe202</guid><dc:creator>Marc Nicholas</dc:creator><description>&lt;p&gt;Not necessarily the cause of your issue, but...&lt;/p&gt;
&lt;p&gt;Why are you using the synthesized clock? It requires running the 16MHz clock constantly, which is generally not a preferred design.&lt;/p&gt;
&lt;p&gt;Use the RC calibrated mnemonics instead. Use the 2000 or 4000ms recalibration and there&amp;#39;re temperature compensated versions in SDK6+ which reduce power consumption further.&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>