Just wanted to ask a short question about the following:
On our custom board we have nRF52840 device with 1Gb (128MB) external QSPI flash memory.
What would be the best and more efficient way to initially load data (about 110MB) into external QSPI flash?
As far as I know, the options are to transfer data over USB or by using nrfjprog --program targeting XIP region (together with the configuration settings in QspiDefault.ini)
Which of those methods would transfer my data faster?
Thanks in advance for your time and effort.
I think you would be able to achieve similar speeds with both options.
One of our developers have achieved ~700 KB/s during testing with USB MSC example. The SWD interface of nRF52840 have a maximum specification of 8 MHz frequency on SWDCLK pin.
Note that to utilize frequency of 8 MHz on SWD interface, you will have to use a J-Link model that support this high frequency. The J-Link OB on the DK (ATSAM3U2C) is only rated at 3.2 MHz.