[SOLVED] Debug i.MX RT1051 using J-Link when FW is loaded from QSPI to ITCM

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

  • [SOLVED] Debug i.MX RT1051 using J-Link when FW is loaded from QSPI to ITCM

    I am able to build a firmware that resides in QSPI and that is loaded into ITCM from the ROM bootloader at startup.

    What happens, for example on the EVKB, is that J-Link correctly writes the FW in QSPI flash then sets the program counter at the entry point.
    Unfortunately, in this way, what is being executed is not the firmware just written, but the one that was running before writing, because the RAM is not touched by J-Link. It should be the ROM bootloader that populates the RAM.

    I would like to have J-Link, once the FW is written in QSPI, trigger the ROM bootloader. I'm trying to write a script without success.
    How can I do that?

    best regards
  • Hello Max,

    we received your inquiry via Ticket system as well.
    This thread will be closed now to keep all information in one place.

    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 you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.