<?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>nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5113/nrf51822-ble-stack-into-flash-memory</link><description>Hello! I&amp;#39;m trying to program nrf51822 like a BLE device. I&amp;#39;m using QT Creator(QBS) + GNU Compiler + Open OCD + STlink(debugger) to create and to program. What I must to do if I want to create BLE device? I&amp;#39;m trying this: 
 
 
 From examples I get </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jan 2015 23:12:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5113/nrf51822-ble-stack-into-flash-memory" /><item><title>RE: nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/thread/17972?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 23:12:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30857e2d-62ac-4c21-8700-ad866fd21992</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/thread/17971?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 23:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e18a91e1-e846-4ea3-8e4c-dce66f1d4978</guid><dc:creator>bishop</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/users/2036/hnhoan/"&gt;Nguyen Hoan Hoang&lt;/a&gt; for your attention! I resolved this problem!&lt;/p&gt;
&lt;p&gt;S110, S120, S130 is a part of the SDK, and located as an archive (s110_nrf51822_7.1.0.zip, s120_nrf51822_1.0.1.zip, s130_nrf51822_0.9.0-1.alpha.zip). In this archives is hex files. This hex files is a BLE stack.&lt;/p&gt;
&lt;p&gt;To program with openOCD I used command &lt;code&gt;program s110_nrf51822_7.1.0_softdevice.hex&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;after it, I builded project from examples &amp;quot;ble_app_template&amp;quot;, and program this hex file with command &lt;code&gt;program ble_app_template_s110_xxaa.hex&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This solution helped to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/thread/17970?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 20:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5821892e-cfe0-42ff-b55b-deee22044faf</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I though you already resolve the flashing problem with the flash erase command first from &lt;a href="https://devzone.nordicsemi.com/question/23842/st-link-nrf51822-and-openocd/"&gt;another thread&lt;/a&gt; .  I use program command it works for me.  Try your mass_erase before programming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/thread/17969?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 20:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5eb38e3-adb8-4826-bff3-824d620bd78e</guid><dc:creator>bishop</dc:creator><description>&lt;p&gt;Thank you for your answer. In SDK archive I saw
&amp;quot;s110_nrf51822_6.2.1_softdevice.hex&amp;quot; file and API-folder. But I can&amp;#39;t to program this hex-file with open ocd(using command &lt;strong&gt;flash write_image s110_nrf51822_7.1.0_softdevice.hex&lt;/strong&gt;).  &amp;quot;couldn&amp;#39;t open s110_nrf51822_7.1.0_softdevice.hex in procedure flash&amp;quot; - returns from openocd. How Can I flash it via openocd and st-link debugger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 BLE stack into flash memory.</title><link>https://devzone.nordicsemi.com/thread/17968?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 16:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:995e852a-5687-459d-afad-57e41c4942e0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You need first flash in the Softdevice (the stack) , known as S110 or S120 or S130, at location 0.  It is downloaded from Nordic website.  There is a .hex file.  Then you flash in the ble app at location 0x1600.  You can also download iOS &amp;amp; Android Apps from Nordic.&lt;br /&gt;
For other nRF51example code with iOS code and getting started with Eclipse, go here
&lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;nRF51 development with Eclipse&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>