<?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>Project won&amp;#39;t download</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31330/project-won-t-download</link><description>I am having issues with the pin_change_int example. I have not changed anything to the code, but it will not load onto my board. In fact, pressing load in this project doesn&amp;#39;t even erase the flash because when I try to load it, the same old program keeps</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Mar 2018 09:00:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31330/project-won-t-download" /><item><title>RE: Project won't download</title><link>https://devzone.nordicsemi.com/thread/124094?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 09:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97cd9d20-cd04-4b9b-b85b-a83d7ea50a10</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aaron,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please make sure the start address of the code is at address 0x000000. We have different variant, one is without softdevice (start at 0x00) and one to be used with softdevice (starts at 0x??? ). There is a chance that you flashed the variant with softdevice and that&amp;#39;s why it didn&amp;#39;t erase the old application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Project won't download</title><link>https://devzone.nordicsemi.com/thread/123779?ContentTypeID=1</link><pubDate>Sat, 10 Mar 2018 16:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d591ef6-08b0-4a6e-a491-a869f290bdb5</guid><dc:creator>abame</dc:creator><description>&lt;p&gt;I think something in these functions is the critical issue because I copied and pasted them into a working project and now that project will not load onto the board.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void in_pin_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)
{
    nrf_drv_gpiote_out_toggle(PIN_OUT);
}

/**
 * @brief Function for configuring: PIN_IN pin for input, PIN_OUT pin for output, 
 * and configures GPIOTE to give an interrupt on pin change.
 */
static void gpio_init(void)
{
    ret_code_t err_code;

    err_code = nrf_drv_gpiote_init();
    APP_ERROR_CHECK(err_code);
    
    nrf_drv_gpiote_out_config_t out_config = GPIOTE_CONFIG_OUT_SIMPLE(false);

    err_code = nrf_drv_gpiote_out_init(PIN_OUT, &amp;amp;out_config);
    APP_ERROR_CHECK(err_code);

    nrf_drv_gpiote_in_config_t in_config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(true);
    in_config.pull = NRF_GPIO_PIN_PULLUP;

    err_code = nrf_drv_gpiote_in_init(PIN_IN, &amp;amp;in_config, in_pin_handler);
    APP_ERROR_CHECK(err_code);

    nrf_drv_gpiote_in_event_enable(PIN_OUT, true);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>