s32k312 can not debug

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

s32k312 can not debug

Jump to solution
2,845 Views
victory
Contributor V

Hi NXP,

   my environment is  jlink v11  and s32DS. it  works until yesterday, when starting debug, it can stop at main entry,  then run step into, or any other operation, it goes to unknown state. the abnormal as attached.

1. debug can't  halt CPU.

2. read sram failed.

but with the same hardware and elf file,  i use ozone , it works normally. 

 

 

PixPin_2024-09-19_09-33-13.png

here my debug cofig. it's same compare to it's working time.

111.png222.png

 

0 Kudos
Reply
1 Solution
2,672 Views
victory
Contributor V

i dont know what cause this problem, after totally reinstall S32DS , solved.  but after few days use, S32DS debuger seems responses slower than normal.

currently, use OZone to program and debugger instead.

View solution in original post

0 Kudos
Reply
3 Replies
2,673 Views
victory
Contributor V

i dont know what cause this problem, after totally reinstall S32DS , solved.  but after few days use, S32DS debuger seems responses slower than normal.

currently, use OZone to program and debugger instead.

0 Kudos
Reply
2,821 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@victory

I don't find any problem with your configuration, and your other debuggers (ozone) can burn and debug your hardware normally, so the possible reason may be your J-LINK tool or the link problem.

0 Kudos
Reply
2,814 Views
victory
Contributor V
Hi, Senlent
Ozone is software on PC, my board and jlink are the same. i just use it instead of S32DS debug function, all others are same.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1957078%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Es32k312%20can%20not%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957078%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3Bmy%20environment%20is%26nbsp%3B%20jlink%20v11%26nbsp%3B%20and%20s32DS.%20it%26nbsp%3B%20works%20until%20yesterday%2C%20when%20starting%20debug%2C%20it%20can%20stop%20at%20main%20entry%2C%26nbsp%3B%20then%20run%20step%20into%2C%20or%20any%20other%20operation%2C%20it%20goes%20to%20unknown%20state.%20the%20abnormal%20as%20attached.%3C%2FP%3E%3CP%3E1.%20debug%20can't%26nbsp%3B%20halt%20CPU.%3C%2FP%3E%3CP%3E2.%20read%20sram%20failed.%3C%2FP%3E%3CP%3Ebut%20with%20the%20same%20hardware%20and%20elf%20file%2C%26nbsp%3B%20i%20use%20ozone%20%2C%20it%20works%20normally.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PixPin_2024-09-19_09-33-13.png%22%20style%3D%22width%3A%20610px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PixPin_2024-09-19_09-33-13.png%22%20style%3D%22width%3A%20610px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299829i0FE3D4977D0F45F5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PixPin_2024-09-19_09-33-13.png%22%20alt%3D%22PixPin_2024-09-19_09-33-13.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ehere%20my%20debug%20cofig.%20it's%20same%20compare%20to%20it's%20working%20time.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22111.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22111.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299831iE9EC4BE0AC7DCEA6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22111.png%22%20alt%3D%22111.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22222.png%22%20style%3D%22width%3A%20944px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22222.png%22%20style%3D%22width%3A%20944px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299832i26C49E397840A58D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22222.png%22%20alt%3D%22222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1974665%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20s32k312%20can%20not%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1974665%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ei%20dont%20know%20what%20cause%20this%20problem%2C%20after%20totally%20reinstall%20S32DS%20%2C%20solved.%26nbsp%3B%20but%20after%20few%20days%20use%2C%20S32DS%20debuger%20seems%20responses%20slower%20than%20normal.%3C%2FP%3E%3CP%3Ecurrently%2C%20use%20OZone%20to%20program%20and%20debugger%20instead.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1957607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20s32k312%20can%20not%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957607%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%2C%20Senlent%3CBR%20%2F%3EOzone%20is%20software%20on%20PC%2C%20my%20board%20and%20jlink%20are%20the%20same.%20i%20just%20use%20it%20instead%20of%20S32DS%20debug%20function%2C%20all%20others%20are%20same.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1957214%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20s32k312%20can%20not%20debug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957214%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40victory%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40victory%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EI%20don't%20find%20any%20problem%20with%20your%20configuration%2C%20and%20your%20other%20debuggers%20(ozone)%20can%20burn%20and%20debug%20your%20hardware%20normally%2C%20so%20the%20possible%20reason%20may%20be%20your%20J-LINK%20tool%20or%20the%20link%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E