Discussion Forum

Error generating hex file

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Owen Peters
Posted
26-Feb-2002 14:34 GMT
Toolset
C51
New! Error generating hex file

I always get the following error while tring to run oh51 tool.

C:\Keil\C51\BIN>oh51 main.obj

OBJECT TO HEX FILE CONVERTER OH51 V2.6
COPYRIGHT KEIL ELEKTRONIK GmbH 1991 - 2001

GENERATING INTEL HEX FILE: main.hex

*** ERROR: UNKNOWN RECORD TYPE 0FH
*** OH51 ABORTED.

Read-Only
Author
Andrew Neil
Posted
26-Feb-2002 17:46 GMT
Toolset
C51
New! RE: Error generating hex file
Do you need to use OHX51?
Read-Only
Author
Jon Ward
Posted
27-Feb-2002 19:15 GMT
Toolset
C51
New! RE: Error generating hex file
Is MAIN.OBJ generated from the C51 compiler? IF so, you need to LINK the object file to fix-up absolute addresses and to include the startup code and to include any library routines that you have used.

The output from the link (which is an absolute object module) may then be used to generate a HEX file.

Jon
Read-Only
Author
andy bu
Posted
29-Jun-2004 03:20 GMT
Toolset
C51
New! RE: Error generating hex file
can you show me one example on DOS command line string Format !
Thanks in advance !!
Read-Only
Author
andy bu
Posted
29-Jun-2004 03:21 GMT
Toolset
C51
New! RE: Error generating hex file
can you show me an example on DOS command line ? Thanks .
Read-Only
Author
Andy Neil
Posted
29-Jun-2004 08:54 GMT
Toolset
C51
New! RE: Error generating hex file
"can you show me an example on DOS command line"

Example of what?

Have you read the appropriate Manual(s) and/or helpfile(s) and/or 'readme' file(s)?

Next Thread | Thread List | Previous Thread Start a Thread | Settings