Hi Greg,

The captured output looks fine for the parallel port debugger.  You should
be getting something similar using the Olimex USB debugger (assuming you add
a "TIUSB" to the end of the command line).  One thing to watch out for with
USB is that many PC's USB chipsets can be very sensitive to noise and ground
problems, and if they detect problems they can switch themselves off until
completely reset (by reseting the PC).  I've seen this on two different
computers (running w2k and xp - I don't know if the OS makes any
difference) - once the USB host controller has detected something odd, you
have no USB at all until you reset the PC.  You can check if this has
happened by sticking another USB device (such as a flash disk) into the PC -
if it is not detected, you're USB controller has stopped and you need to
reset your PC.  It's a huge PITA - if anyone knows a quick way to reset the
USB controller, I'd love to know!

The most important step to avoid this happening is to have an independant
ground line between your card's 0V and your computer's 0V (connecting a wire
to the case will work, assuming it's metal) before connecting the USB
debugger to the card.  You don't need this if your card's supply is
completely isolated (such as a battery).

Regarding Insight - I've only ever tried it vaguely (on a different
processor).  Personally, I like command-line gdb - it's fast, and generally
does all I need.  When I want a gui on top of gdb, I've used gvd (which is
now part of a more complete "gps" - gnatt project system, I think).  It's
actually aimed at (and written in) Ada, but supports C too.  You can use any
gdb for any target along with it, so I use the same gui for all my gdb
targets.

Hope that helps,

David



> Hi David,
>
> I downloaded the MSPGCC mspgcc-win32 version (file name
> mspgcc-20060502.exe) from
> http://sourceforge.net/project/showfiles.php?group_id=42303, and I can
> now get the TI parallel port JTAG debugger to bring up msp430-gdbproxy.
> The GDB PROXY never came up with the Olimex USB.  I captured the below
> output when GDB PROXY came up.
>
> According to http://www.freertos.org/ the latest MSPGCC download only
> includes the command line GDB debugger.  I prefer to use the graphical
> version called Insight.  I downloaded filename
> msp430-insight-win32-20021222.exe (per the FreeRTOS web site) and will
> try that version of the prebuilt GDB next.
>
> Greg
>
>
> -> msp430-gdbproxy --port=3333 msp430
>
> Remote proxy for GDB, v0.7.1, Copyright (C) 1999 Quality Quorum Inc.
> MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
>
> GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
> use `--warranty' option. This is Open Source software. You are
> welcome to redistribute it under certain conditions. Use the
> '--copying' option for details.
>
> debug: MSP430_Initialize()
> debug: MSP430_Configure()
> debug: MSP430_VCC(3000)
> debug: MSP430_Identify()
> info:      msp430: Target device is a 'MSP430F169' (type 40)
> debug: MSP430_Configure()
> notice:    msp430-gdbproxy: waiting on TCP port 3333
>
>
> -----Original Message-----
> From: mspgcc-users-boun...@lists.sourceforge.net
> [mailto:mspgcc-users-boun...@lists.sourceforge.net] On Behalf Of David
> Brown
> Sent: Monday, June 19, 2006 11:50 PM
> To: GCC for MSP430 - http://mspgcc.sf.net
> Subject: Re: [Mspgcc-users] msp430-gdbproxy v0.7.1
>
> > Per the below Olimex email, Olimex does not test their USB programmers
>
> > with GDB.  The drivers from Olimex for the USB programmer have not
> > been tested with GDB, and may not work.
> >
> > I bought two TI parallel port versions of the MSP430 JTAG and hope to
> > get that to work with GDB.  The FreeRTOS web site says how to do this.
> >
> > greg
>
> The parallel port debuggers are always much simpler, as there are no
> drivers installed, and all the intelligence is in the gdbproxy code.  We
> use Olimex's parallel port debuggers extensively (because they are
> cheaper and neater than TI's, and functionally identical).  The USB side
> is more complicated, because it involves drivers on the PC side.
>
> Did you try the instructions I gave below?  I had few problems getting
> the Olimex USB debugger to work with gdbproxy, using the "TIUSB" option:
>
>     msp430-gdbproxy --port=3333 msp430 TIUSB
>
>
> mvh.,
>
> David
>
>
>
> >
> > -----Original Message-----
> > From: Support OLIMEX Ltd. [mailto:supp...@olimex.com]
> > Sent: Monday, June 19, 2006 8:26 AM
> > To: Rasche, Greg
> > Subject: Re: msp430-gdbproxy v0.7.1
> >
> > we don't use GDB and have no idea how to help you Olimex
> > ----- Original Message -----
> > From: "Rasche, Greg" <greg.ras...@windriver.com>
> > To: "Support OLIMEX Ltd." <supp...@olimex.com>
> > Sent: Monday, June 19, 2006 6:23 PM
> > Subject: msp430-gdbproxy v0.7.1
> >
> >
> >
> > Hi,
> >
> > Can you help me get the GNU DEBUGGER (GDB) working with the MSP430 USB
>
> > programmer?
> >
> > I may have to fall back to the parallel port version.
> >
> > Greg
> >
> > -----Original Message-----
> > From: mspgcc-users-boun...@lists.sourceforge.net
> > [mailto:mspgcc-users-boun...@lists.sourceforge.net] On Behalf Of David
>
> > Brown
> > Sent: Friday, June 16, 2006 5:22 AM
> > To: GCC for MSP430 - http://mspgcc.sf.net
> > Subject: Re: [Mspgcc-users] msp430-gdbproxy v0.7.1
> >
> > >From the Olimex web page http://www.olimex.com/dev/msp-jtag-tiny.html
>
> > >,
> >
> > >you
> > can get
> > the drivers for the Olimex jtag debugger, and install that as the
> > driver for the USB device.  You then need to copy the "SiUSBXp.dll",
> > "FTD2XX.dll", and "MSP430.dll" from the Olimex software into the
> > directory with your gdbproxy.exe, overwriting the original files.
> > Once that's in place, the Olimex debugger should work fine with JTAG
> > using gdbproxy (or the latest version of the python downloader tools).
> >
> > I don't know whether it works with the spy-bi-wire interface, as I've
> > never tried it.
> >
> > mvh.,
> >
> > David
> >
> >
> >
> > > Rasche, Greg schrieb:
> > > > Hi All,
> > > >
> > > > I downloaded the file named mspgcc-20060502.exe from here
> > > > http://sourceforge.net/project/showfiles.php?group_id=42303
> > > >
> > > > I need to use GCC and GDB, and need to get the proxy agent
> working.
> >
> > > > Per this thread...
> > > > http://www.nabble.com/Updated-msp430-gdbproxy-t1494599.html
> > > >
> > > > For me, (Windows user) there are 3 new files to download HIL.dll,
> > > > MSP430.dll and msp430-gdbproxy.exe. I have the Windows installer
> > > > for
> >
> > > > MSPGCC installed, and copied these 3 files over the 3 files that
> > > > were in placed within c:/mspgcc/bin
> > > >
> > > ...
> > > > I have an Olimex USB JTAG programmer, and have
> > > ...
> > >
> > > parallel port adapter should just work, but USB JTAG adapters use
> > > proprietary protocols between the box and the PC. therefore you need
>
> > > to install the MSP430.dll that comes with your USB JTAG box.
> > >
> > > chris
> > >
> > >
> > > _______________________________________________
> > > Mspgcc-users mailing list
> > > Mspgcc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> > >
> > >
> > >
> >
> >
> >
> >
> > _______________________________________________
> > Mspgcc-users mailing list
> > Mspgcc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> >
> >
> >
> > _______________________________________________
> > Mspgcc-users mailing list
> > Mspgcc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> >
> >
>
>
>
>
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
>



Reply via email to