SJC_DISABLE blocking flashing over SWD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SJC_DISABLE blocking flashing over SWD

Jump to solution
1,779 Views
MulattoKid
Contributor IV

Hi,

When blowing the SJC_FUSE on an i.MX RT1060 two things seems to happen:

  1. The debug session I have open over SWD with an MCU-Link connected seems to stop working immediately
  2. I'm unable to start new debug sessions or perform other actions towards the MCU using the MCU-LINK and SWD

While this is OK, I'm wondering if disabling the JTAG interface on the MCU also disables any SWD interactions?

Thanks,
Daniel

Tags (4)
0 Kudos
Reply
1 Solution
1,735 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @MulattoKid ,

Please kindly refer to this pic:

Gavin_Jia_0-1733471598614.png

 

SJC_DISABLE negates both lines, so both are blocked. Either JTAG/SWD or even test control.

 

Bests,
Gavin

View solution in original post

4 Replies
1,736 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @MulattoKid ,

Please kindly refer to this pic:

Gavin_Jia_0-1733471598614.png

 

SJC_DISABLE negates both lines, so both are blocked. Either JTAG/SWD or even test control.

 

Bests,
Gavin

1,732 Views
MulattoKid
Contributor IV

Hi @Gavin_Jia,

Thanks for confirming!
Out of curiosity, where is this picture from?

Kind regards,
Daniel

0 Kudos
Reply
1,727 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @MulattoKid ,

It is from AN12419: Secure JTAG for i.MXRT10xx.

ANs related to security features now require an NDA and a permission request to access them.


Best regards,
Gavin

1,725 Views
MulattoKid
Contributor IV

Thanks!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2007902%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESJC_DISABLE%20blocking%20flashing%20over%20SWD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007902%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWhen%20blowing%20the%20SJC_FUSE%20on%20an%20i.MX%20RT1060%20two%20things%20seems%20to%20happen%3A%3C%2FP%3E%3COL%3E%3CLI%3EThe%20debug%20session%20I%20have%20open%20over%20SWD%20with%20an%20MCU-Link%20connected%20seems%20to%20stop%20working%20immediately%3C%2FLI%3E%3CLI%3EI'm%20unable%20to%20start%20new%20debug%20sessions%20or%20perform%20other%20actions%20towards%20the%20MCU%20using%20the%20MCU-LINK%20and%20SWD%3C%2FLI%3E%3C%2FOL%3E%3CP%3EWhile%20this%20is%20OK%2C%20I'm%20wondering%20if%20disabling%20the%20JTAG%20interface%20on%20the%20MCU%20also%20disables%20any%20SWD%20interactions%3F%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008962%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20SJC_DISABLE%20blocking%20flashing%20over%20SWD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008962%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008958%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20SJC_DISABLE%20blocking%20flashing%20over%20SWD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008958%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227255%22%20target%3D%22_blank%22%3E%40MulattoKid%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EIt%20is%20from%26nbsp%3BAN12419%3A%20Secure%20JTAG%20for%20i.MXRT10xx.%3C%2FP%3E%0A%3CP%3EANs%20related%20to%20security%20features%20now%20require%20an%20NDA%20and%20a%20permission%20request%20to%20access%20them.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20regards%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008936%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20SJC_DISABLE%20blocking%20flashing%20over%20SWD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008936%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203261%22%20target%3D%22_blank%22%3E%40Gavin_Jia%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThanks%20for%20confirming!%3CBR%20%2F%3EOut%20of%20curiosity%2C%20where%20is%20this%20picture%20from%3F%3C%2FP%3E%3CP%3EKind%20regards%2C%3CBR%20%2F%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20SJC_DISABLE%20blocking%20flashing%20over%20SWD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008922%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227255%22%20target%3D%22_blank%22%3E%40MulattoKid%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EPlease%20kindly%20refer%20to%20this%20pic%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Gavin_Jia_0-1733471598614.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Gavin_Jia_0-1733471598614.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F314501i7D1DF5B982291279%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Gavin_Jia_0-1733471598614.png%22%20alt%3D%22Gavin_Jia_0-1733471598614.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESJC_DISABLE%20negates%20both%20lines%2C%20so%20both%20are%20blocked.%20Either%20JTAG%2FSWD%20or%20even%20test%20control.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBests%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%3C%2FLINGO-BODY%3E