<?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 custom nRF5340 board with nRF5340DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101350/unable-to-flash-custom-nrf5340-board-with-nrf5340dk</link><description>Hello, 
 I am developing firmware for a custom board using the nRF5340. I have found that I am unable to flash the custom board when using the nRF5340DK as the JTAG device. I am able to flash successfully if I use a SEGGER JLink. 
 Some pertinent specs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jul 2023 20:25:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101350/unable-to-flash-custom-nrf5340-board-with-nrf5340dk" /><item><title>RE: Unable to flash custom nRF5340 board with nRF5340DK</title><link>https://devzone.nordicsemi.com/thread/437740?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 20:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6344cc2-ec65-416f-af0c-47d893ac4edb</guid><dc:creator>Matt M</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;We revisited the steps you outlined and were successful with flashing our board. I am unsure where we went wrong previously, but the following specific sequence of steps works for us every time:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Start with the nRF5340DK board unpowered and unconnected to anything.&lt;/li&gt;
&lt;li&gt;Set the nRF POWER SOURCE switch on the DK board to USB.&lt;/li&gt;
&lt;li&gt;Connect our custom board to the Debug Out connection.&lt;/li&gt;
&lt;li&gt;Power on our custom board.&lt;/li&gt;
&lt;li&gt;Plug a USB cable into nRF USB connection and set the DK&amp;#39;s POWER switch to ON.&lt;/li&gt;
&lt;li&gt;Plug a USB cable into the J2 USB connector.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;From there the DK board was recognized as a JTAG device, and we were able to erase and flash our board as normal.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash custom nRF5340 board with nRF5340DK</title><link>https://devzone.nordicsemi.com/thread/435055?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 15:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a73ccca8-1a25-43ed-bba5-f69d5391c5d4</guid><dc:creator>Matt M</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;Thank you for your response. We tried the steps you outlined, but were still unsuccessful. We will be trying a level translator next.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash custom nRF5340 board with nRF5340DK</title><link>https://devzone.nordicsemi.com/thread/433909?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 11:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd758da8-638b-4b05-9dac-8ec37ed658d0</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem is that the custom PCB is running 1.8V while the DK is running 3,3V.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you can try to do is the following:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Connect a usb to both J2 and NRF_USB&lt;/li&gt;
&lt;li&gt;Switch from &amp;quot;VDD POWER&amp;quot; to &amp;quot;USB SOURCE&amp;quot; on SW9&lt;/li&gt;
&lt;li&gt;Power up the DK&lt;/li&gt;
&lt;li&gt;Enjoy 1.8V debugging&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If not I would put a level shifter between the DK and the custom PCB&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>