External flash

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,

Xu

Parents
  • I would say it can't be done. Looking at the schematic (I admit that it isn't a hard look), but the flash doesn't appear connected to the JLINK cpu on the board. 
    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.

    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.
    If the nrfjprog program can do this, I am just unaware of it.

    AAM

  • Read the documentation for nrfjprog.

    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.

Reply Children
Related