I checked on WXP Pro EN SP3 too and it worked.

My com port was port 3 (may be different on your box), 9600 Boud ,8 data bit,No Parity, 1 stop bit, no Flow Control
Drivers:
C:\Windows\system32\drivers\serenum.sys    Microsoft    5.1.260.3311
C:\Windows\system32\drivers\umpf3410.i51    unknown    unknown
C:\Windows\system32\drivers\umpusbvista.sys Texas Instruments 6.5.9003.0
C:\Windows\system32\wdfcoinstaller01005.dll    Microsoft    1.5.6000.0

Best regards

Matthias
Am 30.01.2012 11:45, schrieb Matthias Hartmann:
the libusb0.dll is just needed to get mspdebug run at all, because the dll
will be loaded by the OS due to dependencies in mspdegug.exe
So if mspdebug.exe starts at all, you are fine with libusb0.dll.

Which drivers do you have installed for the FET?
How is the (virtual) serial port configured?

Best regards

Matthias

2012/1/30<jcs...@yahoo.com>

Hello Matthias,

Placing a copy of libusb0.dll in the same folder as mspdebug.exe doesn't
work regardless where I invoke the application (windows command prompt
or mingw).
The same timeout error occurs "uif: read error: The wait operation timed
out."

Also tried installing the libusb-win32, but then the FET will no longer be
listed under "Ports (COM&  LPT)" in device manager and mspdebug can't find
the device when invoked as shown below.

D:\Utilities\msp430-tools for Windows using MingW\mspdebug\mspdebug-0.18-
mingw32>mspdebug.exe -d COM7 -j uif

MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer<dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Trying to open UIF on COM7...
uif: can't open serial device: COM7: The system cannot find the file
specified.
By the way, I am running on Windows XP Pro SP3.


thank you
Regards,
jing

   >  Date: Mon, 30 Jan 2012 07:50:15 +0100
From: Matthias Hartmann<matthiashart...@versanet.de>
Subject: Re: [Mspgcc-users] MSPDebug and MinGW
To: mspgcc-users@lists.sourceforge.net
Message-ID:<4f263da7.4000...@versanet.de>
Content-Type: text/plain; charset="iso-8859-1"
Hi  Jennifer,

it looks like, you are trying to use the mingw32 build of mspdebug from
within the mingw/msys prompt.

Just use the native windows cmd prompt to run mspdebug.
Beside libreadline.dll and libregex.dll (which I a added to the zip) you
also need to install libusb, even if you do not want to use the usb
interface. At least you have to place a libusb0.dll beside mspdebug.exe.

You can download libusb for windows here:

http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/
Currently I use 1.2.5.0 and did not try 1.2.6.0 but it should work too.

Here is a sample session from my windows 7 x64 box

mspdebug -d COM5 -j uif
MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer<dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Trying to open UIF on COM5...
Initializing FET...
FET protocol version is 20402000
Configured for JTAG (2)
Set Vcc: 3000 mV
Device ID: 0xf449
Device: MSP430F449
Code memory starts at 0x1100
Number of breakpoints: 8
fet: FET returned NAK
fet: warning: message 0x30 failed

Available commands:
     =        delbreak  gdb      load      opt      reset    simio
     alias    dis      help      locka    prog      run      step
     break    erase    hexout    md        read      set      sym
     cgraph    exit      isearch  mw        regs      setbreak

Available options:
     color          gdb_loop        iradix
     fet_block_size  gdbc_xfer_size  quiet

Type "help<topic>" for more information.
Press Ctrl+D to quit.

(mspdebug) reset
(mspdebug) run
Running. Press Ctrl+C to interrupt...

     ( PC: 014b6)  ( R4: 0347a)  ( R8: 080bf)  (R12: 00400)
     ( SP: 009fe)  ( R5: 05a08)  ( R9: 06a6e)  (R13: 00004)
     ( SR: 00008)  ( R6: 034e8)  (R10: 09c9a)  (R14: 0009d)
     ( R3: 00000)  ( R7: 084ee)  (R11: 0ac8e)  (R15: 00231)
0x14b6:
     014b6: ab aa ab aa              DADD    @R10,    0xaaab(R11)
     014ba: 55 aa ab aa              DADD.B  0xaaab(R10), R5
     014be: ab aa ab aa              DADD    @R10,    0xaaab(R11)
     014c2: 55 aa 55 aa              DADD.B  0xaa55(R10), R5

Best regards

Matthias


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2


_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to