Hi,
I downloaded a rt1021 program to external norflash IS25L064D successfully,
but the program can not run.What is the problem ?
The NXP-MCUBootUtility can download the program to boards,and the program runs well.
Does the rt1021 can not use JFlash download program?
Hi,
The JFlash code is same as the code used in MCUBootUtility .
Though the J-link firmware is not genuine,but when I use MDK Jlink debug it works as well as MDK Jlink download .
Hi rotato,
Do you add the XIP header in your application firmware?
XIP_BOOT_HEADER_ENABLE=1
XIP_EXTERNAL_FLASH=1
If you are not sure, you can generate your app project to the firmware .srec or .s19, and attach it, I will help you to check it.
Best Regards,
kerry
Hi rotato,
Please try my attached app code, then use the Jflash again, I can make it works on my side with the Segger JLINK plus:
Code function is led blinking.
Please also note, when you use the external JLINK, you need to remove the MIMXRT1020-EVK on board J25-J28.
Please try it, at least, it works on my side now.
Best Regards,
Kerry
Hi rotato,
When you use the JFlash download the code, do you use the same app as the MCUBootUtility?
If yes, then the Jflash may really have issues, do you use the Segger JLINK with the genuine version?
BTW, do you use the JLINK debug your project, whether that download works or not?
Best Regards,
KERRY
Hi,
The JFlash code is same as the code used in MCUBootUtility .
Though the J-link firmware is not genuine,but when I use MDK Jlink debug it works as well as MDK Jlink download .