<?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>unable to add nus service to DFU example.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25826/unable-to-add-nus-service-to-dfu-example</link><description>I am using softdevice132, sdk 14.0, pca10040 dk,
when i add nus service to the dfu example, it is not working. there were also some warning about iram start address, which i changed accordingly in the linker file and nrf_sdh_ble.c 
 MEMORY
{
FLASH</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2017 08:55:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25826/unable-to-add-nus-service-to-dfu-example" /><item><title>RE: unable to add nus service to DFU example.</title><link>https://devzone.nordicsemi.com/thread/101740?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 08:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c380b553-4b77-45b8-95ab-026085db9efb</guid><dc:creator>madblue</dc:creator><description>&lt;p&gt;Hi Hung Bui ,&lt;/p&gt;
&lt;p&gt;Thanks for the support, now it is working. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to add nus service to DFU example.</title><link>https://devzone.nordicsemi.com/thread/101739?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 07:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e1617b-b7a3-4b39-8c76-c136d0012cec</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please add a breakpoint inside APP_ERROR_HANDLER(), make sure you defined DEBUG in the CFLAGS in makefile.&lt;/p&gt;
&lt;p&gt;Optimization level can be changed by selecting ASMFLAG, by default it&amp;#39;s -g3 please set it to g0&lt;/p&gt;
&lt;p&gt;You can find information about debuging in gcc/linux using search tool, such as Google search.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to add nus service to DFU example.</title><link>https://devzone.nordicsemi.com/thread/101738?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 14:58:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e26ef18b-f7d4-43e6-9e18-6a98cf8a12a8</guid><dc:creator>madblue</dc:creator><description>&lt;p&gt;hi thank you,&lt;/p&gt;
&lt;p&gt;i am using gcc on linux, how can i set optimization level ? also i&amp;#39;m using sdk14, i couldn&amp;#39;t find&lt;/p&gt;
&lt;p&gt;&amp;quot;#ifndef DEBUG
NVIC_SystemReset();
#else&amp;quot;&lt;/p&gt;
&lt;p&gt;in app_error.c&lt;/p&gt;
&lt;p&gt;sorry for asking such silly doubts ;(
where can i found more information about debugging in gcc/linux ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: unable to add nus service to DFU example.</title><link>https://devzone.nordicsemi.com/thread/101737?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 08:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20184d3e-0331-4824-b2da-df86887183bb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you debug and find what is the cause  ? You may need to change the optimization level to 0 to be able to debug.Please follow &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;this guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>