<?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 nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87547/programming-nrf52-socs-with-nrf5340-dk</link><description>Hi, I want to eventually be able to programme a custom built chip with an nRF52833 SoC on board, but first I thought I would try with a nordic Thingy:52. My setup is as follows: Computer (Windows with nRF connect v3.11.0) &amp;lt;---&amp;gt; nRF5340 DK &amp;lt;---JTag---</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 May 2022 08:49:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87547/programming-nrf52-socs-with-nrf5340-dk" /><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/367339?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 08:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9bd9e0a-e884-4812-9034-8c1db0f6f55a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Happy to hear!&lt;/p&gt;
[quote user="Devuser101"] Does USB power interfere with the signal somehow?[/quote]
&lt;p&gt;&lt;span&gt;In the&amp;nbsp;&lt;/span&gt;&lt;span&gt;USB&lt;/span&gt;&lt;span&gt;&amp;nbsp;position, the USB high voltage regulator gets power from the&amp;nbsp;&lt;/span&gt;&lt;span&gt;nRF5340&lt;/span&gt;&lt;span&gt;&amp;nbsp;USB connector (&lt;/span&gt;&lt;span&gt;J3&lt;/span&gt;&lt;span&gt;). This powers the nRF5340 SoC and not the Interface MCU directly, which runs&amp;nbsp;SEGGER J-Link OB interface firmware and is used to program the nRF5340 or devices via P19.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As&amp;nbsp;noted&amp;nbsp;in the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_out.html"&gt;Debug Out chapter of nRF5340DK HW Description&lt;/a&gt;:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;strong&gt;Note&lt;/strong&gt;:&lt;/span&gt;&amp;nbsp;The voltage supported by external debugging/programming is VDD voltage. Normally, this is 3 V when running from USB. But if the onboard&amp;nbsp;&lt;span&gt;nRF5340&lt;/span&gt;&amp;nbsp;SoC is supplied from either USB or lithium-ion (Li-ion) and the nRF power source switch (&lt;span&gt;SW9&lt;/span&gt;) is in either&amp;nbsp;&lt;span&gt;Li-Po&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span&gt;USB&lt;/span&gt;&amp;nbsp;position, then the VDD can be set by the&amp;nbsp;&lt;span&gt;nRF5340&lt;/span&gt;&amp;nbsp;firmware. Make sure the &lt;/span&gt;&lt;span&gt;voltage level of the external board matches the VDD of the&amp;nbsp;&lt;span&gt;nRF5340 DK&lt;/span&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Hope this clears the confusion &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366724?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 12:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9787a24-7f70-440d-95c5-52768dfcd085</guid><dc:creator>Shaun Brentnall</dc:creator><description>&lt;p&gt;Ahh that worked! Thank you very much, and I apologise for the silly question. Does USB power interfere with the signal somehow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366687?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 10:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f811ca6-17e0-4649-90b4-c79e0fe32ca9</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Could you please disconnect the nRF USB and set nRF Power Source to VDD?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366639?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 09:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:674a3e46-9458-4d96-9fd1-242467dc6cf6</guid><dc:creator>Shaun Brentnall</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&lt;br /&gt;&lt;br /&gt;here is the setup of the hardware I&amp;#39;m using&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/20220506_5F00_104958.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;I&amp;#39;ve tried a second thingy:52 and a few different JTAG connectors. The same errors as before appear.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could it be a problem that the Jlink versions are different?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/jlink-dll.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366622?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 08:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8afdca7a-4fe2-480b-99d8-14333842c5cb</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Can you please provide an image of your setup?&amp;nbsp;&lt;/p&gt;
[quote user="Devuser101"]And when it&amp;#39;s connect by Jtag, it just say Jtag with unknown in the field to the right.&amp;nbsp;[/quote]
&lt;p&gt;Can there be an issue with you JTAG cable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366258?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 13:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9942796f-816d-4364-a1d5-b86e3989f141</guid><dc:creator>Shaun Brentnall</dc:creator><description>&lt;p&gt;When the nRF5340DK isn&amp;#39;t connected to the Thingy:52, it does show up as a DK.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6378.nrf3.png" /&gt;&lt;/p&gt;
&lt;p&gt;And when it&amp;#39;s connect by Jtag, it just say Jtag with unknown in the field to the right.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3225.nrf2.png" /&gt;&lt;/p&gt;
&lt;p&gt;And for the two commands in cmd, they are here. Only the nRF52340 identity number shows up as a connected device. And I can programme DK via nrfjprog, but not the Thingy:52.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1172.nrf.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366247?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:56:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43f7421-37f1-4119-8f67-4e040df72ca6</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Can you also issue&amp;nbsp;&lt;span&gt;nrfjprog -v ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366245?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32c98c61-f128-4461-857d-0db53c35c00b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;In the programmer app, the nRF5340DK should show as a DK. I finally found my kit and tested:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651668829429v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What happens if you issue command nrfjprog --ids in cmd? Are you able to program the device using nrfjprog?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366221?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd6aafd2-8ff6-4755-ba0a-a3c2daf17b15</guid><dc:creator>Shaun Brentnall</dc:creator><description>&lt;p&gt;Yeah, the Thingy:52 is on, I made sure to check that. Though it wouldn&amp;#39;t have surprised me.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;nRF5340 devkit version: 1.0.0&lt;br /&gt;Thingy:52 version: 1.1.2&lt;br /&gt;&lt;br /&gt;Could there be some compatibility issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366195?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 11:31:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fea414a-0643-449e-8d17-a84b5af7d6ba</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;What version of the nRF5340DK and the Thingy:52 do you have? Both should be visible on the stickers.&lt;br /&gt;&lt;br /&gt;The right hand side does show Unknown. Is the Thingy:52 powered on?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366185?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 11:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa54f1c3-5776-41ff-bbd5-0e738410464d</guid><dc:creator>Shaun Brentnall</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind, thank you for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, it was a connection between P19 and and the 10 pin port on the thingy:52.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; I was trying&amp;nbsp;toolchain manager actually. But I tried with the Programmer app as you said, and it does detect that there is a device there but it still can&amp;#39;t write to it. When I try to it returns a &amp;quot;JLINKARM_DLL_ERROR&amp;quot;. I tried updating Segger JLink (from V7.58b to V7.64d), but I still get an error &amp;quot;Unsupported device. The device could not be recognised as neither JLink device nor Nordic USB device.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/jlink_5F00_error.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52 SoCs with nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/366103?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 06:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dc1cb59-6413-4045-a09a-32ba51057438</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Computer (Windows with nRF connect v3.11.0) &amp;lt;---&amp;gt; nRF5340 DK &amp;lt;---JTag---&amp;gt; Nordic Thingy:52[/quote]
&lt;p&gt;This sounds correct. To what port have you connected the JTAG debug probe?&amp;nbsp;You should be able to automatically program the Thingy:52 if connected to P19, &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_out.html"&gt;see Debug Output in the nRF5340DK documentation&lt;/a&gt;. Make sure that the device is powered.&lt;/p&gt;
&lt;p&gt;Are you using the Programmer app in nRF Connect for Dekstop 3.11.0 ? If so, choose the nRF5340DK and the device name from Thingy:52 should be visible in the left hand side. Here I&amp;#39;ve used the nRF9160DK to program the Thingy:52 with a zephyr.hex.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/DZ_5F00_screenshot.png" /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>