<?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>Developing with custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123292/developing-with-custom-board</link><description>I have a simple custom board using Fanstel BM15C module. It is connected to DEBUG OUT connector of the nrf54l15-dk. 
 I am using VS Code and nRF Connect extension pack, SDK 3.0.2. Debugger works, but I have issues with logging and debugging: 
 1. Using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Aug 2025 15:06:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123292/developing-with-custom-board" /><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/545410?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 15:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1293ad59-16c6-48dd-9a2d-871fb6e08e5a</guid><dc:creator>Marko_P</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;My solution is to use RTT only on Mac Mini and serial port console on Ubuntu LXC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Marko&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/545404?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 14:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e843580-888e-4e14-b3ba-cfb9c7afccec</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Marko_P"]&lt;p&gt;&lt;span&gt;&lt;b&gt;Ad 1)&lt;/b&gt;&lt;/span&gt;&amp;nbsp;Do you know why this prompt is needed? To me, it seems unnecessary and a bit annoying&amp;nbsp;&lt;span title="Slight smile"&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1541.1f642.svg" style="max-height:32px;max-width:32px;" alt="Slight smile" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is there any chance this could be made configurable?&lt;/p&gt;[/quote]
&lt;p&gt;If I&amp;#39;m not mistaken, VS Code use J-link SW from Segger in the background. Basically this is a design choice by Segger.&lt;/p&gt;
[quote user="Marko_P"]&lt;p&gt;&lt;span&gt;&lt;b&gt;Ad 2)&lt;/b&gt;&lt;/span&gt; The &lt;span&gt;JLinkRTTClient&lt;/span&gt; socket connection succeeds on both the Mac Mini and the Ubuntu LXC. However:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;On the Mac Mini, I don’t see any messages until I first connect using the “RTT Terminal” from the VS Code extension.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the Ubuntu LXC, I never see any messages at all.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;I&amp;#39;m not that familiar with Linux, but can it be that you are missing some permissions to access the device?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/544972?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 15:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9906152c-24fe-485b-9037-faf6a2534c40</guid><dc:creator>Marko_P</dc:creator><description>&lt;p class="p1"&gt;&lt;b&gt;Hi Jared,&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&lt;b&gt;Ad 1)&lt;/b&gt;&lt;/span&gt;&amp;nbsp;Do you know why this prompt is needed? To me, it seems unnecessary and a bit annoying&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p3"&gt;Is there any chance this could be made configurable?&lt;/p&gt;
&lt;p class="p2"&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&lt;b&gt;Ad 2)&lt;/b&gt;&lt;/span&gt; The &lt;span class="s2"&gt;JLinkRTTClient&lt;/span&gt; socket connection succeeds on both the Mac Mini and the Ubuntu LXC. However:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="p1"&gt;On the Mac Mini, I don&amp;rsquo;t see any messages until I first connect using the &amp;ldquo;RTT Terminal&amp;rdquo; from the VS Code extension.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="p1"&gt;On the Ubuntu LXC, I never see any messages at all.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="p2"&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&lt;b&gt;Ad 4)&lt;/b&gt;&lt;/span&gt; This works&amp;mdash;thanks! I used the &amp;ldquo;Erase board&amp;rdquo; option on the DK, connected to pins P0.00 and P0.01 on the DK rail, changed my app to use UART instead of RTT, and now VCOM0 works.&lt;/p&gt;
&lt;p class="p3"&gt;The only issue is that in some configurations of my app, I won&amp;rsquo;t have a spare UART available for logging or console output.&lt;/p&gt;
&lt;p class="p3"&gt;&lt;/p&gt;
&lt;p class="p3"&gt;Regards,&lt;br /&gt;Marko&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/544897?ContentTypeID=1</link><pubDate>Thu, 07 Aug 2025 09:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca59fb3d-1d78-4637-8d2d-42d9d2949726</guid><dc:creator>Jared</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Yes, it&amp;#39;s expected that it will ask you to provide device settings trough a GUI each time you start a new session.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Would it be possible to run&amp;nbsp;JLinkRTTClient from the command line instead?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Yes, did should be correct. Did you try it?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/544823?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 15:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5536b6a7-b6df-4864-8e6b-ccd0656fce88</guid><dc:creator>Marko_P</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Ad 1) I am using &amp;quot;RTT&amp;quot; under &amp;quot;connected devices&amp;quot; in &amp;quot;nRF Connect for VS Code&amp;quot; extension.&lt;/p&gt;
&lt;p&gt;Ad 2) I have a Ubuntu server LXC on a Proxmox server. Then I connect to it running VS Code on my Mac Mini using &amp;quot;Remote - SSH&amp;quot; extension. Works very well, but not RTT. I am guessing that the problem is that JLink cannot ask me about the connected MCU type, like it does on Mac Mini.&lt;/p&gt;
&lt;p&gt;Ad 4) Do I understand correctly that I should just connect pins from my Fanstel BM15C module to the pins written at the back of the DK (P0.00-P0.01 for port 0 and P1.04-P1.05 for port 1) and make sure that the app executing on the DK MCU does not touch these pins?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Marko&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with custom board</title><link>https://devzone.nordicsemi.com/thread/543778?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 14:31:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de0c0a9-43da-4f7b-b3d7-acc2eb2b6360</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1. Using RTT kind of works if I am using my local machine (Mac Mini M4). JLink asks me for the device type every time I start RTT terminal. Is this expected?[/quote]
&lt;p&gt;Are you using RTT viewer? How are you viewing the logs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]2. When working with VS Code over SSH on a headless Ubuntu, RTT does not work at all. IMO JLink also wants to ask me for device type, but there is no way to display the dialog?[/quote]
&lt;p&gt;By headless, you mean no trough command line? How are you using VS code in this case?&lt;/p&gt;
[quote user=""]3. I want my MCU app to pause at start, otherwise some of &amp;quot;main()&amp;quot; code is executed before debugger starts. Is adding a button to the custom board and waiting for button press at the top of &amp;quot;main()&amp;quot; the way to go?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user=""]4. DK exposes two USB-serial ports to PC. Is there an official way to route an UART from a custom board to any of these two?&amp;nbsp;[/quote]
&lt;p&gt;The interface chip is programmed to send any data that is sent to the UART pins (see silkscreen on the backside of the board) to the USB port. You just need to make sure the nRF54L15 SOC does not reconfigure those pins in the application. The easiest is probably to erase the application on the soc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>