Compiler DWARF Micrium uCProbe

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jepaz
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

I am trying to log some variables to Micrium uCProbe, for this the program requires the compiled ELF file created by Psoc Creator after the last update I get this message on ucProbe

   

Unable to parse ELF files with formats other than DWARF2/3 if you are using IAR, add the following compiler option: --no_dwarf4

   

how should I do this on creator?

   

 

   

thanks

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In Creator -> Project -> Build Settings ->ARM GCC-> Compiler ->Command Line you may enter some custom flags.

   

 

   

Bob

View solution in original post

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In Creator -> Project -> Build Settings ->ARM GCC-> Compiler ->Command Line you may enter some custom flags.

   

 

   

Bob

0 Likes
KlausK_81
Employee
Employee
25 sign-ins 10 questions asked 10 sign-ins

Hello Bob,

   

what specific custom flags are needed to get it generated  ?

   

 

   

Thanks

   

Klaus

0 Likes
KlausK_81
Employee
Employee
25 sign-ins 10 questions asked 10 sign-ins

Source:
https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html

-gdwarf-version

=>  -gdwarf-3

Regards
Klaus

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Well, your error message says "add the following compiler option: --no_dwarf4", so I would try at first that one...

   

 

   

Bob

0 Likes

the one that worked was -gdwarf-3 did try --no_dwarf4 thank you bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Thank you for keeping us informed!

   

 

   

Bob

0 Likes