<?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>Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119607/programming-custom-nrf5340-pcb-via-j-link-interface-defies-laws-of-physics</link><description>Hi, I am seeking assistance with a very weird issue encountered while programming an nRF5340 SoC using a custom debugging-PCB using a SEGGER J-Link EDU debugger. 
 The debugging PCB is designed to plug directly into the J-Link (and the board featuring</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 May 2025 11:02:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119607/programming-custom-nrf5340-pcb-via-j-link-interface-defies-laws-of-physics" /><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/534085?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 11:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a1eb47a-4446-4fd4-bc78-f4eadf21ba61</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;What is important is that you are as close to the pads as possible without anything in between that could possibly affect the SWD signals somehow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/533509?ContentTypeID=1</link><pubDate>Wed, 30 Apr 2025 08:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a5c498e-ca9e-437f-a9d9-57376be14299</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t&amp;nbsp;solder directly to our board, as the pads are tiny, but I used PCBite&amp;nbsp;SP10 probes, and this worked flawlessly. It shouldn&amp;#39;t make a difference whether I solder wires onto the PCB or probe it, should it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/532312?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 10:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9740dbb2-ebc0-4476-9937-0923b8bedcc0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When connecting directly to the board, did you solder wires to the SWD pads? Can you explain in more detail how you did this?&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: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/532125?ContentTypeID=1</link><pubDate>Thu, 17 Apr 2025 13:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ecac1b-17cc-48d9-8ed6-8d3a5ad8dd1b</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i thought it could be the switch as well, but when I desoldered it and just connected&amp;nbsp;the lines directly it didn&amp;#39;t work either.&lt;/p&gt;
&lt;p&gt;Great question, but unfortunately I&amp;#39;ve tried it with many boards, none worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/530791?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 11:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8efb05e5-a55e-4097-9844-26ab45ae7b0e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As you have described it, this issue is very strange.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can program the board once you connect directly to the pads then we can assume that this issue is external to the chip. What exactly is causing this is not easy to say, could this be caused by the programming switch somehow?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it has already been mentioned but do you see this issue on multiple boards or only 1?&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><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/530547?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 07:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f7394c2-8471-48f3-b2e3-f760810cab0c</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;Thanks for your reply. I thoroughly tested every pin for a short - to no avail. Yes we&amp;#39;re using a battery, but I also tried supplying the board with 5V via USB, still doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/529499?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 12:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2affb0a1-59f3-44b1-89d6-5fc6793c1457</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lepold,&amp;nbsp;&lt;br /&gt;Jared is away this week and will be back next week.&amp;nbsp;&lt;br /&gt;My understanding is that when you connect the programmer to the board with cable instead of connecting directly to the header it worked.&amp;nbsp;&lt;br /&gt;You would need to take a deeper look into the header you use. Is there any chance that something is shorted ?&lt;br /&gt;Test on all single pin to see if any thing is shorted.&amp;nbsp;&lt;br /&gt;My personal experience with SWD is that it&amp;#39;s not a high speed communication so it&amp;#39;s quire resilient to interference so more chance that there is something shorted somehow.&amp;nbsp;&lt;br /&gt;Please also try supply the board/chip with external power supply. I assume you are using a battery ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/528859?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bdc01e4-2d61-4110-8683-bd6f30753b67</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;Thank you for the clarification! When connecting to the SWD pads directly, I can consistently program the chip. I can&amp;#39;t really provide you with traces, because as soon as I probe the line, it doesn&amp;#39;t work program anymore..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/527401?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 14:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3b1059-775e-46f0-b743-b0628e52af32</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the confusion. To be clear, I&amp;#39;m interested in knowing whether this is an issue with your PCB design or it&amp;#39;s an issue with the IC itself. Based on your description, it seems like the issue is due to PCB design, but to be sure I wanted you to connect directly to the SWD pads and see if you are able to program the chip consistently .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would also be interesting if you could provide trace of SWDIO, and SWDCLK when it works versus when it doesn&amp;#39;t work. Is there any obvious change in the CLK or data signal?&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><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/527251?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 16:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:998d511a-0a0b-4504-9903-6594b67bf4ef</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I&amp;#39;m correctly understanding what you&amp;#39;re referring to. Soldering wires to the &lt;span&gt;nRF5340&lt;/span&gt; directly onto the debugging PCB? Or trying whether I can program it at all? Because this works, just not with this custom PCB. Could you please clarify what I can try? Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/526947?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 13:31:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdefab47-d2b3-44b2-af30-6c07afb23d82</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you try to solder some wires that is connected directly to the pads of the nRF5340 + VDD and GND and see if you are able to program it?&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><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/526326?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2025 11:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0dd987-100d-4bb8-96f9-360c851d39db</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;We can keep this public, it&amp;#39;s an open source project anyway. I&amp;#39;ve attached the schematics and gerber files. Please let&amp;nbsp;me know when you need anything else. The board we&amp;#39;re trying to flash also has a DSP, that&amp;#39;s why we have this switch on the debugging PCB. But that should not cause any problems, right?&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/Screenshot-2025_2D00_03_2D00_07-at-11.54.25.png" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Debugging_5F00_PCB.zip"&gt;devzone.nordicsemi.com/.../Debugging_5F00_PCB.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/526324?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2025 10:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e889c8c2-41a3-485f-a5d1-49e6992c1db9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you share the schematics and layout files? You can share it as a PDF and Gerber files.&lt;/p&gt;
&lt;p&gt;I can make the case private first if you prefer it.&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><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/526313?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2025 09:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14115127-498f-44e7-867e-196da49ea033</guid><dc:creator>lepold</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried different programmers to no avail, but we only have EDU programmers because I&amp;#39;m working at&amp;nbsp;a university. JLink shows VTref=1.812V, both on the older debugging PCB that works, and on the new PCB design that doesn&amp;#39;t work. I also tried J-Link EDU Mini V2 with jumper wires: here the debugging PCB doesn&amp;#39;t work either, whereas with the &amp;quot;normal&amp;quot; J-Link EDU it works with the exact same cables etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming Custom nRF5340 PCB via J-Link Interface defies laws of physics?</title><link>https://devzone.nordicsemi.com/thread/526246?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2025 17:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efc2a17e-46f6-4530-9d71-796cdf8419aa</guid><dc:creator>d2sc</dc:creator><description>&lt;p&gt;Have you tried with a different programmer? What is the voltage Jlink is reporting from the target device? I have had issues with the edu programmers before that went away when I switched to the commercial ones.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>