<?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>RTT Viewer doesn&amp;#39;t show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119553/rtt-viewer-doesn-t-show-any-debug-messages-from-nrf52833</link><description>We use nrf52833 chip but I don&amp;#39;t know which SDK and version. 
 but I used &amp;quot;s113_nrf52_7.2.0_softdevice.hex&amp;quot; in our project having started on 2021.01.27. 
 So, It&amp;#39;s old project starting before. 
 
 The problem is as followings: 
 Our target device is connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Mar 2025 07:34:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119553/rtt-viewer-doesn-t-show-any-debug-messages-from-nrf52833" /><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/528969?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 07:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6993fb67-f08a-4737-8fb3-39ea20537254</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Our custom linker file has a different RAM address and size between DFU bootloader and main application.&lt;/p&gt;
&lt;p&gt;After setting RAM address and size of main app. on RTT Viewer, we checked the device logs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jaehong Park&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/527751?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 06:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a09ada83-20f8-4945-8c43-f0dd85931e60</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found a little solution of this issue.&lt;/p&gt;
&lt;p&gt;The next sequence is a small solution of this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Connect target via j-link OB on RTT viewer.&lt;/p&gt;
&lt;p&gt;2. Open J-Link.exe CLI program under C:\Program Files\SEGGER\JLink_V812b&lt;/p&gt;
&lt;p&gt;3. Connect target via j-link OB on CLI app.&lt;/p&gt;
&lt;p&gt;4. input command as &amp;quot;r&amp;quot;, &amp;quot;s&amp;quot;, &amp;quot;g&amp;quot;, &amp;quot;r&amp;quot;, &amp;quot;g&amp;quot;, etc on CLI app like the attached command.&lt;/p&gt;
&lt;p&gt;5. Then we can see the logs from RTT viewer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The attached command on CLI app.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Program Files\SEGGER\JLink_V812b&amp;gt;JLink.exe
SEGGER J-Link Commander V8.12b (Compiled Jan 15 2025 12:16:22)
DLL version V8.12b, compiled Jan 15 2025 12:15:23

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 24 2017 17:30:12
Hardware version: V1.00
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 685079944
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=3.300V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
J-Link&amp;gt;connect
Please specify device / core. &amp;lt;Default&amp;gt;: NRF52833_XXAA
Type &amp;#39;?&amp;#39; for selection dialog
Device&amp;gt;
Please specify target interface:
  J) JTAG (Default)
  S) SWD
  T) cJTAG
TIF&amp;gt;S
Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz
Speed&amp;gt;
Device &amp;quot;NRF52833_XXAA&amp;quot; selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end - Took 3.86ms
Found SW-DP with ID 0x2BA01477
DPv0 detected
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011, ADDR: 0x00000000)
AP[1]: JTAG-AP (IDR: 0x02880000, ADDR: 0x01000000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
Found Cortex-M4 r0p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
[0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
[0][1]: E0001000 CID B105E00D PID 003BB002 DWT
[0][2]: E0002000 CID B105E00D PID 002BB003 FPB
[0][3]: E0000000 CID B105E00D PID 003BB001 ITM
[0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
[0][5]: E0041000 CID B105900D PID 000BB925 ETM
Memory zones:
  Zone: &amp;quot;Default&amp;quot; Description: Default access mode
Cortex-M4 identified.
J-Link&amp;gt;s

****** Error: CPU is not halted
J-Link&amp;gt;r
Reset delay: 0 ms
Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link&amp;gt;s
00000A80:   06 4B              LDR       R3, [PC, #+0x18]
J-Link&amp;gt;g
Memory map &amp;#39;after startup completion point&amp;#39; is active
J-Link&amp;gt;s

****** Error: CPU is not halted
J-Link&amp;gt;r
Reset delay: 0 ms
Memory map &amp;#39;before startup completion point&amp;#39; is active
Reset type: NORMAL (https://wiki.segger.com/J-Link_Reset_Strategies)
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
J-Link&amp;gt;g
Memory map &amp;#39;after startup completion point&amp;#39; is active
J-Link&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;after input command on CLI app, RTT viewer give up device logs as following screenshot:&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/jlink_2D00_RTT_2D00_1_2D00_success_2D00_Cap-2025_2D00_03_2D00_18-15_2D00_05_2D00_07_2D00_600.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyway, we started a little more for fixing this issue.&lt;/p&gt;
&lt;p&gt;Then, I guess RTT viewer grabbed and held the booting start of device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please advice us how to fix it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jaehong&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/527508?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 06:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:644f280f-c645-4406-b7a6-ec816c7425ae</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found that there didn&amp;#39;t happened on RTT device logs on our target.&lt;/p&gt;
&lt;p&gt;When we just download our fw to our custom target via jflash tool, and after reading back on target&amp;#39;s memory, it is normal as following screenshot on jflash tool:&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/Jflash_2D00_RTT_2D00_log_2D00_1_2D00_success_2D00_Cap-2025_2D00_03_2D00_17-15_2D00_10_2D00_47_2D00_976.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then the next is when reading back on target&amp;#39;s memory ,right after attaching by j-link on RTT Viewer.&lt;/p&gt;
&lt;p&gt;it is abnormal that our target flash memory was initialize and written in 0xFF ,like erasing memory.&lt;/p&gt;
&lt;p&gt;the followings is abnormal screenshot.&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/Jflash_2D00_RTT_2D00_log_2D00_2_2D00_fail_2D00_Cap-2025_2D00_03_2D00_17-15_2D00_18_2D00_46_2D00_793.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I guess I saw the following logs on RTT Viewer.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;LOG: CTRL-AP indicates that the device is secured.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It was erased because of the above message.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please check this and inform us why it happened.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jaehong Park&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/527160?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 12:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad7a8905-1cab-4f5c-9b72-438bebbbee62</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;I tested &lt;span&gt;ble_app_uart, example&amp;nbsp;&lt;/span&gt;on nRF53833 DK when I use on SES and RTT Viewer.&lt;/p&gt;
&lt;p&gt;The example works well on nRF52833 DK as following SES and RTT Viewer&amp;#39;s screenshots.&lt;/p&gt;
&lt;p&gt;1. SES&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/SES_2D00_logging_2D00_1_2D00_2025_2D00_03_2D00_13-21-32-16.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. RTT Viewer&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/RTT_2D00_logging_2D00_1_2D00_2025_2D00_03_2D00_13-21-33-00.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then on RTT viewer, it works when I pressed reset button on DK board after connecting nRF SoC using J-link OB. I guess it needs to restart the appllication after connecting to nRF SoC on DK board.&lt;/p&gt;
&lt;p&gt;First of all, our target only use 4 pins in swdio, swdclk, Vdd, Gnd.&lt;/p&gt;
&lt;p&gt;So, do we have to connect reset pin on our custom target with J-link OB on DK?&lt;/p&gt;
&lt;p&gt;and then I mean give the reset signal to our custom target via reset pin after connection with j-link OB.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please guide us how.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jaehong Park&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/527069?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 02:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0e3804-4a80-4d81-9ad5-d8a4abe29283</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;I found missing definition,&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;NRF_LOG_USES_RTT&amp;nbsp;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;used in SEGGER_RTT_Syscalls_GCC.c file.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;So I added the definition on our project source.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, it dosen&amp;#39;t work with RTT Viewer via swd.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First of all, we can connect&amp;nbsp; our target through J-link OB debugger RTT viewer.&lt;/p&gt;
&lt;p&gt;The following log says:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;LOG: J-Link RTT Viewer V7.94e: Logging started.
LOG: Terminal 0 added.
LOG: Connecting to J-Link via USB...
LOG: Device &amp;quot;NRF52833_XXAA&amp;quot; selected.
LOG: InitTarget() start
LOG: CTRL-AP indicates that the device is secured.
For debugger connection the device needs to be unsecured.
Note: Unsecuring will trigger a mass erase of the internal flash.


LOG: Executing default behavior previously saved in the registry.
LOG: Device will be unsecured now.
LOG: InitTarget() end - Took 230ms
LOG: Found SW-DP with ID 0x2BA01477
LOG: DPIDR: 0x2BA01477
LOG: CoreSight SoC-400 or earlier
LOG: Scanning AP map to find all available APs
LOG: AP[2]: Stopped AP scan as end of AP map has been reached
LOG: AP[0]: AHB-AP (IDR: 0x24770011)
LOG: AP[1]: JTAG-AP (IDR: 0x02880000)
LOG: Iterating through AP map to find AHB-AP to use
LOG: AP[0]: Core found
LOG: AP[0]: AHB-AP ROM base: 0xE00FF000
LOG: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
LOG: Found Cortex-M4 r0p1, Little endian.
LOG: FPUnit: 6 code (BP) slots and 2 literal slots
LOG: CoreSight components:
LOG: ROMTbl[0] @ E00FF000
LOG: [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
LOG: [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
LOG: [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
LOG: [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
LOG: [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
LOG: [0][5]: E0041000 CID B105900D PID 000BB925 ETM
LOG: RTT Viewer connected&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then, we couldn&amp;#39;t see the device logs from our target using RTT viewer.&lt;/p&gt;
&lt;p&gt;I guess the conditions goes good a little, however we can&amp;#39;t see the logs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please advice me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jaehong Park&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;
&lt;div class="css-d0bm8m"&gt;
&lt;div class="css-7gfopr"&gt;
&lt;div class="css-1kx128h"&gt;
&lt;div class="css-pix79b"&gt;
&lt;div class="css-1d6xttj"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/526799?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 15:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4f50154-6608-4664-bc6a-6854f10de654</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is your application running successfully, except for getting no logging? For an nRF5 SDK application, you typically need both a SoftDevice and the applicaiton, and if you lack the SoftDevice then the application simply will not run. This might be the issue.&lt;/p&gt;
&lt;p&gt;Do you get RTT to work properly with an SDK example, such as e.g. \examples\ble_peripheral\ble_app_hrs when doing the same configuration changes?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/526076?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2025 00:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cb3042e-2832-4819-b783-c140d819f3e2</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll response for your check points.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t use&amp;nbsp;&lt;span&gt;app_config.h with&amp;nbsp;&lt;/span&gt;USE_APP_CONFIG undefined.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2.&lt;/p&gt;
&lt;p&gt;we use nrf52833 on our target device.&lt;/p&gt;
&lt;p&gt;we have swd connection between our custom target board via j-link debugger.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;&lt;span&gt;For RTT to work, I attach the two screen shots. (setting and log on our RTT Viewer)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-setting:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&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/rtt_2D00_setting_2D00_Cap-2025_2D00_03_2D00_06-09_2D00_32_2D00_25_2D00_955.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-log:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/rtt_2D00_log_2D00_1_2D00_Cap-2025_2D00_03_2D00_06-09_2D00_34_2D00_27_2D00_874.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4. Our project is already not a SES project having started on 2021 year.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; So, for the logging from device, we&amp;#39;ll use RTT viewer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5. We already use calling log_init() from our source. our log_init() are as followings:&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;void log_init(void) {
&amp;#160; ret_code_t err_code;

&amp;#160; lfclk_config();
&amp;#160; err_code = NRF_LOG_INIT(get_rtc_counter);
&amp;#160; APP_ERROR_CHECK(err_code);

&amp;#160; NRF_LOG_DEFAULT_BACKENDS_INIT();
}&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Any checking points?&lt;/p&gt;
&lt;p&gt;Please advice us.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/525945?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 11:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c72edeea-33a4-45ff-88e5-78a754d54b23</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Please note also, that in SDK examples the log is initiated at the very beginning of main, typically through a call to the following function (also defined in the main.c of each example.)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for initializing the nrf log module.
 */
static void log_init(void)
{
    ret_code_t err_code = NRF_LOG_INIT(NULL);
    APP_ERROR_CHECK(err_code);

    NRF_LOG_DEFAULT_BACKENDS_INIT();
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In other words, you should both initiate logging, and initiate the log backends, as well as check the return value of the former.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/525941?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 11:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c94920af-92c3-4c9e-afd5-71aaf5fc31ea</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From what I can tell, the configurations in your sdk_config.h file are good.&lt;/p&gt;
&lt;p&gt;I see from your sdk_config.h file that you are also disabling NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED, which is good. Enabling that setting is known to prevent RTT logs from being displayed, at least in the Segger Embedded Studio (SES) debug terminal.&lt;/p&gt;
&lt;p&gt;Please note that all settings in sdk_config.h can be overridden, typically through use of an&amp;nbsp;app_config.h file. Please check to see if you have any such overrides, of any of the configs you have mentioned, or of the one I mentioned above. See the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/sdk_config.html"&gt;SDK configuration header file&lt;/a&gt; documentation for details, and in particular the section &lt;em&gt;Overriding the sdk_config.h configuration&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;For RTT to work, you must have a debugger connected to your board. Please confirm this is what you do, as well as describe what kind of board you use, how you connect it (physically), as well as all steps and any configurations done with RTT Viewer. Also, please share any errors, warnings or log output provided by RTT Viewer.&lt;/p&gt;
&lt;p&gt;For nRF5 SDK based projects, I personally find it the easiest to just start a debug session in SES, for getting the RTT output up and running, as with the RTT Viewer I find it to be slightly more cumbersome to set up. If your project is a SES project, an easy way to check if RTT works from the device point of view is to run a debug session in SES.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer doesn't show any debug messages from nrf52833.</title><link>https://devzone.nordicsemi.com/thread/525892?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 09:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e609f96e-a66d-4937-b58f-185850791adb</guid><dc:creator>bini2007</dc:creator><description>&lt;p&gt;We also define below:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_LOG_DEFAULT_LEVEL&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;More anything for us to do logging?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="__endic_crx__"&gt;
&lt;div class="css-diqpy0"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>