<?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>UART Application Problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/495/uart-application-problem</link><description>Hello all, 
 I&amp;#39;m stuck in the use of the UART. 
 I have used the code from the UART example and the UART application for iPhone. I&amp;#39;m using eclipse because I don&amp;#39;t want to pay licences to KEIL if I can do it for free. So I have configure the makefile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Sep 2013 18:59:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/495/uart-application-problem" /><item><title>RE: UART Application Problem</title><link>https://devzone.nordicsemi.com/thread/2598?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2013 18:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d4aec0f-d0d7-45e2-a490-eecd25bb22cf</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Please make sure that your app_error_handler does not do a reset, and try to halt the chip there to see if an error of some kind occurs.&lt;/p&gt;
&lt;p&gt;By default, the error handler does a reset, so if some kind of error occurs, the device will reset directly, and abruptly ending any UART communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Application Problem</title><link>https://devzone.nordicsemi.com/thread/2597?ContentTypeID=1</link><pubDate>Sat, 21 Sep 2013 08:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e305c44-ad79-4cfc-82a4-5f17c5f1af4b</guid><dc:creator>ACS</dc:creator><description>&lt;p&gt;Thanks for the tip about Eclipse debugging. I use Eclipse for almost every kind of development I do.&lt;/p&gt;
&lt;p&gt;However, I also use the typical tracing through serial port to see the execution point and still it gets stuck at the connection level. I saw that I can send messages from the terminal (uart connection) to the iphone but if I do nothing for more than 3 seconds, the nRF blocks.&lt;/p&gt;
&lt;p&gt;And if I send a message from the iphone to the nRF, it blocks also inmediately (no possibility even to trace anything).&lt;/p&gt;
&lt;p&gt;Have anyone had a similar problem with this application?&lt;/p&gt;
&lt;p&gt;Regards,
M.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Application Problem</title><link>https://devzone.nordicsemi.com/thread/2596?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2013 11:18:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25529008-9c2c-4699-a5f4-7f693157d3c3</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Have you had a look at &lt;a href="https://devzone.nordicsemi.com/index.php/strange-behaviour-with-nrf51822-and-s110"&gt;this question&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;It seems that what actually happens is that Eclipse makes GDB jump directly to the application&amp;#39;s reset handler, instead of starting at the reset handler.&lt;/p&gt;
&lt;p&gt;Another way to solve it seems to be to set the program counter manually on reset, as shown in the attached screenshot. The exact address you should set it to will be dependent on the softdevice version used, but you can read it out at address 0x04 in the flash of the chip. With softdevice 5.2.0 it should be 0x114BD, 5.2.1 0x114CD and 6.0.0-alpha1 0x11D35.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/eclipse_2D00_fix.png" alt="eclipse-fix.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>