nRF5 SDK v17.1.0
QSPI bootloader Example
This information applies to the nRF52840 SoC only.

The QSPI Bootloader Example is part of the XiP solution and demonstrates the use of the QSPI peripheral with memory mounted on a development kit in XiP mode. It uses the QSPI driver - legacy layer. The application initializes the QSPI peripheral, sends configuration commands to the memory, and jumps to XiP address 0x12000000.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\qspi_bootloader

Testing

Test the QSPI Bootloader Example application by performing the following steps:

  1. Compile and program the XiP application. See more in Compiling and running an example from the QSPI using XiP.
  2. Compile and program the bootloader application.
  3. Start a terminal emulator like PuTTY and connect to the used COM port with the following UART settings:
    • Baud rate: 115.200
    • 8 data bits
    • 1 stop bit
    • No parity
    • HW flow control: None
  4. Observe logs on a terminal.
  5. Additionaly, a logic analyzer can be used to trace the trasmission. Remember to set lower frequency when using additional tools, because additional wires can cause data distortion.

Documentation feedback | Developer Zone | Subscribe | Updated