<?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>My application board DFU example project in strange way</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67263/my-application-board-dfu-example-project-in-strange-way</link><description>Hi There 
 
 I am debugging my application board by light-swtich server project of Mesh example and &amp;quot; pca10056_s140_ble_debug &amp;quot; project of SDK example dfu. 
 My application board can be programmed by P19 of DK(pca10056) and &amp;quot; Bluetooth Low Energy &amp;quot; desktop</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Oct 2020 01:20:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67263/my-application-board-dfu-example-project-in-strange-way" /><item><title>RE: My application board DFU example project in strange way</title><link>https://devzone.nordicsemi.com/thread/275736?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 01:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595c9c9b-7c06-4e6d-88af-81890cb6bb1c</guid><dc:creator>Di-sheng</dc:creator><description>&lt;p&gt;Hi Hung Bui&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;It works. I think I did something wrong when I make the project separte from&amp;nbsp; Mesh&amp;nbsp;&lt;em&gt;&lt;span class="skip"&gt;protocol stack.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="skip"&gt;I did them again and everything is ok now.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="skip"&gt;Thanks,&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="skip"&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="skip"&gt;B,Rs&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span class="skip"&gt;Di-sheng&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My application board DFU example project in strange way</title><link>https://devzone.nordicsemi.com/thread/275602?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 11:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:232e3346-4f2c-4466-99c7-dab656e73816</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please test to do DFU update :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. A normal BLINK LED example&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. A normal BLE example from nRF5 SDK. (ble_app_hrs for example)&lt;/p&gt;
&lt;p&gt;3. The light switch server example, but you put a infinite loop before &lt;span&gt;sd_softdevice_enable() call ( before you initialize the stack)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also please let us know which NRF5 SDK version you used, which softdevice you use and which nRF Mesh SDK version.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;I suspect that the reason why RF doesn&amp;#39;t work but the button works is that the button press action is an interrupt handler. So maybe the CPU is stuck in a dead loop but when you press the button it will jump to the button handler().&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please check if you have the 32kHz crystal on the application board or not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My application board DFU example project in strange way</title><link>https://devzone.nordicsemi.com/thread/275437?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 23:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d58bc687-8c08-4e7c-81cf-3213650e6313</guid><dc:creator>Di-sheng</dc:creator><description>&lt;p&gt;Hi Hung Bui&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first one, The dfu and light-switch server project have been verified on DK, The light-switch server project can be upload the image of the light-switch server project with SD (S140) &amp;nbsp;and every thing is good.&lt;/p&gt;
&lt;p&gt;The second, the dfu work well on application board, which mean I can push the button 4 when power up make the device enter the dfu mode any time.&lt;/p&gt;
&lt;p&gt;The third, If program the light-switch server project to application board directly without dfu bootloader, it work very well.&lt;/p&gt;
&lt;p&gt;The last one, after the light-switch server project be uploade to application board by bootloader of the dfu, it works, I think, because I still can change the LED state by push the button. But the RF do not work and the action of 4 LEDs flashing together when power up is gone.&lt;/p&gt;
&lt;p&gt;Others, Althrough the RF of the light-switch server do not work, the device still can enter the dfu mode by power up with pushing the button 4.&lt;/p&gt;
&lt;p&gt;It is strange, that just a part of the light-switch server project run. What I do not understand is what reason can stop the RF,because all of them works when they run on DK or run on application board separately.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also debug the code by SES (Debug&amp;agrave;). When the &amp;quot; __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;----- BLE Mesh Light Switch Server Demo -----\n&amp;quot;); &amp;quot; function start, The flash from 27000 to 27fff rang be erasured by SES. Then, If keep going on to debug the code, the code will stay at &amp;quot; SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler))&amp;quot; function fever. After that, the code in application board is damaged.&lt;/p&gt;
&lt;p&gt;Would you help me to find the reason.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;B,Rs&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Di-sheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My application board DFU example project in strange way</title><link>https://devzone.nordicsemi.com/thread/275344?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 11:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1123d1d5-5399-442b-990e-dfb3231e7cc0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Di-sheng,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To sum up what you described, everything worked for&amp;nbsp; you until you do DFU the mesh application using the BLE bootloader. You can successfully upload the image but the image doesn&amp;#39;t run as expected, it doesn&amp;#39;t advertise even though when you press a button it changed the LED.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check the log of the mesh application to see what&amp;#39;s wrong. I assume if you run the application without the bootloader (app+softdevice) it works fine ?&amp;nbsp;&lt;br /&gt;Note that you can step into the application and debug it normally after you do DFU update, the same as you flash it using programmer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>