<?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>Using nRF5340 with openOCD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105322/using-nrf5340-with-openocd</link><description>I&amp;#39;m working on a new project in which I will require flashing code on RF5340 from raspberry pi4 using openOCD via SWD pins , from what i can tell from a quick search is that openOCD doesn&amp;#39;t specifically support this nordic chip , if anyone can advise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Nov 2023 13:56:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105322/using-nrf5340-with-openocd" /><item><title>RE: Using nRF5340 with openOCD</title><link>https://devzone.nordicsemi.com/thread/454480?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 13:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eac51cb-3741-4525-a871-38c74e111dec</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The hardware connection is the same.&amp;nbsp;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a title=" Debug out for programming external boards" href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_out_segger53.html?cp=4_0_4_4_9"&gt;Debug out for programming external boards&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For programming software, you can use nrfjprog by installing the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download?lang=en#infotabs"&gt;nRF Command Line Tool&lt;/a&gt;. Also check the following posts:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80874/nrfjprog-not-working-on-raspberry-pi-4"&gt;nrfjprog not working on raspberry pi 4&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82323/pynrfjprog-not-working-on-raspberry-pi-4"&gt;pynrfjprog not working on Raspberry Pi 4&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340 with openOCD</title><link>https://devzone.nordicsemi.com/thread/454444?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 12:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff35195-5693-4d46-9d70-ee875cf68f2e</guid><dc:creator>Anassoumi</dc:creator><description>&lt;p&gt;Thanks for your answer , I&amp;#39;m using a custom board with nRF5340 chip , will be programmed using the nRF5340DK , is there any guide on connecting the DK with the raspberry pi 4 to flash the nRF chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF5340 with openOCD</title><link>https://devzone.nordicsemi.com/thread/453970?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 12:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4921e29a-1f7a-4e0f-b5cc-8f6c1e0be9ef</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]from what i can tell from a quick search is that openOCD doesn&amp;#39;t specifically support this nordic chip[/quote]
&lt;p&gt;That&amp;#39;s correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What nRF5340 device are you using? Custom board or nRF5340DK? If it&amp;#39;s nRF5340DK, it already has an onboard debugger. so, It doesn&amp;#39;t need an extra debugger. If it&amp;#39;s a c&lt;span&gt;ustom board&lt;/span&gt;&amp;nbsp;that needs a debugger, you could use&amp;nbsp;&lt;span&gt;nRF5340DK. See&amp;nbsp;&lt;a title=" Debug out for programming external boards" href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_dk/UG/dk/hw_debug_out_segger53.html?cp=4_0_4_4_9"&gt;Debug out for programming external boards&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>