<?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>nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76776/nrf52832-dfu-failure-but-dfu-success-when-connected-customized-board-with-jlink-rtt-viewer-by-jlink-swd-how-can-i-solve-the-bug</link><description>environment: 
 1. nRF52832 
 2. nRF5_SDK_11.0.0_89a8197 
 3. s132_nrf52_2.0.0_softdevice.hex 
 4. nRF5_SDK\nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm5_no_packs 
 5. win7 32bit 
 6. keil v5.26 
 7. nrf connect 
 
 bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jun 2021 14:46:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76776/nrf52832-dfu-failure-but-dfu-success-when-connected-customized-board-with-jlink-rtt-viewer-by-jlink-swd-how-can-i-solve-the-bug" /><item><title>RE: nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/thread/318022?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 14:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e63d54f3-9b65-495b-bff8-2d3c6b69dd1f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sunwell,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to make the sniffer works.&amp;nbsp;&lt;br /&gt;Have you made sure the&amp;nbsp;softdevice is initialized with RC instead of crystal in the bootloader ?&amp;nbsp;&lt;br /&gt;If the board works with other BLE application/example then RC should be fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to find a way to debug when not connecting to RTT, for example using UART log, or toggle GPIO pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/thread/317995?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74ff757d-c0ca-4c3e-9b0d-0519fefc8d45</guid><dc:creator>sunwell</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Bui,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I&amp;#39;ve been too busy these two days. And I reply&amp;nbsp;&lt;/span&gt;&lt;span&gt;you now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have a set of nrf52840 DK. and set&amp;nbsp; up the environment of PC. Flash the sniffer hex file of nrf52840 to nrf52840 also.But I haven&amp;#39;t caught the packet yet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The custom board without 32KHz crystal uses internal RC. I also suspect that it doesn&amp;#39;t work properly. I run the same example on the nRF51 DK next days and give you feedback.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If the RC don&amp;#39;t work, then what should&amp;nbsp; i do?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/thread/317530?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 15:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de5fef5d-1280-49ef-8a36-9cf9da28a062</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sunwell,&amp;nbsp;&lt;br /&gt;If you have any nRF51 or nRF52 development kit you can use it as a BLE sniffer trace.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you have the 32kHz crystal on the custom board ? I suspect that it could be related to the LFCLK , when connecting with RTT it would keep the debuging interface running which keeps the LFCLK running. Could you post the schematic of the custom board ?&lt;br /&gt;&lt;br /&gt;If you run the same example on the nRF51 Development Kit do you see the same issue ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/thread/317508?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 13:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f633185-076f-47d6-add9-aa57c2b9d663</guid><dc:creator>sunwell</dc:creator><description>&lt;p&gt;Hi Bui,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Thanks a lot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;I am sorrry that i have not a sniffer tace tool.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;I have tested that case turned&amp;nbsp; off bluetooth and restart the phone many times.The result is that DFU failure. I added some log states(NRF_LOG_PRINTF()) for debug that bug.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;Attached is the RTT log.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/45565666.log"&gt;devzone.nordicsemi.com/.../45565666.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;when the customized board connect RTT logger, the DFU&amp;nbsp;upgrade successfuly each time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 dfu failure, but dfu success when connected customized board with Jlink RTT viewer by jlink(SWD) .  How can i solve the bug?</title><link>https://devzone.nordicsemi.com/thread/317493?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 12:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56358930-4f48-49a2-b459-caf866d76ad4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sunwell,&amp;nbsp;&lt;br /&gt;Please try to turn off Bluetooth and restart the phone and test again.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try capture a&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt; sniffer trace&amp;nbsp;&lt;/a&gt;&amp;nbsp;for both cases, when you use RTT logger and when you don&amp;#39;t use the RTT logger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Do you have any modification to the bootloader ?&amp;nbsp;&lt;br /&gt;Could you send us the RTT log when you connect RTT logger ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>