<?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>Programming nrf51822 with openOCD and STLink-v2 issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6918/programming-nrf51822-with-openocd-and-stlink-v2-issues</link><description>I want to flash a firmware on my nrf51822 module I was trying an example from Nordic, I concatenated the bin file with the s110 file and it worked fine. Now, when I went ahead to flash the bin file, here&amp;#39;s what I got (I followed the wiki github.com/.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jul 2015 13:54:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6918/programming-nrf51822-with-openocd-and-stlink-v2-issues" /><item><title>RE: Programming nrf51822 with openOCD and STLink-v2 issues</title><link>https://devzone.nordicsemi.com/thread/24401?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2015 13:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb4d24de-08f3-49b3-9bb7-ae2667c95b66</guid><dc:creator>Steven Grunza</dc:creator><description>&lt;p&gt;I needed to erase the whole device first to get consistent good results:&lt;/p&gt;
&lt;p&gt;reset halt&lt;/p&gt;
&lt;p&gt;nrf51 mass_erase&lt;/p&gt;
&lt;p&gt;program softdevice.hex verify&lt;/p&gt;
&lt;p&gt;program app.hex verify reset&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using openOCD 0.9.0 on Win7 64-bit&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/stlink_5F00_programming_5F00_results.txt"&gt;stlink_programming_results.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nrf51822 with openOCD and STLink-v2 issues</title><link>https://devzone.nordicsemi.com/thread/24400?ContentTypeID=1</link><pubDate>Sat, 30 May 2015 00:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83fdcd56-0eaf-4bd8-bac0-edc314023144</guid><dc:creator>Myles</dc:creator><description>&lt;p&gt;Have you tried just writing the hex files directly?  That works for me.  Then the offsets and addresses are handled automatically.&lt;/p&gt;
&lt;p&gt;I use:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;program softdevice.hex&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;program app.hex&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;reset&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But I just tried&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;flash write_image erase softdevice.hex&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and that worked for me as well.&lt;/p&gt;
&lt;p&gt;Open On-Chip Debugger 0.9.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>