Article View: gnu.gcc.help
Article #46425Coff to Intelex Hex file conversion. How ?
From: Ronnie Sahlberg
Date: Mon, 14 Nov 1994 19:16
Date: Mon, 14 Nov 1994 19:16
28 lines
1929 bytes
1929 bytes
Hi. I have successfully installed Gcc261 as well as Binutils252 to be used as a crosscompiler environment for the H8/300 microcontroller. Yes, it seems to work quite well, Gcc can produce assembler code that is read by GAS, which in turn generates object files (which I can disassemble and also looks correct) that can be linked to something that is refered to a H8300-COFF. I do know that coff is the executable file format used by f.e. svr3, but what I need is a plain hex file to load into my eprom programmer. So, how can I convert 'executable' files created by GCC/GAS/LD into some sort of hexfiles (intellex,motorola whatever) that I can read into my eprom programmer software ? If no such software exist, where can I find technical specifications of the COFF file format so that I may write such a conversion tool myself ? I have tried reading the docs accompanying both gas ld and bfd but did not succeed in finding anything regarding this problem. I am certain that this kind of tool exist, since a lot of microcontrollers are supported by both gcc and gas. thanks in advance. ronnie sahlberg
Technical Details
Message-ID:
<3a8d34$k0d@news.kth.se>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!eru.mt.luth.se!news.kth.se!linnea-grind.stacken.kth.se!ronnieShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,cb65362718d764af,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-11-14 16:18:43 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!uhog.mit.edu!bloom-beacon.mit.edu!eru.mt.luth.se!news.kth.se!linnea-grind.stacken.kth.se!ronnie From: ronnie@linnea-grind.stacken.kth.se (Ronnie Sahlberg) Newsgroups: gnu.gcc.help Subject: Coff to Intelex Hex file conversion. How ? Date: 14 Nov 1994 19:16:52 GMT Lines: 29 Message-ID: <3a8d34$k0d@news.kth.se> NNTP-Posting-Host: linnea-grind.stacken.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit