J-Flash download rt1021 program problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

J-Flash download rt1021 program problem

1,471件の閲覧回数
rotato
Contributor II

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?

 
 

QQ图片20210302111923.png

 

0 件の賞賛
返信
6 返答(返信)

1,452件の閲覧回数
rotato
Contributor II

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  .

0 件の賞賛
返信

1,434件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,426件の閲覧回数
rotato
Contributor II

Hi,

Of course I have set 

  XIP_BOOT_HEADER_ENABLE=1

 XIP_EXTERNAL_FLASH=1

in my program.

I attached it,thanks for helping!

0 件の賞賛
返信

1,420件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

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:

image.png

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.

image.png

Best Regards,

Kerry

0 件の賞賛
返信

1,463件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,439件の閲覧回数
rotato
Contributor II

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  .

0 件の賞賛
返信