I am using Keil uVision2. As I know, OMF file has the same name with project file without extension. But when I open this file,it is a Binary file, isn't a Text file. Is it True?
Whatever made you think an OMF51 file was supposed to be a text file? Maybe you're confusing it with the .hex file that you would usually send to a burner or use for ISP?