On 21.07.2011 02:58, Xiaofan Chen wrote:
>> You can add a few lines before the above section.
>>
>>          if (usb_set_configuration(tr->handle, 1)<  0) {
>>                  pr_error(__FILE__": can't set configuration 1");
>>                   usb_close(tr->handle);
>>                   return -1;
>>          }

Hey, great!  Adding those lines I'm now getting

<snip>
MSPDebug version 0.16 - 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.

olimex.c: Trying to open interface 0 on \\.\libusb0-0001--0x15ba-0x0002
olimex: rev 1 device
Resetting Olimex command processor...
Initializing FET...
FET protocol version is 10004001
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
Device ID: 0x0580
Device: MSP430F5438A
Code memory starts at 0x5c00
Number of breakpoints: 8
fet: FET returned error code 34 (Not supported by selected Interface)
fet: warning: message C_IDENT3 failed
:
:
<snap>

Does the above warning do any harm?

Daniel, could you please add the few lines of code from Xiaofan to 
olimex.c and rf2500.c if there are really no implications for Linux.

Also the '#ifdef WIN32' in util.c should be changed to '#if 
defined(WIN32)  ||  defined(__CYGWIN__)'.

In the FAQ section (or somewhere else) a reference to libusb-win32 would 
make it perfect.

Thanks for this good tool!

Hardy

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to