<?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/s120 and blank .ld files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5096/s110-s120-and-blank-ld-files</link><description>Hello! I&amp;#39;m trying to program nrf51822 like a BLE device.
I&amp;#39;m using QT Creator + GNU Compiler + Open OCD + STlink(debugger) to create and program.
If I choose &amp;quot;gcc_nrf51_blank_xxaa.ld&amp;quot; like linker script file, I can to debug and to blink leds. But If</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jan 2015 11:56:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5096/s110-s120-and-blank-ld-files" /><item><title>RE: s110/s120 and blank .ld files</title><link>https://devzone.nordicsemi.com/thread/17922?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2015 11:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da6e2f82-964e-47c6-b8ea-24ab657fd54b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If your question is answered please accept it by clicking the grey circle with a check mark in it. If you have more questions, please add them as separate questions, not in a comment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: s110/s120 and blank .ld files</title><link>https://devzone.nordicsemi.com/thread/17921?ContentTypeID=1</link><pubDate>Sun, 11 Jan 2015 19:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:634dbc56-535c-43a0-b1d6-f225388e2b18</guid><dc:creator>bishop</dc:creator><description>&lt;p&gt;Thanks for answer. Can you tell me, how can I program s110 soft device in flash memory?
I&amp;#39;m trying this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;From examples I get &amp;quot;ble_app_template_s110_xxaa.hex&amp;quot; file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tries to program flash with it via open ocd.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Resets chip.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Nothing happens.&lt;/p&gt;
&lt;p&gt;I modifyed example(main.c file) like this (led has pin9):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;...
    void func_mig()
    {
        nrf_delay_ms(500);
        nrf_gpio_pin_set(9);
        nrf_delay_ms(500);
        nrf_gpio_pin_clear(9);
        nrf_delay_ms(500);
    }
    
    /**@brief Function for application main entry.
     */
    int main(void)
    {
        nrf_gpio_cfg_output(9);
        func_mig();
        nrf_delay_ms(2000);
        func_mig();
        func_mig();
        // Initialize
        leds_init();
        timers_init();
    ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;But if I programs this code with blank .ld files, I can toggle on/off with Leds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: s110/s120 and blank .ld files</title><link>https://devzone.nordicsemi.com/thread/17920?ContentTypeID=1</link><pubDate>Sun, 11 Jan 2015 09:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39474bc3-7ba0-4289-93e1-40075fb513d5</guid><dc:creator>cocoa</dc:creator><description>&lt;p&gt;&lt;code&gt;blank&lt;/code&gt; is used with bare nRF51 chip (it runs as a pure ARM Cortex M0), &lt;code&gt;s110&lt;/code&gt; used when S110 soft device (BLE stack) is programmed in flash memory.&lt;/p&gt;
&lt;p&gt;To create a BLE device start with &lt;code&gt;ble_app_template&lt;/code&gt; in SDK examples dir.&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>