how to debug csec function use jlink gdbsever

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

how to debug csec function use jlink gdbsever

Jump to solution
276 Views
top
Contributor I

hi

  we enable csec function and write key in CSEC_KEY_1,then debug the app use jlink gdbsever,so mcu is locked.

  how to debug csec function use jlink gdbsever ,must be erase all csec key?

Tags (1)
0 Kudos
Reply
1 Solution
256 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @top 

I just answered similar question here:

https://community.nxp.com/t5/S32K/S32K142%E4%BD%BF%E7%94%A8CSEc%E5%8A%9F%E8%83%BD%E8%8A%AF%E7%89%87%...

Yes, it's necessary to erase the keys (disable CSEc) by CMD_DBG_CHAL and CMD_DBG_AUTH commands with knowledge of MASTER_ECU_KEY. Or use different debug probe (like Pemicro)

Regards,

Lukas

View solution in original post

0 Kudos
Reply
1 Reply
257 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @top 

I just answered similar question here:

https://community.nxp.com/t5/S32K/S32K142%E4%BD%BF%E7%94%A8CSEc%E5%8A%9F%E8%83%BD%E8%8A%AF%E7%89%87%...

Yes, it's necessary to erase the keys (disable CSEc) by CMD_DBG_CHAL and CMD_DBG_AUTH commands with knowledge of MASTER_ECU_KEY. Or use different debug probe (like Pemicro)

Regards,

Lukas

0 Kudos
Reply