Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Jam STAPL Player Port to Visual .NET and FTD2XX

Hi All,

I am asking if anyone has ported the Altera Jam STAPL byte code Player to Visual .NET (either C++ or C#) along with calls to the FTDI FTD2XX dll to access an FT2232H chip. Below is more detail about what I would like to accomplish.

I have designed and built a PCB with an FTDI FT2232H USB to Serial chip and an Altera EPM240. The FTDI chip has two channels with one channel connected to I/O's on the PLD for communication to and from the PC. The other channel is connected to the JTAG pins of the PLD. I would like to be able to program the PLD via JTAG using a Windows Forms application. The JTAG pins are connected as:

FT2232H EPM240

AD0 TCK

AD1 TDI

AD2 TDO

AD3 TMS

The FT2232H has a built in JTAG operability through its MPSSE (Multi Protocol Synchronous Serial Engine). I would like to use this engine by utilizing the FTD2XX dll calls. I had a cursory glance at the source code of the Jam STAPL Byte Code Player from Altera. It seems like I should be able to use this code and replace the jdistub.c with a file that has calls to the FTD2XX dll.

My hope is that somebody has already done this task and can share the source code. Or perhaps has the code half way there and I could help out coding and testing the final project.

Thanks, Richard
No RepliesBe the first to reply