<?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>Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63874/bootloader-logging-for-ble-fails</link><description>Hello: 
 We are developing a DFU bootloader for an NRF52 product that supports USB and BLE upload methods (they are 2 separate bootloaders from a common source). Both work as expected (able to boot the device and download firmware applications correctly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jul 2020 10:22:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63874/bootloader-logging-for-ble-fails" /><item><title>RE: Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/thread/260783?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 10:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ca4b7d1-d11d-4bec-a8af-b62b03a90843</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joe,&amp;nbsp;&lt;br /&gt;If you configure the chip flash&amp;#39;s size according to the actual flash size of the chip you should receive an error when trying to build the application if the memory exceed the actual flash size on the chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The start address of the bootloader and the flash size is configured in the project configuration, depends on which IDE you use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/thread/260725?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 04:44:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e128c730-2982-4117-8fb9-5cf42c4cfe85</guid><dc:creator>joer55</dc:creator><description>&lt;p&gt;Thanks Turbo 1 for the information.&amp;nbsp; Do you know how much I would need to lower the bootloader start address (or should I do this by trial and error)?&amp;nbsp; Also, I assume I do this thru the sdk_config.h file - is that true?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/thread/260653?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 16:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5874302-234a-445d-bf84-3e8bd2d0e9aa</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Enabling NRF logging substantially increases the flash memory footprint.&lt;/p&gt;
&lt;p&gt;You will most likely need to lower the start address for the bootloader to be able to run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/thread/260645?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 15:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f68b160-00f0-4503-aef0-b1372f89098d</guid><dc:creator>joer55</dc:creator><description>&lt;p&gt;Hi Hung:&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply.&amp;nbsp; Some more details about our setup:&lt;/p&gt;
&lt;p&gt;- Yes these are 2 separate bootloaders and do not run on the device at the same time. We reflash the device to load one or the other.&lt;/p&gt;
&lt;p&gt;- We are not comparing the behavior of the 2. The USB bootloader is for development, the BLE bootloader is our customer facing bootloader.&amp;nbsp; Both are needed.&lt;/p&gt;
&lt;p&gt;- We did base these 2 bootloaders on the SDK bootloader example code in SDK&amp;nbsp; 15.0.0.0&lt;/p&gt;
&lt;p&gt;- Yes, the Serial Debug port is the UART we have connected to our device.&lt;/p&gt;
&lt;p&gt;- I&amp;#39;ll try to capture the UART output from the failures and get the information to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Logging for BLE Fails</title><link>https://devzone.nordicsemi.com/thread/260606?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 13:50:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e3a658-ef52-45fb-a65b-4109ce635f8d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Joe,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just want to clarify that you have 2 separate bootloaders and they are not running on the same device, correct ? You just want to compare the behavior&amp;nbsp;between the two ? Could you give more information about the bootloaders ? Did you base the bootloader on our bootloader example ? which SDK was that ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;When you mentioned &amp;quot;serial debug port&amp;quot; you meant UART ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We will need to look into the reason for disconnection and/or image failed to transfer/launch. Please provide more debug information&amp;nbsp;bout any disconnect reason, DFU terminate reason, etc. We need to look into why printing log in UART affect DFU process.&amp;nbsp;&lt;br /&gt;A &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;sniffer trace&lt;/a&gt; of the DFU process would also be useful.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>