Jump to content
  • 0

Is it possible to program FTDI MPSEE with a JTAG SMT2 and Adept SDK?


Thomas4086

Question

Hello,

I have used Digilent hardware, JTAG-HS2, and JTAG SMT2 before and used Adept SDK for both SPI and JTAG successfully.    FTDI shows how to program the MPSEE but it is unclear how one does this with Adept SDK.   I would like to implement a SPI like 4 wire serial protocol but dont want to bit-bang it using GPIOs.  Is there a way to program the serial protocol into the FTDI chip through SDK or use FTDI 2XXX DLL directly?

 

Thanks 

Thomas

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @Thomas4086,

I asked the engineer most familiar with the Adept system about this and they let me know that, unfortunately, there is no API to configure the MPSSE directly on our JTAG devices.

The engineer will not have any free cycles to do anything about this for quite some time, but how does your 4-wire SPI like protocol differ from the generic SPI that we do support (which of course uses the MPSSE)?

Thanks,
JColvin

Link to comment
Share on other sites

  • 0

Thanks for the response.  its a different protocol.   getting to the nitty-gritty of that distinction is not really on point, as the issue is not being able to program MPSEE for any desired protocol using Adept API.   sharing that info, wont get us where we need to go.

Can your engineer tell us if we can use the native FTDI DLLs?   We currently use Adept SDK but the board is a FTDI based chip.  is there anything preventing us from using FTDI provided drivers, FT2XX.DLL etc to program as FTDI shows? i.e. we use the Digilent hardware but native software.   Would the JTAG SMT2/HS2 still function if we went back to using the Adept API?   its not clear we would need to re-program the EEPROM, but use the native FTDI DLLs and example code FTDI provides to get to where we need to go.   What you have for hardware is closer to what we need than what FTDI offers (fixed 3.3V and poorly designed flying leads on too short cable).

Link to comment
Share on other sites

  • 0

Hi @Thomas4086,

I was informed that there will be no need to change the EEPROM and that you can simply use the FTD2XX library if you wanted to talk directly to the hardware. You'll need to know which signals control the multiplexers and tri-state buffers of course, but it sounds like you're already prepared on that side of things.

Let me know if you have any questions.

Thanks,
JColvin

Link to comment
Share on other sites

  • 0

OK, thank you.   Would your engineer know if the FTD2XX.DLL installed as part of Adept where i can leave the Adept API calls in the code I have and only access FTD2XX.DLL to program MPSEE when needed,  or  is this an "either/or" situation where I have to install FTDI support seperately and remove Adept? or can both co-exist?   does Adept use the FT2XX.DLL so it is already present, and its just a matter of accessing that lower level driver directly when needed, circumventing the API for just one function (MPSEE).

Link to comment
Share on other sites

  • 0

Hi @Thomas4086,

This is the response that I received:

Quote

Yes, FTD2XX.dll is installed by the Adept installer.

There is no need to un-install Adept - just call the FTD2XX API instead of the Adept API.

It won't be possible to interleave Adept API and FTD2XX API calls to the same device because the FTD2XX driver will only allow a single process to have an open handle to a specific device. Adept may allow you to open handles to the same device across multiple processes but there's some magic going on under the hood to allow that. If you want to use the FTD2XX API to control the MPSSE then just use that instead of using Adept to enumerate and open the device.

You can technically interleave Adept API and FTD2XX API calls in the same process but I don't recommend doing so because the device abstraction DLL maintains a known state of the device and that will become out of sync with the device if separate FTD2XX API calls are made.

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...