You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/nrf/app_dev/device_guides/nrf53/qspi_xip_guide_nrf5340.rst
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,28 +203,21 @@ Programming the project
203
203
***********************
204
204
205
205
For the nRF5340 DK and other boards equipped with flash working in the QSPI mode, use the :ref:`standard programming command <programming>` (``west flash``).
206
-
For other cases, set up a configuration file for nrfjprog, as described in the following section.
207
-
208
-
.. note::
209
-
|nrfjprog_deprecation_note|
206
+
For other cases, set up a configuration file for `nRF Util`_, as described in the following section.
210
207
211
208
Programming to external flash in SPI/DSPI mode
212
209
==============================================
213
210
214
-
Programming an application with west triggers the nrfjprog runner.
211
+
Programming an application with west triggers the nRF Util runner.
215
212
The runner uses the default system settings that configure the application in the QSPI mode when programming the external flash.
216
-
You can change this behavior by using a custom :file:`Qspi.ini` configuration file.
213
+
You can change this behavior by using a custom :file:`Qspi.json` configuration file.
214
+
This file is used to set up the QSPI flash device and its parameters.
217
215
218
216
.. note::
219
-
The :file:`Qspi.ini` file is required to work on the Nordic Thingy:53.
220
-
221
-
This file can specify the mode to use when programming the QSPI flash.
222
-
For example, the following code is from the file for the Thingy:53 and uses ``PP`` for programming and ``READ2IO`` for reading:
The :file:`Qspi.json` file is required to work on the Nordic Thingy:53.
218
+
Its QSPI configuration is different from the default one, for example, it uses the ``PP`` command for programming and ``READ2IO`` for reading.
226
219
227
-
To use this file automatically in a project, update the ``CMakeLists.txt`` file by :ref:`adding the mention of the new file <modifying_files_compiler>`.
220
+
To use such a file automatically in a project, update the ``CMakeLists.txt`` file by :ref:`adding the mention of the new file <modifying_files_compiler>`.
228
221
This way, the file can be applied globally for every board built with a project or applied to specific boards if a project supports multiple board targets, each with different configurations.
229
222
The following code shows how to set the configuration file used when flashing the Thingy:53 only.
230
223
@@ -238,7 +231,7 @@ The following code shows how to set the configuration file used when flashing th
238
231
macro(app_set_runner_args)
239
232
if(CONFIG_BOARD_THINGY53_NRF5340_CPUAPP)
240
233
# Use alternative QSPI configuration file when flashing Thingy53
0 commit comments