<?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>S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81/s110-version-5-2-splitting-using-gcc-objcopy-programming-failed-at-0x10001010</link><description>Hi &amp;#39;Nordic&amp;#39; guys, 
 splitting the original S110 hex file provided by Nordic , version 5.2, there is an error extracting uicr section. 
 Now is only 20 bytes and not 32 as old version. 
 Jlink reports an error occurring at address 0x10001000. 
 Error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2013 20:26:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81/s110-version-5-2-splitting-using-gcc-objcopy-programming-failed-at-0x10001010" /><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/451?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 20:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb8cabe6-b8b7-4b31-95a7-9512f5288bc4</guid><dc:creator>Jimmie Johansson</dc:creator><description>&lt;p&gt;You need to add a delay for the chip to erase the ROM.  I added &amp;quot;sleep 500&amp;quot; both before and after the reset, after NVIC ERASEALL, and it fixed the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/456?ContentTypeID=1</link><pubDate>Sun, 06 Oct 2013 15:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3dd9ed0-0791-438e-bce1-20abfb112176</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;Maybe I spoke too soon.  I&amp;#39;m seeing this again with version 4.74 and the added reset.  When I switch back to 2.69a, it goes away.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty frustrated with Segger.  Their Mac support is basically a joke.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/455?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2013 15:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:855cbbde-faa9-478d-9bfe-af6bec18f3af</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;I was seeing the same behavior locally but it seems to be related more to JLink version than with the softdevice version.  Mac JLink Software version 2.69a would work with soft device 5.2.1, but version 2.74 would fail to write the soft device with the error:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;****** Error: Programming failed @ address 0x10001010 (block verification error)
Verification failed @ address 0x10001000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, if I add an additional reset between the NVIC CONFIG WRITE ENABLE and the load, it seems to work:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;w4 4001e504 1
r  &amp;lt;-- added reset
loadbin ../s110_nrf51822_5.2.1_softdevice_uicr.bin 0x10001000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/454?ContentTypeID=1</link><pubDate>Sun, 21 Jul 2013 05:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95bc5f2f-2687-4958-bf93-f08ab3caeeea</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Hi Ole,
issue not yet solved.
I use  segger jlink OS X version not linux.&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/453?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2013 10:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00dbf20e-2994-40ed-baab-fd48dc0f5bc0</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;yes, I&amp;#39;ve erased all.&lt;/p&gt;
&lt;p&gt;This is the script : (it has worked until version 5.2)&lt;/p&gt;
&lt;p&gt;r
device nrf51822
speed 1000
//
//
//
w4 4001e504 2
w4 4001e50c 1
w4 4001e514 1
//
//
r
//
w4         4001e504         1
loadbin    /nordic/uicr.bin               0x10001000
loadbin    /nordic/softdevice.bin    0
r
g
exit&lt;/p&gt;
&lt;p&gt;Same issue same problem reported by Robert Tylor &lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/soft-device-5-2-0" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/soft-device-5-2-0&lt;/a&gt;,-gcc-and-macos-x&lt;/p&gt;
&lt;p&gt;Bye!&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S110 version 5.2 splitting using gcc objcopy. Programming failed at 0x10001010</title><link>https://devzone.nordicsemi.com/thread/452?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2013 09:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ff7ec8-ad55-4596-a2f4-46333d8a3d23</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I can&amp;#39;t seem to reproduce this. As you&amp;#39;ve found out, the definition of UICR is some bytes shorter with 5.2, but this shouldn&amp;#39;t really cause any problems.&lt;/p&gt;
&lt;p&gt;Are you sure you have erased the entire chip before flashing a new softdevice? If not, this is most likely the problem. An erase all can be done with the following sequence in jlink:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
device nrf51822
w4 4001e504 2
w4 4001e50c 1
w4 4001e514 1
sleep 100
r

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can also have a look at the Makefile provided &lt;a href="http://devzone.nordicsemi.com/index.php/is-it-possible-to-flash-s110-from-linux-or-os-x"&gt;here&lt;/a&gt;, which is what I&amp;#39;ve been personally using to flash from Linux.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>