Hi Folks
Anyone have a matlab script or c function that takes in a variable name and returns the address it finds in the CCS .out file? (COEFF or ELF)
Eg
addr = findTheDarnAddress('myFile.out');
Many thanks
Cheers2u
Eddie
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Please see this wiki article on TI object file formats. Pay particular attention to the section on processing an object file. In your particular case, you could also consider using the output of the names utility. You don't say which processor family you use. The names utility can be found among the executables in the compiler installation. It will be called something like armnm, or nm2000. It is documented in the Assembly Language Tools Guide for your processor. Here is a link to all of them.
Thanks and regards,
-George
Doh, sorry for not specifying the processor - its the C64+ DSPs
As per running a utility, I hoped that I could get matlab or C code for pulling the symbol address out of the .out file. Our current process only stores the .out. It would be difficult to also store other compiler generated files (like the xml).
I'm digging into the wiki page you post. Hopefully that gives me the insight I need into creating the matlab script/C code.
Cheers
Eddie