<?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 nrfjprog to program the QSPI flash with XIP address in hex file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42733/using-nrfjprog-to-program-the-qspi-flash-with-xip-address-in-hex-file</link><description>I am trying to flash a hex file with the XIP address offset into the QSPI flash(MX25U25645G) by nrifprog, the memrd command is working since I can read the data that the firmware wrote into it. However, when I use command - nrifprog --family nrf52 --program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Jan 2019 15:44:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42733/using-nrfjprog-to-program-the-qspi-flash-with-xip-address-in-hex-file" /><item><title>RE: Using nrfjprog to program the QSPI flash with XIP address in hex file</title><link>https://devzone.nordicsemi.com/thread/168923?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 15:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aaf0026-929f-427b-962f-136efecba705</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Do you see the same flash content if you read QSPI to file using &amp;#39;nrfjprog&amp;nbsp;--readqspi &amp;lt;file&amp;gt;&amp;#39; command?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfjprog to program the QSPI flash with XIP address in hex file</title><link>https://devzone.nordicsemi.com/thread/166922?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 15:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7393686f-7a09-4875-84d4-c4dc32e59789</guid><dc:creator>DM</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bootloader_5F00_dk_5F00_spi_5F00_address.hex"&gt;devzone.nordicsemi.com/.../bootloader_5F00_dk_5F00_spi_5F00_address.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7080.log.log"&gt;devzone.nordicsemi.com/.../7080.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/QspiDefault.ini"&gt;devzone.nordicsemi.com/.../QspiDefault.ini&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just have the DK tested and I got the same result, the files are attached.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nrfjprog -s 17935099 --program bootloader_dk_spi_address.hex --qspisectorerase --log&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Parsing hex file.&lt;br /&gt;Reading flash area to program to guarantee it is erased.&lt;br /&gt;Initializing the QSPI peripheral.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Erasing external memory pages.&lt;br /&gt;Uninitializing the QSPI peripheral.&lt;br /&gt;Checking that the area to write is not protected.&lt;br /&gt;Programming device.&lt;br /&gt;Initializing the QSPI peripheral.&lt;br /&gt;WARNING: An operation that can take up to several minutes is being executed.&lt;br /&gt;WARNING: Please remain patient.&lt;br /&gt;Uninitializing the QSPI peripheral.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;nrfjprog -s 17935099 --memrd 0x12100000 --w 32 --n 2000&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;0x12100000: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100010: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100020: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100030: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100040: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100050: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100060: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100070: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100080: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100090: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000A0: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000B0: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000C0: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000D0: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000E0: 00000000 00000000 00000000 00000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x121000F0: 00000000 00000000 00000000 FF000000&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100100: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100110: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100120: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100130: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100140: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;br /&gt;0x12100150: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF&amp;nbsp;&amp;nbsp; |................|&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfjprog to program the QSPI flash with XIP address in hex file</title><link>https://devzone.nordicsemi.com/thread/166838?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 12:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0e56c62-f266-48cf-b386-1a3de7bea1b3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tested the same commands with the flash on the nRF52840 DK? Can you share the complete hex-file you used for testing this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nrfjprog to program the QSPI flash with XIP address in hex file</title><link>https://devzone.nordicsemi.com/thread/166589?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 18:18:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8fe83c6-2043-4a1d-a422-faf0b626e9b4</guid><dc:creator>DM</dc:creator><description>&lt;p&gt;Added information, I am using MX25U25645G flash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>