I've been following some of this list for a while now, particularly regarding 
FTDI based JTAG tool development.  I only recently noticed that I no longer 
needed to patch into ft2232.c, but instead could simply write a configuration 
file for my FT4232H based dongle.  Since I don't use the provided d2xx driver, 
I don't have too many speed issues.  So I'm excited the code is getting cleaned 
up.  However, I've got a bit of a problem.  I have a unique JTAG dongle that 
allows me to select the target voltage.  I typically use a python script for 
this (there was a libmpsse project somewhere, and I added a little additional 
SPI support and it has python bindings).  However, it would be extraordinarily 
nice to be able to do this directly through OpenOCD.  I noticed that there are 
several commands for adapters in general that get added during OpenOCD 
initialization, however, since this feature isn't present in EVERY FTDI JTAG 
adapter, I wanted to be able to add scriptable commands either throug
 h the interface script, or on top of the FTDI code, but without polluting the 
FTDI code.  This is where the problem comes in:
  Basically I have to open one port as an SPI interface temporarily, send some 
commands then I'm set and can act like a simple FTDI JTAG.
  1) I don't see any way to really do what I need through the scripting 
interface
  2) I didn't want to add a MOSTLY IDENTICAL JTAG driver into the mix.

Is there any way to do this WITHOUT having to add another "mostly identical" 
JTAG driver?  It is unbelievably convenient to just write a script and have 
support for my adapter.


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to