MIMXRT1061CVL5B: Run Debugging Session from QSPI NOR Flash

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

MIMXRT1061CVL5B: Run Debugging Session from QSPI NOR Flash

ソリューションへジャンプ
1,263件の閲覧回数
Lukaz
Contributor III

Hello,
I intend to use the MCU MIMXRT1061CVL5B, and now I am examining its compatibility with the product's functions using the MIMRT1060-EVKB. One limitation that I have is the use of the OpenSDA, therefore I checked if I can boot the external flash with the USB-OGT and I was successful to do so using the flashloader with the elftosb and the MfgTool2. My question is, as in the development phase I need to run debugging sessions, how is it possible to do so from the external QSPI NOR Flash?
You can also simply refer me to sources that explain such things.

Thank you in advance.

0 件の賞賛
返信
1 解決策
1,260件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Lukaz ,

  If you need to debug the RT1061, you need the debugger at first.

  If you are using the MIMXRT1060-EVKB board, it has the on board debugger directly, you can connect the opensda USB port, then the default debugger is CMSIS-DAP, you can open the SDK project, then debug it directly, the board need to enter the internal boot mode.

  If you are using the customer board, you need to find an external debugger, eg, Segger JLINK, then through the SWD to debug the chip project.

  We also have the application which may useful to you:

https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf

Wish it helps you!

Best Regards,

kerry

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,261件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Lukaz ,

  If you need to debug the RT1061, you need the debugger at first.

  If you are using the MIMXRT1060-EVKB board, it has the on board debugger directly, you can connect the opensda USB port, then the default debugger is CMSIS-DAP, you can open the SDK project, then debug it directly, the board need to enter the internal boot mode.

  If you are using the customer board, you need to find an external debugger, eg, Segger JLINK, then through the SWD to debug the chip project.

  We also have the application which may useful to you:

https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf

Wish it helps you!

Best Regards,

kerry

0 件の賞賛
返信
1,242件の閲覧回数
Lukaz
Contributor III

Hi Kerry,

when I run the debugger session I get this message and I press yes to proceed and the debugging session works fine image.png

but I was wondering if you have any idea why am I getting this message (below is the error message from the debug log) 

Lukaz_0-1652267027136.png

 

Thanks

0 件の賞賛
返信
1,231件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Lukaz ,

   As I know, it is related to the IJET, as when I use the CMSIS DAP debugger, which is the RT1060-EVK default debugger in the IAR, it doesn't have this issues.

  So, you can ignore that issue, just use it.

  If you have any other issues, welcome to create the new question post.

Best Regards,

kerry

1,248件の閲覧回数
Lukaz
Contributor III

Thank you, it worked fine with me using I-JET debugger.
Just some points to clarify the solution. I have not disconnected any jumper from the board, I have connected J1 3-4 to use the USB-OTG port for power. The important thing was the debugger configurations (see screenshots below)image.png