msp430-gdbproxy support for 2618 device?

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

msp430-gdbproxy support for 2618 device?

by sglow2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Guys;

I hate to keep asking the same question, but I could really use a push in the right direction here.

Can anyone tell me if the '2618 device is supported by any version of msp430-gdbproxy?

I've tried the version on the sourceforge page, and also the version on soft-switch.org, but so far I consistently get an error when starting msp430-gdbproxy:
--->msp430-gdbproxy msp430 /dev/ttyUSB0

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)
error:     msp430: External power detected (38)
debug: MSP430_Identify()
error:     msp430: Could not find device (or device not supported) (4)
debug: MSP430_VCC(0)
debug: MSP430_VCC(3000)
error:     msp430: External power detected (38)
debug: MSP430_Reset(ALL_RESETS)
debug: MSP430_Close()
msp430-gdbproxy: target_msp430.c:746: msp430_open: Assertion `!msp430_status.is_open' failed.
Aborted
Sorry if this is a dumb question, is it documented someplace that I'm missing?

If this processor isn't supported, are there any plans to update gdbproxy to add support for it?

How are people working with this chip if it's not supported by gdbproxy?  I really just need to program the flash, I can live without a debugger if necessary.

Thanks,
Steve


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked]

by Reinhard.Griech :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> Can anyone tell me if the '2618 device is supported by any version
> of msp430-gdbproxy?


Yes, it is supported:

hardy:~/eh/bcb/DisplayCom2> msp430-gdbproxy msp430  TIUSB
debug: MSP430_Initialize()
debug: MSP430_Configure()
debug: MSP430_VCC(3000)
debug: MSP430_Identify()
info:      msp430: Target device is a 'MSP430F2618' (type 66)
debug: MSP430_Configure()
notice:    msp430-gdbproxy.exe: waiting on TCP port 2000

I guess, you need a new msp430.dll from your JTAG adapter.

Hardy
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by TonyB-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I'm using the same chip, and have the same problems.
 
As a method to download programs into the CPU, I installed mspgcc on Windows (I still develop in *nix), and made sure to "Associate File Types" during the installation. Then I double-click on the .elf file on my network share, and that loads a Downloader tool. I am using this with the TI USB-FET JTAG. I'm not sure what, if any, other programmers this is compatible with.
 
The bigger problem I've had is getting the USB FET installed on some computers. I have it installed on one, but I forgot how. I think it was installed back when I first started in IAR. I've been unsuccessful with attempts on other computers, though I haven't put forth much effort.
 
 
I believe I'm using the 20080603 version.
 
TonyB
 
----- Original Message -----
From: sglow@...
Sent: Wednesday, June 11, 2008 8:11 AM
Subject: [Mspgcc-users] msp430-gdbproxy support for 2618 device?

Hi Guys;

I hate to keep asking the same question, but I could really use a push in the right direction here.

Can anyone tell me if the '2618 device is supported by any version of msp430-gdbproxy?

I've tried the version on the sourceforge page, and also the version on soft-switch.org, but so far I consistently get an error when starting msp430-gdbproxy:
--->msp430-gdbproxy msp430 /dev/ttyUSB0

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)
error:     msp430: External power detected (38)
debug: MSP430_Identify()
error:     msp430: Could not find device (or device not supported) (4)
debug: MSP430_VCC(0)
debug: MSP430_VCC(3000)
error:     msp430: External power detected (38)
debug: MSP430_Reset(ALL_RESETS)
debug: MSP430_Close()
msp430-gdbproxy: target_msp430.c:746: msp430_open: Assertion `!msp430_status.is_open' failed.
Aborted
Sorry if this is a dumb question, is it documented someplace that I'm missing?

If this processor isn't supported, are there any plans to update gdbproxy to add support for it?

How are people working with this chip if it's not supported by gdbproxy?  I really just need to program the flash, I can live without a debugger if necessary.

Thanks,
Steve


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by Mat Barnes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stephen,

> Can anyone tell me if the '2618 device is supported by any version of
> msp430-gdbproxy?

Unless something dramatic has happened recently the newer devices
(x2xx and x4xx) are only supported by the lastest Windows build of
msp430-gdbproxy.

Somebody please correct me if Im wrong, I'd love to remove the windows
box proxy from my debugging setup.

I think I'm using the version from the sourceforge page, it works with
24x and 26x devices so it should work for you too, although it is
Windows only.
If you're lucky enough to have have a windows installed machine to use
as a proxy then connecting to it from gdb is no different to
connecting to a locally running proxy. (Of course you can also do all
your development and debugging under windows.

Mat

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Stephen Glow <sglow@...> wrote:

> Can anyone tell me if the '2618 device is supported by any version of
> msp430-gdbproxy?
>
> I've tried the version on the sourceforge page, and also the version on
> soft-switch.org, but so far I consistently get an error when starting
> msp430-gdbproxy:
>
>     --->msp430-gdbproxy msp430 /dev/ttyUSB0
>
>     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)
>     error:     msp430: External power detected (38)
>     debug: MSP430_Identify()
>     error:     msp430: Could not find device (or device not supported) (4)
>     debug: MSP430_VCC(0)
>     debug: MSP430_VCC(3000)
>     error:     msp430: External power detected (38)
>     debug: MSP430_Reset(ALL_RESETS)
>     debug: MSP430_Close()
>     msp430-gdbproxy: target_msp430.c:746: msp430_open: Assertion
>     `!msp430_status.is_open' failed.
>     Aborted
>
> Sorry if this is a dumb question, is it documented someplace that I'm
> missing?

Nope, that's pretty much what I see when I try to use it with
the 23x0 parts also.

> If this processor isn't supported, are there any plans to update
> gdbproxy to add support for it?

I've been trying for almost a year to find out how one goes
about getting support for a specific part added to
msp430-gdbproxy.  AFAICT, the answer is "you don't".

> How are people working with this chip if it's not supported by
> gdbproxy?  I really just need to program the flash, I can live
> without a debugger if necessary.

Try using msp430-jtag to program flash.  Even though gdbproxy
doesn't support the 23x0 parts, msp430-jtag does.

--
Grant Edwards                   grante             Yow! If I had a Q-TIP, I
                                  at               could prevent th' collapse
                               visi.com            of NEGOTIATIONS!!


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Mat Barnes <m.barnes01@...> wrote:

>> Can anyone tell me if the '2618 device is supported by any version of
>> msp430-gdbproxy?
>
> Unless something dramatic has happened recently the newer devices
> (x2xx and x4xx) are only supported by the lastest Windows build of
> msp430-gdbproxy.

Where can one get the latest build?  The version available at
soft-switch.org is over two years old.

> If you're lucky enough to have have a windows installed
> machine to use as a proxy then connecting to it from gdb is no
> different to connecting to a locally running proxy. (Of course
> you can also do all your development and debugging under
> windows.

I could live with using a windows proxy machine with a '23x0,
but I can't find a windows build of gdbproxy that supports it
either.

--
Grant Edwards                   grante             Yow! I haven't been married
                                  at               in over six years, but we
                               visi.com            had sexual counseling every
                                                   day from Oral Roberts!!


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by Mat Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Where can one get the latest build?  The version available at
> soft-switch.org is over two years old.
>

Sorry I used a poor description there, I think that is the latest
build. It is the version I am using with 24x and 26x.

Mat

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked]

by Reinhard.Griech :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



:
> I could live with using a windows proxy machine with a '23x0,
> but I can't find a windows build of gdbproxy that supports it
> either.


I'm almost sure that the msp430.dll is the culprit who has to detect the MCU type.  So go and get the newest version from your JTAG provider.  Mine is from Olimex and I have no problem with the 2618 - at least gdbproxy detects it.

Hardy
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked]

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Reinhard.Griech@... <Reinhard.Griech@...> wrote:
>:
>> I could live with using a windows proxy machine with a '23x0,
>> but I can't find a windows build of gdbproxy that supports it
>> either.
>
> I'm almost sure that the msp430.dll is the culprit who has to detect the
> MCU type.  So go and get the newest version from your JTAG provider.  Mine
> is from Olimex and I have no problem with the 2618 - at least gdbproxy
> detects it.

I tried multiple different versions of msp430.dll that all
worked fine with other applications and the same target.  I
tried .dll files from both IAR Kickstart and Elprotronics.
mspgcc-gdbproxy doesn't recogize the '23x0 with either .dll
although other applications do recognize it using the same .dll
files.

--
Grant Edwards                   grante             Yow! I have many CHARTS
                                  at               and DIAGRAMS..
                               visi.com            


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by sglow2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Grant;

I'm trying to use msp430-jtag under Linux now, but can't seem to get that working either.

I'm using a USB based debugger (MSP-FET430UIF from TI).  Do you know if that is supported for this chip under Linux, or does msp430-jtag only work with parallel port debuggers for this device?

Thanks,
Steve

How are people working with this chip if it's not supported by
gdbproxy?  I really just need to program the flash, I can live
without a debugger if necessary.
    

Try using msp430-jtag to program flash.  Even though gdbproxy
doesn't support the 23x0 parts, msp430-jtag does.

  

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked] [virus checked]

by Reinhard.Griech :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


:
> I tried multiple different versions of msp430.dll that all
> worked fine with other applications and the same target.  I
> tried .dll files from both IAR Kickstart and Elprotronics.
> mspgcc-gdbproxy doesn't recogize the '23x0 with either .dll
> although other applications do recognize it using the same .dll
> files.

:

May be the one contained in http://www.olimex.com/dev/soft/msp430/MSP430-DLL%20drivers%201.021.zip will help?

Hardy
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Stephen Glow <sglow@...> wrote:

> I'm trying to use msp430-jtag under Linux now, but can't seem to get
> that working either.
>
> I'm using a USB based debugger (MSP-FET430UIF from TI).  Do you know if
> that is supported for this chip under Linux, or does msp430-jtag only
> work with parallel port debuggers for this device?

msp430-jtag works with a USB interface, but getting the USB
interface installed and working is a bit tricky.  You have to
get the right version of the kernel/driver, and then you have
to set up a few udev rules to reconfigure the USB driver after
it first recognizes the device.

IIRC, somebody posted a summary of how to do it a few days back.

--
Grant Edwards                   grante             Yow! It's OKAY -- I'm an
                                  at               INTELLECTUAL, too.
                               visi.com            


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked] [virus checked]

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Reinhard.Griech@... <Reinhard.Griech@...> wrote:
>:
>> I tried multiple different versions of msp430.dll that all
>> worked fine with other applications and the same target.  I
>> tried .dll files from both IAR Kickstart and Elprotronics.
>> mspgcc-gdbproxy doesn't recogize the '23x0 with either .dll
>> although other applications do recognize it using the same .dll
>> files.

> May be the one contained in
> http://www.olimex.com/dev/soft/msp430/MSP430-DLL%20drivers%201.021.zip 
> will help?

I'll give it a try, but it sure looks to me like it's
gdbproxy's fault and not the DLL's fault.

--
Grant Edwards                   grante             Yow! Are you still an
                                  at               ALCOHOLIC?
                               visi.com            


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by sglow2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Grant Edwards wrote:
> ...
> IIRC, somebody posted a summary of how to do it a few days back.
>
>  
Yup, that was me!

Thanks, I'll keep trying.

Steve

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked] [virus checked]

by Reinhard.Griech :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


:
> I'll give it a try, but it sure looks to me like it's
> gdbproxy's fault and not the DLL's fault.


So, why does my gdbproxy (windows xp) detects the 2618 correctly?

Hardy
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device? [virus checked] [virus checked]

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-11, Reinhard.Griech@... <Reinhard.Griech@...> wrote:

>> I'll give it a try, but it sure looks to me like it's
>> gdbproxy's fault and not the DLL's fault.
>
> So, why does my gdbproxy (windows xp) detects the 2618
> correctly?

Presumably because your copy of gdbproxy supports the 2618?

--
Grant Edwards                   grante             Yow! I'm having an
                                  at               emotional outburst!!
                               visi.com            


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: msp430-gdbproxy support for 2618 device?

by sglow2000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks everyone for the feedback on this question.  I've now got
gdbproxy working on my device.

Part of my problem turned out to be a hardware problem on my board, with
that fixed I can get the windows version of gdbproxy running, and
connect to this from the Linux version of gdb.

Interestingly, I've found that I can run both of these on the same
(Linux based) machine using vmware.  I created a virtual machine in
vmware which has windows 2000 installed on it, and installed the drivers
that came with my USB-FET device there.  I then downloaded the version
of msp430-gdbproxy.exe from Sourceforge and am using the dll files that
were contained in IAR-KICKSTART package that I downloaded from the TI
website.  I'm not sure if the dll files on Sourceforge would have worked
since I had hardware problems at the time I was trying them and didn't
get my hardware working until after I'd updated the dll files.

In vmware, you can connect a USB device to a virtual machine.  Once I
did this it was recognized by the drivers and I was able to run the
msp430-gdbproxy program in the virtual machine.  I was then able to
connect to that (virtual) win2k machine from msp430-gbd and debug the
device.

I'm using vmware-workstation which is not free.  I believe that you can
now get vmware-server as a free download and I would think that this
software should be able to perform this trick.

I made a little zip file containing the gdbproxy program and dll files
that I'm using.  You can grab it here if you like.  I can assure you
that this version of the files is capable of talking to the 2618 device,
at l