On Wed, Jul 20, 2011 at 3:31 AM, Hardy Griech <nt...@mardys.de> wrote: > I'm trying to compile MSPDebug under Windows/Cygwin without success. It > needs a minor modification to compile
I think the issue is related to the fact the Cygwin gcc does not define WIN32 (only __CYGWIN__) and it does not like this line in util.c .sa_handler = sigint_handler, Interestingly, this one works with Cygwin. http://processors.wiki.ti.com/index.php/Measuring_Boot_Time > and then --usb-list does not show anything connected. > Have I missed something? Any ready-made MSPDebug for > Windows out there? If --usb-list does not show anything connected, you have not installed the libusb-win32 driver for your USB device. I do not have any proper hardware tool to test mspdebug. But I just built mspdebug under Cygwin and then run it, it actually lists my J-Link (with libusb-win32 filter driver on top of the original Segger J-Link driver). bash-4.1# ./mspdebug.exe --usb-list Devices on bus 000: 000:000 1366:0101 [serial: 123456] You can download libusb-win32 from Sourceforge. Then you can use the following two ways to install the driver. 1) Filter driver mode: easier, run the GUI Filter Wizard, in this case, you can run the TI/IAR software along with mspdebug. Be sure to use 1.2.x version (latest release version is 1.2.4.0). 2) Device driver mode, use the GUI Inf-Wizard to replace the TI driver with libusb-win32 device driver. This is usually more stable. But in this case, you will not be able to use TI/IAR before switching back to use the TI driver. BTW, Cygwin's built-in libusb-win32 is very old but nobody has stepped in to port the new version to Cygwin. Anyway, the import library and cygusb0.dll should still work with later version of libusb0.sys driver. -- Xiaofan ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users