<?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>Debuging on a custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107300/debuging-on-a-custom-board</link><description>Hi, 
 I&amp;#39;ve made a custom board for a nrf9160 chip. I&amp;#39;ve added all the necessary peripherals and hardware in a device tree and made a hello world sample to test the board. The sample builds successfully and can flash and run on the target. I can even use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jan 2024 08:19:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107300/debuging-on-a-custom-board" /><item><title>RE: Debuging on a custom board</title><link>https://devzone.nordicsemi.com/thread/464089?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 08:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05ef1e0-d3c4-4e1f-ab2d-3a1fefb92f31</guid><dc:creator>NilsDR</dc:creator><description>&lt;p&gt;It seems like this is an issue with the version of the nrfconnect vs code extension. I found this similar thread:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/106879/debug-option-in-nrf-connect-extension-v2023-11-301-in-vscode-is-unable-to-start-a-debug-session"&gt;Debug option in nRF connect extension(v2023.11.301) in vscode is unable to start a debug session&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Downgrading to version v2023.9.169 solved the problem for me, while downgrading to v2023.9.336 got the error again. Something introduced in that upgrade must be causing the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debuging on a custom board</title><link>https://devzone.nordicsemi.com/thread/463984?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 13:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2634580e-9eff-4431-9595-f0b2b4fa89b8</guid><dc:creator>NilsDR</dc:creator><description>&lt;p&gt;Hello Naeem,&lt;/p&gt;
&lt;p&gt;Thank you for your quick response.&lt;/p&gt;
&lt;p&gt;1) Yes I&amp;#39;ve made a build configuration that uses debug optimizations.&lt;/p&gt;
&lt;p&gt;2) No this project is being developed for the first time and is created on the 2.4.0 SDK and 2.4.0 toolchain&lt;/p&gt;
&lt;p&gt;3) Yes this is only a problem with my custom board. If I build and debug the exact same project for another non-custom board it works just fine. My custom board is made &amp;quot;out of tree&amp;quot; from the zephyr repo and resides in a folder called boards in the root of the project folder. Maybe it is not linked correctly in some way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debuging on a custom board</title><link>https://devzone.nordicsemi.com/thread/463982?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 13:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23020de4-cc5f-4bb8-bd0d-d502460fdd09</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1) Do you add the Debug Optimizations in the build process?&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/pastedimage1705065650274v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;Are you migrating a project from another SDK? Please make sure the sample is from the same SDK for which you are building and the toolchain is same.&lt;/p&gt;
&lt;p&gt;3) Does this error only occur for your custom board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;/BR, Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>