[coldfire-gnu-discuss] coldfire 5407 with P&E micro BDM

Nathan Sidwell nathan at codesourcery.com
Tue Jun 27 10:50:16 UTC 2006


Keith Knauber wrote:
> Hello,
> I am trying to get the CodeSourcery GNU toolchain gdb to work with my 
> P&E micro BDM.
>  
> I would be interested in purchasing the full package
> I am getting the following error when I start up gdb with the following 
> command line:

> (gdb) target remote | m68k-elf-cfpe-stub -t Node.ld -s 3
> Error:  Could not load P&E DLL
> Remote debugging using | m68k-elf-cfpe-stub -t Node.ld -s 3
> (gdb) Remote communication error: Bad file descriptor.

Mark's suggested that the pemicro directory needs to be on the PATH. 
Alternatively you might try copying the pemicro dll to a directory that is on 
your path -- or indeed the directory containing the m68k-elf-cfpe-stub program.

Your invokation of the stub is incorrect.  The -t option does not take a linker 
script, but a board initialization configuration.  Unfortunately your 5407 board 
is not supported directly by the stub at this point.  You need to find the 
CodeWarrior configuration file, which I believe will be in

'Program\ Files/Freescale/CodeWarrior\ for\ ColdFire\ 
V6.3/E68K_Support/Initialization_Files/'

and it will be called something like MCF5407evb.cfg

Due to licensing reasons, we are currently unable to distribute those files

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan at codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the coldfire-gnu-discuss mailing list