[SOLVED] QSPI Flash on custom IMXRT1021 board

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] QSPI Flash on custom IMXRT1021 board

    Hi there,

    I have an IMXRT 1021 144-pin version board with QSPI connected on the secondary pinmux option (i.e. BOOT_CFG[2:1]=111b). I cannot get the flash to erase or program in this configuration using JTrace and V6.43c. I don't see anything obvious wrong in my wiring or configuration.

    Is the IMXRT1021 flash utility set up to recognise the connection of the flash chip? If so, how do I configure it? If not, can it be added?


  • Well, this one didn't get much love, did it?

    The answers to the questions are; JLinkExe does support the secondary pinmux (it's transparent to the debugger) provided you've booted through the ROM to configure the chip. To erase the flash you need to execute 'exec EnableEraseAllFlashBanks' before the 'erase' command. I can't say which chips it supports but it certainly works with the IS25LP064A as found on the 1021-EVK.

    What I haven't figured out yet is how to reflash the application from the GDBServer. It clams to have done it, but certainly hasn't. So, let's change the questions slightly; Can someone please tell me how I erase/program the QPSI flash on an imxrt1021 using GBDServer and arm-none-eabi-gdb? I can't figure that one out.....


  • Hello Dave,

    Thank you for your inquiry.
    Please be aware that this is no official support forum so there is no guarantee to receive a response here. If you are entitled to support see my signature for more information.

    dmarples wrote:

    I can't say which chips it supports but it certainly works with the IS25LP064A as found on the 1021-EVK.
    A list with supported Flash chips can be found here:

    Just noticed that we received your inquiry in our Supportsystem in parallel as well where the issue got solved.
    This thread will be closed now to avoid double information.

    Best regards,
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support contact us per e-mail.
    Alternatively our support system can be used as well: segger.com/ticket/