S32K388 using Trace32 debug

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

S32K388 using Trace32 debug

Jump to solution
2,274 Views
seanwu
Contributor V

Dear sir, 

I want to use Trace32 to debug the S32K388. I followed the link below to install the Trace32 plug-in:

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Install-Lauterbach-TRACE32-debug...

 

After that, I created new projects using the Trace32 debug configuration—both single-core and multi-core projects.

However, when I try to debug with Trace32, I always get error messages.

seanwu_1-1764734653109.png

Also, when debugging multiple cores, I encounter an issue where the M7_1_0.elf and M7_2_0.elf cannot be programmed.

seanwu_0-1764734460087.png

 

Could you please help test this?

Thanks.

BR,

Sean Wu

0 Kudos
Reply
1 Solution
2,243 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not sure how it works dirrectly from S32DS as I was not able to get it working.

But I never used S32DS to start Trace32 powerview,

Simply start the powerview from T32 folder and then execute programming script from menu.

Here you will find programming script. Just execute it in Powerview and program the device.

petervlna_0-1764754904821.png

 

I will check meantime if I can get it up and running trough S32DS.

Best regards,

Peter

View solution in original post

0 Kudos
Reply
5 Replies
2,155 Views
seanwu
Contributor V

Dear petervlna,

I use your s32k38x.cmm, and it works well. Thanks for your help.

 

BR,

Sean Wu

0 Kudos
Reply
2,244 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not sure how it works dirrectly from S32DS as I was not able to get it working.

But I never used S32DS to start Trace32 powerview,

Simply start the powerview from T32 folder and then execute programming script from menu.

Here you will find programming script. Just execute it in Powerview and program the device.

petervlna_0-1764754904821.png

 

I will check meantime if I can get it up and running trough S32DS.

Best regards,

Peter

0 Kudos
Reply
2,240 Views
seanwu
Contributor V

Hi petervlna,

Could you please share the s32k38x.cmm to and the s32k38x.bin(maybe this name in your folder) to me?  I don't have this file.

 

Thanks.

BR,

Sean Wu

Tags (1)
0 Kudos
Reply
2,195 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have send them to you via private message.

Best regards,

Peter

2,187 Views
seanwu
Contributor V
Dear Petevlna,

Thanks for your help.

BR,
Sean Wu
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2253677%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253677%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20sir%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20use%20Trace32%20to%20debug%20the%20S32K388.%20I%20followed%20the%20link%20below%20to%20install%20the%20Trace32%20plug-in%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Install-Lauterbach-TRACE32-debugger-plug-in-into-S32%2Fta-p%2F1112237%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Install-Lauterbach-TRACE32-debugger-plug-in-into-S32%2Fta-p%2F1112237%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAfter%20that%2C%20I%20created%20new%20projects%20using%20the%20Trace32%20debug%20configuration%E2%80%94both%20single-core%20and%20multi-core%20projects.%3C%2FP%3E%3CP%3EHowever%2C%20when%20I%20try%20to%20debug%20with%20Trace32%2C%20I%20always%20get%20error%20messages.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_1-1764734653109.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368350i2803873CB0F758C7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22seanwu_1-1764734653109.png%22%20alt%3D%22seanwu_1-1764734653109.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAlso%2C%20when%20debugging%20multiple%20cores%2C%20I%20encounter%20an%20issue%20where%20the%20%3CSTRONG%3EM7_1_0.elf%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EM7_2_0.elf%3C%2FSTRONG%3E%20cannot%20be%20programmed.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22seanwu_0-1764734460087.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368349i962213F267001C88%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22seanwu_0-1764734460087.png%22%20alt%3D%22seanwu_0-1764734460087.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ECould%20you%20please%20help%20test%20this%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3ESean%20Wu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2254103%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2254103%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20am%20not%20sure%20how%20it%20works%20dirrectly%20from%20S32DS%20as%20I%20was%20not%20able%20to%20get%20it%20working.%3C%2FP%3E%0A%3CP%3EBut%20I%20never%20used%20S32DS%20to%20start%20Trace32%20powerview%2C%3C%2FP%3E%0A%3CP%3ESimply%20start%20the%20powerview%20from%20T32%20folder%20and%20then%20execute%20programming%20script%20from%20menu.%3C%2FP%3E%0A%3CP%3EHere%20you%20will%20find%20programming%20script.%20Just%20execute%20it%20in%20Powerview%20and%20program%20the%20device.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764754904821.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368415i7D5F949AB0048194%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22petervlna_0-1764754904821.png%22%20alt%3D%22petervlna_0-1764754904821.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20will%20check%20meantime%20if%20I%20can%20get%20it%20up%20and%20running%20trough%20S32DS.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2254111%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2254111%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%2F13836%22%20target%3D%22_self%22%3E%3CSPAN%20class%3D%22%22%3Epetervlna%3C%2FSPAN%3E%3C%2FA%3E%2C%3C%2FP%3E%3CP%3ECould%20you%20please%20share%20the%20s32k38x.cmm%20to%20and%20the%20s32k38x.bin(maybe%20this%20name%20in%20your%20folder)%20to%20me%3F%26nbsp%3B%20I%20don't%20have%20this%20file.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3ESean%20Wu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2255240%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2255240%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20have%20send%20them%20to%20you%20via%20private%20message.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2255301%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2255301%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDear%20Petevlna%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20your%20help.%3CBR%20%2F%3E%3CBR%20%2F%3EBR%2C%3CBR%20%2F%3ESean%20Wu%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2255629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20using%20Trace32%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2255629%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_self%22%3E%3CSPAN%20class%3D%22%22%3Epetervlna%2C%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EI%20use%20your%20s32k38x.cmm%2C%20and%20it%20works%20well.%20Thanks%20for%20your%20help.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EBR%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3ESean%20Wu%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E