While adding support for USB OTG2 on NuttX for iMXRT1050-EVK I end-up flashing a firmware that make the board stops to work, similar to this error here.
I tried many alternatives to recover the board, but nothing seems to work (and that motherfucker MCUBootUtility, that required me to turn on an old laptop with windows, wasn’t working). But the solution was in that link above.
I changed the SW7 to 1-OFF, 2-ON, 3-OFF, 4-ON and turned ON the board with SW4 button pressed to enter in MAINTANENCE mode and copied the k20dx_mimxrt1050_evk_hyper_if_crc.bin to it. And magically it worked.
This binary is here: https://www.nxp.com/downloads/en/initialization-boot-device-driver-code-generation/k20dx_mimxrt1050_evk_hyper_if_crc_20180419.zip