<?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>Unable to flash nrf5340DK or custom board with SEGGER over SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112144/unable-to-flash-nrf5340dk-or-custom-board-with-segger-over-swd</link><description>I tried adapting the blinky sample project to work with a custom board. After an hour or two I was able to define the GPIOs of my schematic including I2C with the device tree visualizer in nrf Connect extension for VS Code. 
 I am able to build the project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2024 08:40:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112144/unable-to-flash-nrf5340dk-or-custom-board-with-segger-over-swd" /><item><title>RE: Unable to flash nrf5340DK or custom board with SEGGER over SWD</title><link>https://devzone.nordicsemi.com/thread/491512?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 08:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8b47a63-5029-4ce6-8e7c-e3a6513ba459</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="bradcb212"]In the end, programming just started working. Maybe my IDC cable is less than perfect.[/quote]
&lt;p&gt;Good to hear that it is working for you. Using a subpar IDC cable may lead to unreliable support for higher speeds, this could prevent you from increasing the SWD (Serial Wire Debug) speed during the flashing process, as SWD typically necessitates a high-quality cable to maintain higher speeds without errors.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash nrf5340DK or custom board with SEGGER over SWD</title><link>https://devzone.nordicsemi.com/thread/491440?ContentTypeID=1</link><pubDate>Sat, 29 Jun 2024 19:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb0d7af-83d0-48ed-9776-4e4ca245b381</guid><dc:creator>bradcb212</dc:creator><description>&lt;p&gt;I would appreciate the ability to vary SWD speeds.&lt;/p&gt;
&lt;p&gt;In the end, programming just started working. Maybe my IDC cable is less than perfect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash nrf5340DK or custom board with SEGGER over SWD</title><link>https://devzone.nordicsemi.com/thread/489089?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 11:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd97fa9e-fe3f-407f-a0ca-ee7fc74e19dc</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="bradcb212"]&lt;p&gt;I mean I changed from using my physical board to the nrf5340DK physical board, I also updated the build configuration to reflect this as my board target.&lt;/p&gt;
&lt;p&gt;My point is, I cannot flash SWD to either the nrf5340DK using my Segger J-Link. Nor can I flash to my custom PCBA with the Ezurio nrf5340 module with the same Segger J-&lt;/p&gt;[/quote]
&lt;p&gt;Have you tried communicating with your board via J-Link Commander? When you attempt to communicate using J-Link Commander, you need to specify the interface speed. How does that work?&lt;br /&gt;&lt;br /&gt;I am not sure if I fully understand your question. Are you asking whether it is possible to set the SWD speed in the nRF Connect VS Code extension by configuring the `&lt;strong&gt;launch.json&lt;/strong&gt;` file? I am not certain if this can be done through the VS Code extension. If this is what you are asking, please let me know, and I will inquire with the VS Code team for further clarity.&lt;br /&gt;&lt;br /&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash nrf5340DK or custom board with SEGGER over SWD</title><link>https://devzone.nordicsemi.com/thread/488938?ContentTypeID=1</link><pubDate>Sat, 15 Jun 2024 04:23:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df19f203-f841-48cd-8a2e-9ba0625f8140</guid><dc:creator>bradcb212</dc:creator><description>&lt;p&gt;Note when I say&lt;/p&gt;
[quote userid="134359" url="~/f/nordic-q-a/112144/unable-to-flash-nrf5340dk-or-custom-board-with-segger-over-swd"]Next I tried changing the board back to the nrf5340DK and flashing to the SWD connector directly. This also failed in the same manner.[/quote]
&lt;p&gt;I mean I changed from using my physical board to the nrf5340DK physical board, I also updated the build configuration to reflect this as my board target.&lt;/p&gt;
&lt;p&gt;My point is, I cannot flash SWD to either the nrf5340DK using my Segger J-Link. Nor can I flash to my custom PCBA with the Ezurio nrf5340 module with the same Segger J-Link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>