<?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>software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20287/software-reset-by-blue-tooth-and-serial-communication-crush</link><description>image description (/attachment/6196b4481c3f6fefbd0784b78d9163c9) 
 Hello.
I development education robot by ENTRY base. 
 PC(ENTRY base) + NRF51822 central 
 and 
 NRF51822 Peripheral + Atmega328p u-com. 
 PC + NRF51822 central is serial communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Mar 2017 12:42:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20287/software-reset-by-blue-tooth-and-serial-communication-crush" /><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79019?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 12:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c3e4e37-164b-466e-85aa-de71bca07a26</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ideally you should find the exact error code that is causing the problem, shown in this &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;thread&lt;/a&gt;. Is it the Central(nRF51 that is connect to PC) or peripheral(nRF51 connected to Atmega) that is resetting? Could you try with flow-control?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79020?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2017 15:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50dcc925-2abd-4e36-85bd-e1ae24014021</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;Thank you for your support.
I modified buffer size 512.
But occur software reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79018?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 15:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9299dc74-87ec-40d2-b162-3e14cf6cff33</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The first thing you can try is to increase the uart TX/RX FIFO buffers. Maybe try to double it from what you have now. The buffer size should be defined in main.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define UART_TX_BUF_SIZE                512  /**&amp;lt; UART TX buffer size. */
#define UART_RX_BUF_SIZE                512  /**&amp;lt; UART RX buffer size. */
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79024?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 09:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:270a5af3-9d8a-4690-bdce-db5b6414cac5</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;I don&amp;#39;t know the value of p_event-&amp;gt;data.error_communication.
I using nrf51_SDK_10.0.0
baudrate 115200.
I no use RTS and CTS (I no use flow-control).
need a flow-control?
thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79023?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 09:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e19ac3ec-3deb-40d8-86c8-7126e7d23c45</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you able to debug and find the value of &lt;code&gt;p_event-&amp;gt;data.error_communication&lt;/code&gt;? It could indeed be an overrun error. What SDK are you using? What baudrate on the UART are you using ? Are you using uart flow-control? Is it the Central or peripheral that is resetting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79022?ContentTypeID=1</link><pubDate>Fri, 10 Mar 2017 01:02:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ecc3957-2e85-4eac-b5ea-07f7501c9f05</guid><dc:creator>Yoojin.Jang</dc:creator><description>&lt;p&gt;Hi.
thank you for your support.
confirm result, occur APP_UART_COMMUNICATION_ERROR
but I was disable comment //APP_ERROR_HANDLER in APP_UART_COMMUNICATION_ERROR
Then, all stop.
Let me know how APP_UART_COMMUNICATION_ERROR does not happen.
thank you.
have a nice day&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: software reset by blue tooth and serial communication crush.</title><link>https://devzone.nordicsemi.com/thread/79021?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2017 11:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b3fd2fe-f781-4ed9-a4c9-90154ce94d51</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;A software reset during operation is often a result of the code running into an error, and that the corresponding error-code is passed into the error-handler &lt;code&gt;APP_ERROR_CHECK(error_code)&lt;/code&gt;. The default behavior of the error-handler is to reset the chip. Take a look at &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;this thread&lt;/a&gt; on how to debug and find the error-code that is causing the reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>