 | Technical Support |  |
|
|
Technical Support Support Resources Product Information | GENERAL: SOURCE/SYMBOLS IN EMULATOR SOFTWAREQUESTIONI can't see my source code or symbol information in my ICE(In-Circuit Emulator) software. What am I doing wrong? ANSWERThere are a few things that need to be done to see your source code and symbol information in your emulator software. - Make sure that you're loading the absolute object file (created by the linker), not the hex-format file. The Intel hex file format does not allow for debug information to be included. The absolute object file, if you're using µVision, will have a filename of PROJECTNAME.(no extension.)
- Make sure that debug switches are turned on for the linker, assembler, and compiler. Use DEBUG for the Assembler. Use DEBUG and OBJECTEXTEND for the C compiler.
- For some emulators, source files must be located in the same directory as the absolute object file. If your configuration does not allow for this, your emulator software should provide a means of telling it where to find your source files. Remember, the OMF (absolute object) file does not contain your source code - it only contains references to filenames and line numbers. The source must be read from the actual source code file by your emulator software.
SEE ALSOLast Reviewed: Saturday, July 09, 2005
|
|