<?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 using SWO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36472/bootloader-debugging-using-swo</link><description>Hi, 
 We are currently developing an app which require DFU. 
 As part of the bootloader development we would like to use the SWO in order to do a printf debug. 
 In the app we followed the guide in the link below and were successful however in the bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jul 2018 18:03:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36472/bootloader-debugging-using-swo" /><item><title>RE: Bootloader debugging using SWO</title><link>https://devzone.nordicsemi.com/thread/140567?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 18:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51058a56-b2ca-499b-8e2c-b047f433b5b8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Danny,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tested it myself, but if you try e.g. the SDK15\examples\dfu\secure_bootloader\pca10040_debug\arm5_no_packs&lt;/p&gt;
&lt;p&gt;I believe this should print the NRF_LOG messages on RTT without any modifications.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if that doesn&amp;#39;t work, and I will look into it tomorrow.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader debugging using SWO</title><link>https://devzone.nordicsemi.com/thread/140549?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 14:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:215020f9-0ed1-487c-ba2e-a901eaeceacb</guid><dc:creator>danny habot</dc:creator><description>&lt;p&gt;Hi Edvin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i would love to use the NRF_LOG module but i couldn&amp;#39;t get it to work. in the app i worked with the guide mentioned above and got to a working state however the same configuration doesn&amp;#39;t work with the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader debugging using SWO</title><link>https://devzone.nordicsemi.com/thread/140535?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 14:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa20d950-c704-492e-b5c8-61c2b8762f03</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there any reason why you don&amp;#39;t want to use the NRF_LOG module during debugging/development? I am sure it is possible to use&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you got the SWO to send one char at the time, right? I haven&amp;#39;t tested this, but are you able to use the printf module to use the ITM_sendchar instead of the UART or RTT log?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>