<?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>External flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111342/external-flash</link><description>Hello！ 
 I am using the development board of NRF5340DK, I found an external flash (MX25) on it, I want to know how to program the external flash through the onboard jlink, is there any script can be programmed through the jlink command line? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Dec 2024 09:19:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111342/external-flash" /><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/515236?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2024 09:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ac7ecb-8822-425f-98c8-be0b43c26d86</guid><dc:creator>Carolyne Russel</dc:creator><description>&lt;p&gt;How can you develop a loader program for the microcontroller, and what considerations should you keep in mind regarding the serial stream protocol and compatibility with existing tools like nrfjprog? &lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://101games.io"&gt;101 games&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484945?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 01:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:060ebdad-dfcf-4919-afa7-b8fef9aecc19</guid><dc:creator>XCJ</dc:creator><description>&lt;p&gt;&amp;nbsp;I would like to ask how to configure the register to access the external flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484934?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 15:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01328d5-f947-453b-a39c-b1a6446ed028</guid><dc:creator>AMarch</dc:creator><description>&lt;p&gt;Also, Xu, please excuse me for jumping in with a not correct answer. Thank you Turbo J.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484933?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 15:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75818048-1a25-4387-9ca2-1b7c29d0c444</guid><dc:creator>AMarch</dc:creator><description>&lt;p&gt;Ah, so jlink can control the QSPI pins through the control registers directly? I mean, I suppose since all the i/o is memory, using jlink to program the QSPI pins can be done. It just didn&amp;#39;t occur to me.&lt;br /&gt;My fault.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484931?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 15:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f66f9b-0874-464a-a582-002a8db46748</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Read the documentation for nrfjprog.&lt;/p&gt;
&lt;p&gt;It knows the MCU and you can tell it how the QSPI is connected. Then it can talk to the memory chip via SWD through the NRF MCU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484927?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 13:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1df7f9-0d8f-40c6-ab8b-6dda9180fa8a</guid><dc:creator>AMarch</dc:creator><description>&lt;p&gt;I would say it can&amp;#39;t be done. Looking at the schematic (I admit that it isn&amp;#39;t a hard look), but the flash doesn&amp;#39;t appear connected to the JLINK cpu on the board.&amp;nbsp;&lt;br /&gt;That said, the pins for the QSPI seem to be brought out to the P24 pins, which suggests you might be able hook an external programmer to these and program it.&lt;br /&gt;&lt;br /&gt;I would accomplish this by creating a loader program (from some example) and program it using some serial stream protocol. This all needs to be made by you.&lt;br /&gt;If the nrfjprog program can do this, I am just unaware of it.&lt;br /&gt;&lt;br /&gt;AAM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External flash</title><link>https://devzone.nordicsemi.com/thread/484926?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 13:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5f2a9c-0f11-4b99-8b14-f037214e588c</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The nrfjprog command line tool should be able to program this flash via JLink.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>