I've been using Keil C51 compiler for sometime to compile firmware for an 8051 processor. I recently wanted to use a 3rd party firmware debugger tool and looks like they only accept ELF/DWARF files as an input. Hence I wanted to dump a ELF image from my Keil C51 which doesn't seem to be possible. After reviewing Keil documentation, I think I can only dump an object file which is of type OMF-51.
I looked for a vendor who can provide me a tool which can accept OMF-51 but I had no luck. So I started looking to find any tools out there which can convert the OMF-51 to ELF file and I had hit a dead-end in this direction as well.
Hence as a last resort, I decided to post in this forum to see if anyone can suggest any solution. Also, it is to be noted that changing a compiler is NOT an option for me.
Yes, the Keil C51 tools produce only OMF-51 - with, possibly, Keil's proprietary extensions to OMF-51.
If you have a current licence, you could try contacting Keil support to see if they can help you ...
It has been eons since I had to fiddle with these, and IAR forms of objects, but usually where there's a will there's a way. When doing SoC work you're usually into territory that the tool vendors have yet to conquer/explore. The proprietary stuff might add a level of challenge, but usually the usage is relatively finite, and you can iterate the tool to deal with new forms as you encounter them.
Seem to recall having to rebuild some DOS era tools to run on Win32/64 command lines as the DOS Box and old 16-bit Windows stuff was deprecated.
Westonsupermare Pier said:When doing SoC work you're usually into territory that the tool vendors have yet to conquer/explore
That's how Keil's Application Note 159 arose!
View all questions in Keil forum