Hello, I want to use a in-circuit-emulator with the Keil C51. The emulator requires three files. 1) source.sld or source.O51 file for source level debugging 2) source.c 3) source.sym i.e. the symbol file How can I generate the source.sld, source.O51 and the source.sym files? Regards, Mohit
Which emulator? HAve you contacted the emulator vendor? Jon
It is a ICE from ADM, India in the name of wintrc Can we generate the source.sld or source.O51 and source.sym files? Mohit
Well, SOURCE.O51: This sounds like it may be a OMF51 object module. The Keil tools generate that. SOURCE.SLD: I don't know what kind of file this is. SOURCE.SYM: This sounds like it is a symbol information file. However, I don't know what format your emulator expects it in. Have you contacted your emulator vendor to see what they say? Jon
What command is required to generate the source.O51 and source.syb files? Mohit
None. You can generate HEX files with OH51.EXE, read the docs on that. The symbols are in the output file that BL51.EXE creates.
>1) source.sld or source.O51 file for source level debugging File source.O51 generated automatically by Keil uVision, but have no extension ".O51" by default. For example, you can make project HELLO from \Keil\C51\Examples\Hello\Hello.PRJ (in case of C51 v5.xx) or \Keil\C51\Examples\Hello\Hello.UV2 (in case of C51 v6.xx) and as result you get file (without extension) with name: "hello.", "\Keil\C51\Examples\Hello\Hello." You can try: - load it directly in your Emulator Software or, if your Emulator software need especially *.O51: - rename HELLO. to HELLO.O51 and load HELLO.O51 to your Emulator If success, you can modify project file to produce "HELLO.O51" instead of "HELLO." automatically.