This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to debug existing OMF-51 file

Hi -
Hoping someone can help me answer a question.

I have some legacy firmware written and compiled/linked with Tasking 8051 (circa 1997). I have the C source files and IEEE-695 files. However, I do not have the Tasking toolset and need to do some debugging of the previously compiled/linked code. We do use the Keil (V9) toolset and figured I could try using the keil Simulator to try to debug the issue we are having.

Here are the steps that I've taken as I do not want to re-build the project using the Keil tools. I just want to load the IEEE-695 file and debug using the simulator.

1) Converted the IEEE-695 to OMF-51 (I understand that Keil doesn't support IEEE-695)
2) Created a new Project and identified all of the C source files in the project window.
3) Modified the Project Option Debug so that the IDE would not attempt to re-compile and load the code automatically.
4) Clicked the 'Debug' button
5) From the command window used the "LOAD" command to load the OMF file.

The OMF-51 file loads along with the symbols but I cannot get the source level debugging to work. This is where I am in need of help. I would really like to get the source level debugging feature to work.

What do I need to do to make this work (short of rebuilding the project.)?
Your help would be appreciated.
Thanks
Jim
Largo, Florida

0