CPLD development board manufacturing resources
From DP
Contents |
Overview
Manufacturing programming and test procedure
Programming
Use a Bus Pirate v3 with a special firmware to program the CPLD development board.
- Program a Bus Pirate v3 with the XSVF programmer firmware (bpv3-xsvf-vb.hex) using the firmware update procedure
- Connect a CPLD breakout board to the Bus Pirate as shown in the connections table below
- Run the XSVF player to program the CPLD as described in application below. Example: BPXSVFPLAYER -p com5 -f c:\svf\xc2cprog.xsvf
- 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).
- Configure the CPLD board power supply:
- Place a jumper on header VIO (XC9572XL version only)
- Place a jumper on V1 and V2 in the 3.3volt position (XC2C64A version only)
- LED D1 on the CPLD board should be on
- Press button PB: LED D1 turns off, LED D2 turns on
- Release button PB: LED D2 turns off, LED D1 turns on
Downloads
- Forum
- Application source in SVN
- SVF for XC9572XL
- SVF for XC2C64A
Connections
Bus Pirate | Dir. | 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.
Application
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
Success!
Thank you for Playing! :-)
E:\>
Example XSVF programming session.
BPXSVFPLAYER -p com5 -f c:\svf\xc2cprog.xsvf
Usage:
- -p the Bus Pirate serial port
- -f location of the XSVF file to program