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
Am 30.01.2012 02:49, schrieb Jennifer Sy:
Hello Daniel,
Using MSP-FET430UIF v1.4a. And my target device is msp430f5438.
Below are the messages shown after running mspdebug
pdebug/mspdebug-0.18-mingw32
$ ./mspdebug.exe uif -j -d /dev/ttyS7
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...
Initializing FET...
uif: read error: The wait operation timed out.
fet: open failed
Trying again...
Initializing FET...
uif: read error: The wait operation timed out.
fet: open failed
Regards,
Jing
________________________________
From: Daniel Beer<dlb...@gmail.com>
To: jing<jcs...@yahoo.com>
Cc: mspgcc-users@lists.sourceforge.net
Sent: Saturday, 28 January 2012, 10:49
Subject: Re: [Mspgcc-users] MSPDebug and MinGW
On Fri, Jan 27, 2012 at 08:28:47AM +0000, jing wrote:
Have you manage to make use of mspdebug on mingw?
I tried with the latest v0.18 but is getting the same timeout error you'd
encounter. (running windows xp)
FET is definitely working as i was able to program my msp430 experimenter
board using MSP430Flasher_v1.1.5.0.
thank you in advance
What device are you using it with and how are you invoking mspdebug?
Would you be able to provide a transcript showing where the timeout
occurs?
Regards,
Daniel
------------------------------------------------------------------------------
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