<?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>nRF5340 network cpu debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88584/nrf5340-network-cpu-debugging</link><description>Dear service team, 
 I&amp;#39;m running into issues trying to debug the nRF5340 network core: 
 
 Software 
 nRF Connect SDK v2.0.0, freshly installed Visual Studio Code 1.67.2 nRF-Command-Line-Tools-10.15.4-x64.exe 
 No changes to the installation or code after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Jun 2022 07:58:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88584/nrf5340-network-cpu-debugging" /><item><title>RE: nRF5340 network cpu debugging</title><link>https://devzone.nordicsemi.com/thread/371296?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 07:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce2bca9-e007-4504-b4a2-8ce9027e2413</guid><dc:creator>ubat</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;thank you for the quick reply! That&amp;#39;s too bad, I personaly absolutely love it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m good for now, just glad that debugging is working.&lt;/p&gt;
&lt;p&gt;Have a good time!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 network cpu debugging</title><link>https://devzone.nordicsemi.com/thread/371293?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 07:53:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23ef9b2d-1645-4b60-803c-625151274b35</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Uli,&lt;/p&gt;
&lt;p&gt;Good to hear you got it working.&lt;/p&gt;
&lt;p&gt;We do not have support for ETM in VS Code, unfortunately. That does not necessarily mean that it is not possible, but we have not done it or worked on it, so I&amp;nbsp;can unfortunately not provide any pointers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 network cpu debugging</title><link>https://devzone.nordicsemi.com/thread/371178?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 13:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afbbd661-25bb-41f1-a727-b44e7831bd51</guid><dc:creator>ubat</dc:creator><description>&lt;p&gt;Hi Einar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you! Turns out, I was on&amp;nbsp;JLinkARM.dll version: 7.58b. With the new version &lt;span&gt;7.66b&lt;/span&gt;, debugging is working, thank you!&lt;/p&gt;
&lt;p&gt;First, it gave me a bluescreen. Then, one of the two boards didn&amp;#39;t work. However, now it&amp;#39;s working :D&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;A small follow up question: can you please point me how to enable instruction trace on Visual Studio? This is what I&amp;#39;m used to from my other cortex projects on Keil:&amp;nbsp;&lt;a href="https://www2.keil.com/mdk5/debug#instruction_trace"&gt;&amp;micro;Vision Debugger (keil.com)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For Nordic I can find this page, also for Keil:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debugging-nrf52-series-devices-using-trace"&gt;Debugging nRF52 series devices using Trace - Blogs - Nordic Blog - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The tracedata pins are connected, so the hardware seems capable of doing ETM trace, but I can&amp;#39;t find any help how to view it with Visual Studio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 network cpu debugging</title><link>https://devzone.nordicsemi.com/thread/371158?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 13:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5abc3e07-aad5-4cfe-beb6-0cb12ed2ce2d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Uli,&lt;/p&gt;
&lt;p&gt;I tested this now with nRF Connect SDK 2.0.0 and nRF Connect for VS Code v2022.6.22 and VS Code 1.67.2, so same as you. Using empty app core and blinky on the net core I am able to debug and step in the code on the network core. That is using J-Link SW version&amp;nbsp;7.66b, and I know there were issues for some time with older J-Link drivers. Can you try &lt;a href="https://www.segger.com/downloads/jlink/"&gt;updating &lt;/a&gt;to the latest?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>