<?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>Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114732/sid_end_device-cannot-use-rtt</link><description>Hi All, 
 1. The SDK used in VS code is version 2.6.1, and running the periphral_uart demo can print in rtt, but not in sid_end_ device 
 The official routine is used for sid_end_ device , and no modifications have been made to the code. As we need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Sep 2024 14:38:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114732/sid_end_device-cannot-use-rtt" /><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503614?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 14:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac42f5b-96ad-4a26-a025-e0e0f1f83a6f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try to reset your device using nrfjprog options which reset the board. For example, you could try to reset your device using&amp;nbsp;nrfjprog --hardreset, nrfjprog --reset or nrfjprog --debugreset.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503544?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 10:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1df8360f-3d24-4145-9aa3-f23aac3bd565</guid><dc:creator>666</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727172119149v1.png" alt=" " /&gt;&lt;span&gt;&lt;/span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727172144521v2.png" alt=" " /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;nrf52840+Semtech SX1262&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503541?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 09:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a375069-c1a7-4b1a-8177-ac7ad81e362c</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you provide more information about your custom board?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503477?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 01:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d826157b-84ea-48ff-a493-4c106dcdf067</guid><dc:creator>666</dc:creator><description>&lt;p&gt;Already completed;&lt;/p&gt;
&lt;p&gt;Using the default overlay-hello&lt;/p&gt;
&lt;p&gt;After testing, if using nrf52840dk, it will also work like this, but &lt;strong&gt;pressing the reset button again will make it normal&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But if a customized board is used, what can be used instead of this reset button&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503429?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 14:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea99f1c-c1c0-46bd-903d-cc301c170de1</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Runar is currently out of the office.&lt;br /&gt;&lt;br /&gt;Have you done everything mentioned in&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sidewalk_2.6.0/page/setting_up_sidewalk_environment/setting_up_sidewalk_product.html"&gt;setting up your Sidewalk device&lt;/a&gt;?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Which&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sidewalk_latest/page/samples/sid_end_device.html#selecting_a_sample_variant"&gt;sample_variant&lt;/a&gt;&amp;nbsp;do you use?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503364?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 07:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74c5ab0c-159f-43ed-8bd6-3d194e2de888</guid><dc:creator>666</dc:creator><description>&lt;div class="trans-left"&gt;
&lt;div class="trans-input-wrap"&gt;
&lt;div class="input-wrap" dir="ltr"&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;I added it through&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="trans-right"&gt;
&lt;div class="output-wrap small-font"&gt;
&lt;div class="output-mod ordinary-wrap"&gt;
&lt;div class="output-bd" dir="ltr"&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;&amp;amp;qspi {&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;status = &amp;quot;disabled&amp;quot;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span&gt;};&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span&gt;and&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;CONFIG_MAIN_STACK_SIZE=2048&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;Solved the above errors&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;But new problems have arisen,&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;This is done through debugging in sid_init (&amp;amp;sm -&amp;gt;sid -&amp;gt;config,&amp;amp;sm -&amp;gt;sid -&amp;gt;handle);&lt;/span&gt;&lt;span class=""&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;After calling, it died without any modifications to the code section, using the default code of the demo&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727077432121v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;&lt;span&gt;Looking forward to your reply&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503353?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 04:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bcc74ad-af88-41ef-8e2d-9ca518fad658</guid><dc:creator>666</dc:creator><description>&lt;p&gt;There is good news, I have found the reason. It is because there is no external flash that RTT cannot print. I removed the configuration related to external flash and was able to log normally. However, there was another error message&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1727065586933v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking forward to your reply&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503323?ContentTypeID=1</link><pubDate>Sat, 21 Sep 2024 07:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cbd087e-0131-4c58-86e2-51139fb080c9</guid><dc:creator>666</dc:creator><description>&lt;p&gt;Thank you for your analysis. After testing for the past two days, I found that I did not burn &amp;ldquo;nrfjprog -- sectorerase -- program nordic_aws_nrf52840.hex -- reset&amp;rdquo;. Then, according to your RTT configuration, rtt can run normally. However, this error occurred: &amp;quot;&amp;lt;err&amp;gt;qspi_nor: JEDEC id [ff ff ff] expect [c2 28 17]&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726905690256v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;So, I went to add it&lt;/p&gt;
&lt;p&gt;&amp;amp;qspi {&lt;/p&gt;
&lt;p&gt;status = &amp;quot;disabled&amp;quot;;&lt;/p&gt;
&lt;p&gt;};&lt;/p&gt;
&lt;p&gt;Then compile it and flash &amp;ldquo;nrfjprog -- sectorerase -- program nordic_aws_nrf52840.hex -- reset&amp;rdquo;, but the result is that rtt cannot be printed. Then I removed the one I just added, but the result is that rff still cannot be printed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Later on, I felt that RTT was most likely able to print the logs of other demos (because I saw the peripheral_uart), but I still don&amp;#39;t know why.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.So even though I added the step &amp;#39;nrfjprog -- sectorerase -- program nordic_aws_nrf52840. hex -- reset&amp;#39;,&amp;nbsp;rtt&amp;nbsp;still doesn&amp;#39;t work~~.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.Except for not trying DK, I have tried everything you said but have had no results.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3.a custom board, We made this ourselves, which is composed of nrf52840+Semtech SX1262 (only these two chips, no others,no external flash). I don&amp;#39;t know the difference between burning with this board and nrf52840dk.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="trans-left"&gt;
&lt;div class="trans-input-wrap"&gt;
&lt;div class="input-wrap" dir="ltr"&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;&lt;/div&gt;
&lt;div id="pic-trans"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="trans-right"&gt;
&lt;div class="output-wrap small-font"&gt;
&lt;div class="output-mod ordinary-wrap"&gt;
&lt;div class="output-bd" dir="ltr"&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;Looking forward to your reply&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503102?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 11:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:604b6ca3-ded9-4bed-8fd9-117d5b3a29eb</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thank you, and you flash this custom board with a dk or a jlink? T&lt;span&gt;ry to flash your application to the custom board, and connect the RTT backend&amp;nbsp;&lt;/span&gt;&lt;strong&gt;after&lt;/strong&gt;&lt;span&gt;&amp;nbsp;the application has started,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503079?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 09:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63a48cea-5668-4bee-a33f-6a48f1ed6581</guid><dc:creator>666</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;nbsp;a custom board&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503073?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 08:57:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce1a6eb-0ecc-48bf-8d1a-80ec5d3abdce</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Sorry, let me try again&lt;/p&gt;
&lt;p&gt;Are you using the DK or a custom board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503059?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 08:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c2dd73a-1674-4a62-ac5b-2ea991f0890d</guid><dc:creator>666</dc:creator><description>&lt;p&gt;I have tried the changes you made above, but it still doesn&amp;#39;t work. For jlink, I can print it normally using the peripher_uart ble demo. I don&amp;#39;t quite understand the sentence &amp;#39;&lt;span&gt;&amp;nbsp;You are not using the DK but trying to flash another board using the nRF52840&lt;/span&gt;&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/503052?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 07:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b63b63-56fc-417c-8024-f9ffeb146d66</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Just to be sure. You are not using the DK but trying to flash another board using the nRF52840? If not did you use a jlink with support for RTT?&lt;/p&gt;
&lt;p&gt;I tested the sid_end_device sample with the 52840dk and the following changes to the prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Log
CONFIG_LOG=y
#CONFIG_LOG_PRINTK=y
CONFIG_LOG_BUFFER_SIZE=2048
CONFIG_NVS_LOG_LEVEL_WRN=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And it printed the log for RTT just fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/502829?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 01:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62bb128f-5419-41d0-8862-41a31978d5af</guid><dc:creator>666</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1726624992926v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;For the default demo, only two changes were made. The first one, prj.conf as mentioned in the question, and the second one, as shown in the above figure, only moved the board target, selecting nrf52840d_nrf52840 and selecting Nordic Soc, without moving anything else&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sid_end_device cannot use rtt</title><link>https://devzone.nordicsemi.com/thread/502591?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 11:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70288f44-739f-4590-a46c-85406a2afbf0</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. As&amp;nbsp;&lt;span&gt;sid_end_&lt;/span&gt;&lt;span&gt;device has a lot of configuration options depending on the config you select, could you elaborate which config you have selected?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2. I would presume it uses uart as default since you already would be using uart for the command line interface. Normally uart0 is the default uart and you can see the default pins &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/vir_com_port.html"&gt;here &lt;/a&gt;and &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/96aa87c2aae419a2d04f4ee86ef12b359789a817/boards/nordic/nrf52840dk/nrf52840dk_nrf52840-pinctrl.dtsi#L19"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>