Re: Cygwin environment Debugging Support for the BDM coldfire is not there with the GDB of Cygwin tool chain



Hi ,

I am looking into the http://sourceforge.net/projects/bdm/ info and i
think, for MCF5272 we need to tweak things a bit as there is no
readymade patch available as of now.

Meanwhile , I came across something interesting - BDI2000.
But, i dont want to put my legs in all the directions and be inside
some tight knots.

Before starting of with BDI2000, i need to know, if anyone of you have
tried it here with MCF5272 and is it bug free & powerful than
http://sourceforge.net/projects/bdm/ .

Which is powerful and very good to use ?
http://sourceforge.net/projects/bdm/ or BDI2000 .

Is the BDI2000 working fine for Debugging MCF5272 processor via BDM
through
Cygwin environment ? Else i will be sticking to
http://sourceforge.net/projects/bdm/ .

Need to decide upon one of the above.

Tonnes of Thx in advans,
Karthik Balaguru



Christian Walter wrote:
KBG wrote:
Hi Christian Walter,

Thx for your prompt reply.
Does that have support for MCF5272 Coldfire Processor code based on
cygwin environment ? I was unable to locate it there .

Hello,

I have not tested them with a MCF5272 target but I think it should be no
problem at all. I am using it with a MCF5235 target right now. The
standard registers which are accessible over the BDM are the same for
all coldfires. A problem is when the BDM tools try to access a register
which does not exist. What error message do you get with the standard
distribution when you try the 'bdm-chk /dev/bdmcfx' command?

This was the reason why I rolled the coldfire2/coldfire2m patches which
add support for the additional registers. Anyway it should be no problem
to patch the bdm tools if you need special support (at least if you
don't want to integrate the patches).

Kind regards,
Christian Walter

Could you pls send me some link that point to the patch for using
the BDM - GDB in cygwin environment for debugging with respect to
MCF5272 coldfire processor.

Anyhow, i will give a good look onceagain into the supplied patches in
the download section of http://sourceforge.net/projects/bdm/ . How
did it escape from my eyes ??? ( Need to check my eye lens power ...
hahaha !! )

Tonnes of Thx in advans,
Karthik Balaguru





Christian Walter wrote:
KBG wrote:
Hi Friends,

I am now trying to compile the Codwarrior code( MCF5272 processor ) and
play with it.
But there are some issues with debugging it.
The hardware support for the BDM coldfire is not there with the GDB of
Cygwin tool chain.
Hello,

You could use the BDM tools from the sourceforge website
http://sourceforge.net/projects/bdm/. We are using these tools for 6833x
and Coldfire development in our company. Simply download the patches and
an appropriate GDB version (See the supplied patches in the download)
and you are ready. The patches also include support for the graphical
insight debugger if you prefer working with a GUI.

Kind regards,
Christian Walter

http://www.macraigor.com/gnu/hwsupport-2.17.exe
GDB talks to the target through this tool and the P&E Micro BDM
interface from the Cygwin Environment.

http://www.macraigor.com/downloads/ocd_dbgr.exe
This is another version, but this doesn't have the exact processor
support through BDM.

Kindly let me know if there is any BDM coldfire support via Cygwin for
debugging an RTOS
application.

Further, with the help of google , i came across the following link :
--> http://sourceforge.net/projects/bdm which states as below :

One thing to be careful with is GDB. GDB needs to be altered a bit
(patched) so that it will connect with the BDM connector to the target.
This patch is usually a version or two behind the main GDB tree. So
your best bet is to find the patch first, then get the appropriate
version of GDB for that patch. In my case, GDB 6.2 was out, but I could
only find the patch for 6.0. So I was stuck with GDB 6.0. The patch is
at the Sourceforge BDM website.

But, i did not find any info w.r.t MCF5272 coldfire support. Kindly let
me know if any of you have ideas / info / patch / document / help w.r.t
this .

Tonnes of Thx in advans,
Karthik Balaguru



.



Relevant Pages