CPLD development board manufacturing resources

From DP

Jump to: navigation , search




Manufacturing programming and test procedure


Use a Bus Pirate v3 with a special firmware to program the CPLD development board.

  1. Program a Bus Pirate v3 with the XSVF programmer firmware (bpv3-xsvf-vb.hex) using the firmware update procedure
  2. Connect a CPLD breakout board to the Bus Pirate as shown in the connections table below
  3. Run the XSVF player to program the CPLD as described in application below. Example: BPXSVFPLAYER -p com5 -f c:\svf\xc2cprog.xsvf
  4. The XSVF player should report success

Test procedure

It is easiest to test this BEFORE you disconnect from the programmer (while there is power to the board).

  1. Configure the CPLD board power supply:
    1. Place a jumper on header VIO (XC9572XL version only)
    2. Place a jumper on V1 and V2 in the 3.3volt position (XC2C64A version only)
  2. LED D1 on the CPLD board should be on
  3. Press button PB: LED D1 turns off, LED D2 turns on
  4. Release button PB: LED D2 turns off, LED D1 turns on



Bus PirateDir. JTAG Description
MOSI TDI Master Out, Slave In
MISO TDO Master In, Slave Out
CS TMS Chip Select
CLK TCK Clock signal
+3.3volts +3.3volts Power supply
GND GND Signal Ground

Connect the Bus Pirate to the development board as shown in the table.


E:\>BPXSVFPLAYER -p com5 -f c:\svf\xc2cprog.xsvf
File is 22846 bytes, read 22846 bytes
Opening Bus Pirate on com5 at 115200bps
Using XSVF file c:\svf\xc2cprog.xsvf
Entering XSVF Player Mode
Waiting for first data request...ok
Sending 4096 Bytes (1000)...ok
Sending 4096 Bytes (2000)...ok
Sending 4096 Bytes (3000)...ok
Sending 4096 Bytes (4000)...ok
Sending 4096 Bytes (5000)...ok
Sending 2366 Bytes (593E)...ok
End of operation reply 00
Thank you for Playing! :-)

Example XSVF programming session.

BPXSVFPLAYER -p com5 -f c:\svf\xc2cprog.xsvf


  • -p the Bus Pirate serial port
  • -f location of the XSVF file to program