<?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>add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24736/add-uart-service-into-butonless_dfu</link><description>I added uart service ( here and here )
and I think in part of ble everything goes well. I have blinking led1 and can see all my services.
Then I tried add uart part.
After adding uart_init, uart_event_handler, nus_data_handler functions, some defines</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2017 15:38:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24736/add-uart-service-into-butonless_dfu" /><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97414?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 15:38:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef59bd93-06e7-40e5-8edd-9ddd170ed445</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Global error codes &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group__nrf__error.html"&gt;are documented here&lt;/a&gt;. There is also error codes specific to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group__nrf__soc__error.html"&gt;SoC&lt;/a&gt;, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group__nrf__sdm__error.html"&gt;SDM&lt;/a&gt;, and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v0.9.0/group__ble__err.html?resultof=%22%4e%52%46%5f%45%52%52%4f%52%5f%53%54%4b%5f%42%41%53%45%5f%4e%55%4d%22%20"&gt;general BLE errors&lt;/a&gt;, in addition to the subgroups &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___e_r_r_o_r_s___g_a_p.html?resultof=%22%4e%52%46%5f%47%41%50%5f%45%52%52%5f%42%41%53%45%22%20"&gt;GAP&lt;/a&gt;, &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___e_r_r_o_r_s___g_a_t_t_s.html"&gt;GATTS&lt;/a&gt;, and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___e_r_r_o_r_s___g_a_t_t_c.html"&gt;GATTC&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97415?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 13:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2d1b333-2b3c-4fc9-a145-75da3e3217af</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I tested my worked (I think so) app with set breakpoint in the same place (app_error.c, app_error_weak) and break app with &lt;a href="http://ybex.com/d/cgzib30hf1m3uf3pawrk0d9lrekcopmi67ofkbg8.html"&gt;that&lt;/a&gt;.
Could you give me the link where I can read about list of possible errors and their description or something like that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97417?ContentTypeID=1</link><pubDate>Sun, 17 Sep 2017 18:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f5fa929-eea3-45e2-9ea8-d56a79c86f6d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;From the value of th PC, it looks like the error originates from the softdevice. This is most likely why you are not seeing any usefull information. What is the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97416?ContentTypeID=1</link><pubDate>Sat, 16 Sep 2017 05:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37dae05b-bd55-4fc3-af7e-472d33aaa8f8</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;if I understand correct I need to set breakpoints against&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;UNUSED_VARIABLE(m_error_data);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in app_error.c file
&lt;a href="http://ybex.com/d/zizrjniq4j76wun4urnjqig0rqeqdyh2oqslhdkt.html"&gt;ybex.com/.../zizrjniq4j76wun4urnjqig0rqeqdyh2oqslhdkt.html&lt;/a&gt;
and
against&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; app_error_save_and_stop(id, pc, info);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in app_error_weak.c
&lt;a href="http://ybex.com/d/pptrwrkbj0ylfzjmg4ylrmtlpv800l3mahsfxqlm.html"&gt;ybex.com/.../pptrwrkbj0ylfzjmg4ylrmtlpv800l3mahsfxqlm.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why in value of p_file_name I see a little bit confused symbols?
&lt;a href="http://ybex.com/d/w557s4mngy4601deujh7ygyhhywvjtimfaq00n9y.html"&gt;ybex.com/.../w557s4mngy4601deujh7ygyhhywvjtimfaq00n9y.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PS Its not about uart issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97413?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 11:43:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2979264a-f482-47d1-964b-7a3129e04372</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you want to read the values of &lt;code&gt;m_error_data&lt;/code&gt;, you need to set the breakpoint after it is assigned (close to the while(loop); at the end of app_error.c). You should also be able to read the error code/line number/file name in the call stack + locals window, under app_error_handler, when you are breaking in app_error_weak.c.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97412?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2017 09:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72178b14-2f9f-430d-ac25-a3ce53046a9e</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Sorry for long delay before answer.
Actually I increased vendor UUID to 2, then I change IRAM settings and get nothing about IRAM compliant in LOGS.
But I still get fatal error and reset.
I tried to debug with guide you reference to. I set break point in front of while loop, go into debug mode (keil), run program, and broke on raw NRF_BREAKPOINT_COND; of file app_error_weak.c. As I understand we need to get info about error&amp;#39;s location in app_error.c file so I tried add to watch window vars m_error_data, m_error_data.p_file_name again run program, but in watch window I see only . Here&amp;#39;s screen
&lt;a href="http://ybex.com/d/1294hufolwh27q0sycvap6s96q8g9eqgra6thdbr.html"&gt;ybex.com/.../1294hufolwh27q0sycvap6s96q8g9eqgra6thdbr.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;in RTT_LOG I got&lt;/p&gt;
&lt;p&gt;0&amp;gt;  app: Setting vector table to bootloader: 0x00078000&lt;/p&gt;
&lt;p&gt;0&amp;gt;  app: Fatal&lt;/p&gt;
&lt;p&gt;&lt;a href="http://ybex.com/d/9c3iaeahpx2rq8db8sprejk5wf1xtnkmd692iyt3.html"&gt;ybex.com/.../9c3iaeahpx2rq8db8sprejk5wf1xtnkmd692iyt3.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: add uart service into butonless_dfu</title><link>https://devzone.nordicsemi.com/thread/97411?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 17:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c3273b-fd77-4456-bf44-60d8424d39ad</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Maybe you want to check if there is any assertion, most likely it was wrong RAM configuration, as you need to increase the number of Vendor specified UUID. Please try to follow &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;this guide&lt;/a&gt; to know if assertion occurs and how to track it down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>