From: Uwe B. <bo...@el...> - 2012-04-29 13:13:58
|
Hello JB, >>>>> "JB" == JB <jbw...@gm...> writes: JB> Hello, I am trying to program an XC6SLX9 with an UM232H (an FT232H JB> based dev board). I have connected the JTAG signals, and I am now JB> trying to use xc3sprog to download my bitstream to the JB> board. xc3sprog does recognize the FPGA (it is the only component in JB> the JTAG chain), but it does not seem to be able to program it. At JB> first, the operation is successful, but the FPGA does nothing (it is JB> in "limbo", it does absolutely nothing, it is not running the old JB> program, nor is it running the new one). If I try it again, all JB> subsequent attempts fail (until the board power is turned off and JB> then on), with the following error message: JB> Device failed to configure, INSTRUCTION_CAPTURE is 0x3f JB> This might be a bug, but it is more likely I am missing something. JB> This is the command line I have been using: JB> xc3sprog -c um232h -L control.bit -v JB> I have also added a new entry for the UM232H board to the JB> cablelist.txt file - (I don't really know what the other FTDI JB> options mean: INTERFACE:DBUS_DATA:DBUS_EN:CBUS_DAT:ACBUS_EN): If the JTAG needs some bits e.g. to enable the interface, you have to set these bits. If you code this enabling by hand, you would set thses lines with the MPSSE 0x80-0x83 commands "Set/Read DATA Bits High/Low with the values DBUS_DATA:DBUS_EN:CBUS_DAT:ACBUS_EN. The values supplied are extended with the values needed to enable the Pins used for JTAG and sent to the FTDI device JB> um232h ftdi 1500000 0x0403:0x6014::0: So your coding would mean that no special line is needed. If you wired the UM232H module direct, this would be fine. JB> Here is the full verbose transcript: JB, please test the integrity of your setup with running xc3sprog -c um232h -T0 If there are problems, revisit your wiring. Let the list know about the outcome! -- Uwe Bonnes bo...@el... Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- |