<?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>reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7559/reboot-when-connected-use-hts</link><description>softdevice 8.01 s110
device nrf81522
hts example,add three ch adc,lcd eg.
phone : HTC one M7
app:nrf tools HTM
when try to connect the device by BLE, when recive the connected event , it&amp;#39;s reboot. what&amp;#39;s problem?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jun 2015 09:09:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7559/reboot-when-connected-use-hts" /><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26919?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 09:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a35b409b-2804-4e3b-a8a5-e1f1d139ce88</guid><dc:creator>Liu</dc:creator><description>&lt;p&gt;so sorry about thar, i am new at this zone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26918?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2015 08:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1876646b-eee3-498a-a777-c4fe0b132ab2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;can you please accept this answer by clicking the grey ✓ button , so that we can close this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26922?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 11:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04380235-e918-4797-aa4d-859d4fd34271</guid><dc:creator>Liu</dc:creator><description>&lt;p&gt;tks ver much. it&amp;#39;s worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26921?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 11:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a0bbc6-5f5d-4541-965d-2460960943b3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I mean to say that reboot is not triggered within softdevice. If you are using APP_ERROR_CHECK macro or default app_error_handler, then whenever the condition in your app fails, then there is a soft reset&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_ERROR_CHECK(ERR_CODE)                           \
    do                                                      \
    {                                                       \
        const uint32_t LOCAL_ERR_CODE = (ERR_CODE);         \
        if (LOCAL_ERR_CODE != NRF_SUCCESS)                  \
        {                                                   \
            APP_ERROR_HANDLER(LOCAL_ERR_CODE);              \
        }                                                   \
    } while (0)  

_WEAK void app_error_handler(uint32_t error_code, uint32_t line_num, const uint8_t * p_file_name)
{
    // On assert, the system can only recover with a reset.
#ifndef DEBUG
    NVIC_SystemReset();
#endif
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26920?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 09:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043ac141-03af-453e-8f32-67cbe1adb864</guid><dc:creator>Liu</dc:creator><description>&lt;p&gt;a soft reset?   like   stack overflow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: reboot when connected  use hts .</title><link>https://devzone.nordicsemi.com/thread/26917?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 09:02:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85707ebd-3973-40a6-aa8e-f90b71b1b6f4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The HTM example is known to work fine. Seems like there is some failure in your app which is causing a soft reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>