<?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>Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73190/issues-programming-nrf5340-on-a-custom-board</link><description>Hi, 
 I am having issues programming my custom nRF5340 board and was hoping to get some advice on the issue. 
 When programming using nRF Connect for Desktop (Windows 10, nRF Connect v3.6.1, Programmer v1.4.8) I get the error message: 
 Could not fetch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Mar 2021 07:24:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73190/issues-programming-nrf5340-on-a-custom-board" /><item><title>RE: Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/thread/301801?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 07:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc7bbfa-d15c-462c-87d1-f41bd0dbe330</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Then my next question is why you are connecting to the device using Cortex-M4, the nRF53 is a Cortex-M33. Please change the device to corresponding device:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616656526658v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Here is my output from J-Link Commander, &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_in_trace.html"&gt;connected to Debug-In on the nRF5340 DK&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;SEGGER J-Link Commander V6.96 (Compiled Feb 19 2021 09:57:05)
DLL version V6.96, compiled Feb 19 2021 09:55:51

Connecting to J-Link via USB...O.K.
Firmware: J-Link V11 compiled Feb  4 2021 12:59:17
Hardware version: V11.00
S/N: 821002299
License(s): GDB
VTref=3.038V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
J-Link&amp;gt;connect
Please specify device / core. &amp;lt;Default&amp;gt;: NRF5340_XXAA_APP
Type &amp;#39;?&amp;#39; for selection dialog
Device&amp;gt;
Please specify target interface:
  J) JTAG (Default)
  S) SWD
  T) cJTAG
TIF&amp;gt;s
Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz
Speed&amp;gt;
Device &amp;quot;NRF5340_XXAA_APP&amp;quot; selected.


Connecting to target via SWD
ConfigTargetSettings() start
ConfigTargetSettings() end
InitTarget() start
InitTarget() end
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
AP map detection skipped. Manually configured AP map found.
AP[0]: AHB-AP (IDR: Not set)
AP[1]: AHB-AP (IDR: Not set)
AP[2]: MEM-AP (IDR: Not set)
AP[3]: MEM-AP (IDR: Not set)
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)
Found Cortex-M33 r0p4, Little endian.
FPUnit: 8 code (BP) slots and 0 literal slots
Security extension: implemented
Secure debug: enabled
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105900D, PID: 000BBD21 Cortex-M33
ROMTbl[0][1]: E0001000, CID: B105900D, PID: 000BBD21 DWT
ROMTbl[0][2]: E0002000, CID: B105900D, PID: 000BBD21 FPB
ROMTbl[0][3]: E0000000, CID: B105900D, PID: 000BBD21 ITM
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 002BBD21 ETM
ROMTbl[0][6]: E0042000, CID: B105900D, PID: 000BBD21 CSS600-CTI
Cortex-M33 identified.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/thread/301740?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 15:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e4b629-1328-4c01-b580-c852162b7fae</guid><dc:creator>RPDben</dc:creator><description>&lt;p&gt;No, I only received the board today. I am running at +3V and have verified the board is powered (caps around the nRF53 are at +3V) and also that the VTref on J-Link Commander is reading +3V.&lt;/p&gt;
&lt;p&gt;The schematic and board layout have been reviewed by a Nordic engineer.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/thread/301729?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 15:09:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17f24bb2-196c-4135-a489-05cedfdf4e19</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Have you been able to program the board before? What voltage are you running, and have you verified that the board is powered? Have you had any review of the board layout?&lt;br /&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/thread/301711?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 14:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab5ba14a-da68-4d86-8861-e12f3373ff0a</guid><dc:creator>RPDben</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using a Segger J-Link v11.0, this is connected to the board via a TAG-Connect cable wired to SWD.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ben&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues programming nRF5340 on a Custom Board</title><link>https://devzone.nordicsemi.com/thread/301710?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 14:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9b3741-16b0-4077-8be2-563ed9fe1170</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Ben,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;What are you using to program the custom&amp;nbsp;board? How are you connecting the custom board to the programmer?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>