From: Tim E. <ti...@op...> - 2012-05-12 16:46:38
|
Hello Daniel, > I'm trying to get xc3sprog working to program an XC9572XL using an > FT2232H-based module. I've managed to get it to compile, but it fails to > open the device: > > % ./xc3sprog -c ftdi > XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 655 $ OS: Linux > Free software: If you contribute nothing, expect nothing! > Feedback on success/failure/enhancement requests: > http://sourceforge.net/mail/?group_id=170565 > Check Sourceforge for updates: > http://sourceforge.net/projects/xc3sprog/develop > > Could not open FTDI device (using libftdi): device not found > Unable to access FTDI device with either libftdi or FTD2XX > > > The FT2232 works ok in UART mode, and starts up ftdi_sio and usbserial > automatically, and other programs are opening the device ok (eg. my eeprom > reprogramming code). You didn't specifically say so, but I assume that you removed the ftdi_sio module before running xc3sprog? Because that's one obvious way to prevent it from working. The low-level calls will fail if the serial device driver has control of the device. If that is not the issue, then let me know; I have some other suggestions concerning the description string in the cablelist.txt file. I have not tried accessing the default FT2232 (with its original internal description string) using the "-c ftdi", but if the above comments aren't the solution to your problem, I can check how this works on one of my boards. ---Tim +--------------------------------+-------------------------------------+ | Dr. R. Timothy Edwards (Tim) | email: ti...@op... | | Open Circuit Design, Inc. | web: http://opencircuitdesign.com | | 22815 Timber Creek Lane | phone: (301) 528-5030 | | Clarksburg, MD 20871-4001 | cell: (240) 401-0616 | +--------------------------------+-------------------------------------+ |