<?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 debugging by using app_trace_log()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15540/bootloader-debugging-by-using-app_trace_log</link><description>Hi, 
 I have some problems with bootloader debugging by using app_trace_log(). 
 My board is pca10028, and I use the SDK 10.0.0 for it. The Keil version is v5.20 and Jlink version is v6.00d. 
 Since I am a beginner of BLE and Nordic Development, I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2016 13:29:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15540/bootloader-debugging-by-using-app_trace_log" /><item><title>RE: bootloader debugging by using app_trace_log()</title><link>https://devzone.nordicsemi.com/thread/59336?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2016 13:29:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf60f58-4d02-4d89-bfca-449d061d3261</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Amy: Yes you can use RTT, but the size of the bootloader will be increased and you still need to follow question F to increase the allocated size and move the location of the bootloader down a little bit because of that expand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader debugging by using app_trace_log()</title><link>https://devzone.nordicsemi.com/thread/59335?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2016 16:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2770690e-307a-4206-8ed0-a506517d8c82</guid><dc:creator>Amy</dc:creator><description>&lt;p&gt;Hi Hung,
Thanks for your reply. I think my bootloader run correctly because I still can use it to do DFU and start the application( the hrs example code).&lt;/p&gt;
&lt;p&gt;Since I need to use the DFU function in some reasons, I have to get familiar with it as soon as I can.
That&amp;#39;s why I am trying to print some debug messages at first.&lt;/p&gt;
&lt;p&gt;And for the question F in FAQ part, I think I have already done it before, but I will give a check.&lt;/p&gt;
&lt;p&gt;What if I use RTT for debugging? Is it more convenient and suitable? What is the best choice for me to print messages out?&lt;/p&gt;
&lt;p&gt;Thank you=)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bootloader debugging by using app_trace_log()</title><link>https://devzone.nordicsemi.com/thread/59334?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2016 11:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c10a101-45f8-4c49-8a41-346fc87b2b29</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Amy, I guess the bootloader crashed at some point. You may need to follow &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;this instruction&lt;/a&gt; on how to debug, you may need to re-configure the bootloader so that you can run it in debug mode bu looking at question F in &lt;a href="https://devzone.nordicsemi.com/blogs/685/common-faq-on-dfu/"&gt;this FAQ&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The bootloader is a fairly complex project and i would not suggest to get started with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>