Re: [coldfire-gnu-discuss] coldfire 5407 with P&E micro BDM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk