How to DownLoad .elf file by S32DS

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

How to DownLoad .elf file by S32DS

910 Views
WangShine
Contributor I

Hi,guys:

  Today,I stucked in a problem.I have a ELF file which I used GCC links to get,not from S32DS.But now,I want to DownLoad the ELF to the S32K144.I tried to creat a Debug configuration and choose my own ELF.Then it seem like successfully,when the number of registers  were right.However,the stack in memory is wrong,then I can't read the new value from "Memory view"on S32DS.

  So,are  the reason my fault operations? 

0 Kudos
Reply
1 Reply

888 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2165181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20DownLoad%20.elf%20file%20by%20S32DS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165181%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2Cguys%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20Today%2CI%20stucked%20in%20a%20problem.I%20have%20a%20ELF%20file%20which%20I%20used%20GCC%20links%20to%20get%2Cnot%20from%20S32DS.But%20now%2CI%20want%20to%20DownLoad%20the%20ELF%20to%20the%20S32K144.I%20tried%20to%20creat%20a%20Debug%20configuration%20and%20choose%20my%20own%20ELF.Then%20it%20seem%20like%20successfully%2Cwhen%20the%20number%20of%20registers%26nbsp%3B%20were%20right.However%2Cthe%20stack%20in%20memory%20is%20wrong%2Cthen%20I%20can't%20read%20the%20new%20value%20from%20%22Memory%20view%22on%20S32DS.%3C%2FP%3E%3CP%3E%26nbsp%3B%20So%2Care%26nbsp%3B%20the%20reason%20my%20fault%20operations%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2165307%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20DownLoad%20.elf%20file%20by%20S32DS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2165307%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20pay%20attention%20to%20following%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-download-separate-elf-srec-hex-file-to-microcontroller%2Fta-p%2F112715%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-download-separate-elf-srec-hex-file-to-microcontroller%2Fta-p%2F112715%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E