Forums

Green Hills compiler and debugger for ColdFire

Started by David Brown March 28, 2006
A customer of ours has a Green Hills compiler suite for the 68k and 
ColdFire.  The version he has is 1.8.9, from 2000.

Does anyone know if the Green Hills debugger will work with the ColdFire 
bdm adaptor from P&E Micro?  The latest Green Hills version will, 
apparently, but we don't know about the older version.  The old version 
supports the Macgraigor wiggler, but that no longer exists for the 
ColdFire.  Perhaps the P&E Micro version and the Macgraigor wiggler are 
compatible?

As an alternative, we've been trying to get gdb to work with the coff 
files generated by the Green Hills compiler.  It's easy enough to get 
the binary code image out of the coff file, but I'm failing to get any 
useful debugging information out of the coff file (or .cfe, as Green 
Hills calls it).  Does anyone have any ideas there?

mvh.,

David
A customer of ours has a Green Hills compiler suite for the 68k and 
ColdFire.  The version he has is 1.8.9, from 2000.

Does anyone know if the Green Hills debugger will work with the ColdFire 
bdm adaptor from P&E Micro?  The latest Green Hills version will, 
apparently, but we don't know about the older version.  The old version 
supports the Macgraigor wiggler, but that no longer exists for the 
ColdFire.  Perhaps the P&E Micro version and the Macgraigor wiggler are 
compatible?

As an alternative, we've been trying to get gdb to work with the coff 
files generated by the Green Hills compiler.  It's easy enough to get 
the binary code image out of the coff file, but I'm failing to get any 
useful debugging information out of the coff file (or .cfe, as Green 
Hills calls it).  Does anyone have any ideas there?

mvh.,

David
Ted wrote:
> David Brown wrote: > >> Does anyone know if the Green Hills debugger will work with the ColdFire >> bdm adaptor from P&E Micro? The latest Green Hills version will, >> apparently, but we don't know about the older version. The old version >> supports the Macgraigor wiggler, but that no longer exists for the >> ColdFire. Perhaps the P&E Micro version and the Macgraigor wiggler are >> compatible? > > I may be misremembering but I think our version of 1..8.9 came with > both Mac & P&E wigglers. You need a driver - look for a program called > peserv.exe somehwhere in your GHS installation directory. >
The customer found the peserv.exe program, along with some documentation files. They only mention ColdFire v3 cores, but it certainly adds weight to our hopes that the P&E Micro BDM cable will work. Thanks for the tip!
>> As an alternative, we've been trying to get gdb to work with the coff >> files generated by the Green Hills compiler. It's easy enough to get >> the binary code image out of the coff file, but I'm failing to get any >> useful debugging information out of the coff file (or .cfe, as Green >> Hills calls it). Does anyone have any ideas there? > > Try playing around with the -g or -G and -dual_debug compiler > options. We managed to get it to work with our EST VisionProbe. >
We've already tried these flags (I think), without success. But thanks anyway. mvh., David
> Cheers > TW >