<?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>Debugging nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99199/debugging-nrf5340-audio-dk</link><description>Hi, 
 
 I have successfully programmed the nRF5340 Audio DK as a gateway device using the Command Line Tools and by using the directives listed in the &amp;#39;nRF5340 Audio&amp;#39; program documentation. However, I am now interested in doing debugging so I can monitor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 13 Jul 2024 07:03:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99199/debugging-nrf5340-audio-dk" /><item><title>RE: Debugging nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/493739?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2024 07:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7780787-b6fc-439f-8a57-a580b799e2d0</guid><dc:creator>RajendraN</dc:creator><description>&lt;p&gt;HI Imran&lt;br /&gt;&lt;br /&gt;Have you done nRF5340 audio dk on VS code? If you are done, could you please share the flow of information?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Warm Regards,&lt;br /&gt;Rajendra.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/423050?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 16:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf3ea8c3-83ab-40d7-9177-ba0e1f4a2d3a</guid><dc:creator>ImranKalhoro</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;Thanks for your reply!&lt;/p&gt;
&lt;p&gt;For the nRF5340 Audio program to work correctly, I think we need to program both the application and network cores. However, when using VS Code, I can only do a build configuration for the application core (please see image attachment).&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/Build_5F00_Configuration.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;When I initially tried to just flash the application core, the board&amp;#39;s RGB1 led turned RED which apparently indicates a fault in the application core (according to the nRF5340 Audio program documentation).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Interestingly, after flashing both the application and network cores using Command Line Tools first, I am now able to use VS Code to flash the application core successfully, and do debugging, so that is great! I should now be set to go.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for all your help!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Imran&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/422914?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2023 09:12:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a3b2f27-10e8-4839-8608-bdcc436add75</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Imran,&lt;/p&gt;
[quote user=""]I was wondering if I can debug the nRF5340 Audio program through VS Code[/quote]
&lt;p&gt;Absolutely. That is very much possible. For an intro into our tools on debugging, &lt;a href="https://www.youtube.com/watch?v=IDC2m91xMb0"&gt;see here&lt;/a&gt;.&lt;/p&gt;
[quote user=""]I had initially tried flashing the nRF5340 Audio program using VS Code but that failed, so had to resort to using bash commands instead.[/quote]
&lt;p&gt;That is odd. In what way did it fail? Did you get any errors? What OS are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>