Segger Jlink compatibility for Secure Debug/ Lifecycle updates of S32K324

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

Segger Jlink compatibility for Secure Debug/ Lifecycle updates of S32K324

796 Views
anilsp31PA
Contributor III

Hi,

We are using S32K3 and now want to install HSE FW. Can you confirm if Segger JLink supports secure Debug using Challenge/Response authentication. If not then what are the other options?

 

Thanks,

Anil

0 Kudos
Reply
3 Replies

745 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @anilsp31PA 

This is a screenshot from Segger's web https://kb.segger.com/NXP_S32K3xx

lukaszadrapa_0-1776943251999.png

So, it's not supported. 

An option is either Pemicro or Lauterbach. 

In case of Pemicro, please read following article:

https://www.pemicro.com/learningcenter/contents.cfm?content_id=82

In case of Lauterbach, there are some resources in HSE DemoApp (can be downloaded from the same place as HSE firmware). 

You can take a look at scripts in HSE DemoApp at path like:

c:\NXP\HSE_DEMOAPP_S32K358_0_2_55_0\demo_security_installer\scripts\

 

See the files:

debug_App_ADKP.py

debug_authorization.cmm

adkp_key_input.txt

... or contact Lauterbach directly for help. 

Regards,

Lukas

0 Kudos
Reply

645 Views
anilsp31PA
Contributor III

Hi,

In continuing further on same topic. The Demo App source and documentation contains steps for HSE_FW installation using Trace32 only. Is there a separate document and code for using PE-Micro debugger? I see documentation and .cmm scripts supported by Trace  32 only.

 

Thanks,

Anil

Tags (1)
0 Kudos
Reply

544 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

HSE_DEMOAPP_S32K3XX only works with T32 but mentioned HSE examples are code based and may run with any debugger.

There are also examples S32K344_HSE_FW_INSTALL and S32K344_HSE_FW_UPDATE in HSE examples package:
https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples

It is basically the same functionality ported to the code debugger independent

Quoting "c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Readme.md":
'The purpose of this project is to provide different use-case scenarios and examples to showcase the capabilities of the HSE FW in different devices. This is a port of the well known HSE DEMO APP which requires T32 Lauterbach in order to work, in this case we are working with PEmicro and Design Studio as this two tools work well with eachother allowing debugging directly using Design Studio IDE.'

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2354735%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESegger%20Jlink%20compatibility%20for%20Secure%20Debug%2F%20Lifecycle%20updates%20of%20S32K324%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2354735%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20S32K3%20and%20now%20want%20to%20install%20HSE%20FW.%20Can%20you%20confirm%20if%20Segger%20JLink%20supports%20secure%20Debug%20using%20Challenge%2FResponse%20authentication.%20If%20not%20then%20what%20are%20the%20other%20options%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAnil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2356681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segger%20Jlink%20compatibility%20for%20Secure%20Debug%2F%20Lifecycle%20updates%20of%20S32K324%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2356681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EIn%20continuing%20further%20on%20same%20topic.%20The%20Demo%20App%20source%20and%20documentation%20contains%20steps%20for%20HSE_FW%20installation%20using%20Trace32%20only.%20Is%20there%20a%20separate%20document%20and%20code%20for%20using%20PE-Micro%20debugger%3F%20I%20see%20documentation%20and%20.cmm%20scripts%20supported%20by%20Trace%26nbsp%3B%2032%20only.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAnil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2355197%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segger%20Jlink%20compatibility%20for%20Secure%20Debug%2F%20Lifecycle%20updates%20of%20S32K324%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2355197%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%2F229232%22%20target%3D%22_blank%22%3E%40anilsp31PA%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20a%20screenshot%20from%20Segger's%20web%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fkb.segger.com%2FNXP_S32K3xx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fkb.segger.com%2FNXP_S32K3xx%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22lukaszadrapa_0-1776943251999.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22lukaszadrapa_0-1776943251999.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22lukaszadrapa_0-1776943251999.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F383328iE90F018EDB0574C8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22lukaszadrapa_0-1776943251999.png%22%20alt%3D%22lukaszadrapa_0-1776943251999.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%2C%20it's%20not%20supported.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAn%20option%20is%20either%20Pemicro%20or%20Lauterbach.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20of%20Pemicro%2C%20please%20read%20following%20article%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.pemicro.com%2Flearningcenter%2Fcontents.cfm%3Fcontent_id%3D82%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.pemicro.com%2Flearningcenter%2Fcontents.cfm%3Fcontent_id%3D82%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EIn%20case%20of%20Lauterbach%2C%20there%20are%20some%20resources%20in%20HSE%20DemoApp%20(can%20be%20downloaded%20from%20the%20same%20place%20as%20HSE%20firmware).%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20can%20take%20a%20look%20at%20scripts%20in%20HSE%20DemoApp%20at%20path%20like%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ec%3A%5CNXP%5CHSE_DEMOAPP_S32K358_0_2_55_0%5Cdemo_security_installer%5Cscripts%5C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESee%20the%20files%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Edebug_App_ADKP.py%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Edebug_authorization.cmm%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eadkp_key_input.txt%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E...%20or%20contact%20Lauterbach%20directly%20for%20help.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELukas%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2359010%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Segger%20Jlink%20compatibility%20for%20Secure%20Debug%2F%20Lifecycle%20updates%20of%20S32K324%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359010%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHSE_DEMOAPP_S32K3XX%20only%20works%20with%20T32%20but%20mentioned%20HSE%20examples%20are%20code%20based%20and%20may%20run%20with%20any%20debugger.%3C%2FP%3E%0A%3CP%3EThere%20are%20also%20examples%20S32K344_HSE_FW_INSTALL%20and%20S32K344_HSE_FW_UPDATE%20in%20HSE%20examples%20package%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DS32K3_HSE_DemoExamples%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DS32K3_HSE_DemoExamples%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EIt%20is%20basically%20the%20same%20functionality%20ported%20to%20the%20code%20debugger%20independent%3C%2FP%3E%0A%3CP%3EQuoting%20%22c%3A%5CNXP%5CS32K3_HSE_DemoExamples_1_0_0%5CS32K3_HSE_DemoExamples%5CReadme.md%22%3A%3CBR%20%2F%3E'The%20purpose%20of%20this%20project%20is%20to%20provide%20different%20use-case%20scenarios%20and%20examples%20to%20showcase%20the%20capabilities%20of%20the%20HSE%20FW%20in%20different%20devices.%20This%20is%20a%20port%20of%20the%20well%20known%20HSE%20DEMO%20APP%20which%20requires%20T32%20Lauterbach%20in%20order%20to%20work%2C%20in%20this%20case%20we%20are%20working%20with%20PEmicro%20and%20Design%20Studio%20as%20this%20two%20tools%20work%20well%20with%20eachother%20allowing%20debugging%20directly%20using%20Design%20Studio%20IDE.'%3C%2FP%3E%3C%2FLINGO-BODY%3E