Anyone know how to convert Keil OMF2 for to ELF? I need ELF format to be able to use software trace capability of my simulator (NCSIM). I am using C51 in a SOC with lots of custom hardware that is all in verilog. It is difficult to debug firmware in this simulation environment without software trace. We have a FPGA environment that's better for firmware debug since we can use keil debugger but difficult for hardware or hardware+firmware integration debug. I tried objconv from agner.org but it doesn't recognize OMF2.
Can you post process the .MAP file with AWK, or some text processing language of your choice, to extract or format the symbolic information required by the simulator?
Possibly. Except I know just about zero about these formats at this point.