FPGARelated.com
Forums

Digilent USB support from Xilinx Impact (Programmer cable SDK for Impact)

Started by zcsi...@gmail.com August 24, 2006
David Ashley schrieb:

> zcsizmadia@gmail.com wrote: > > BTW I'm a hardcore Windows guys so this soldiers/enemy example wasnt't > > funny at all :)) > > You're also a top poster sometimes :^). But anyway it's not > directed at you, if I were to sell out and move to windows I'd > be betraying the cause. You and most of the world are > perfectly free to be in the windows camp. More power to you. > > I use windows when I have to but I'm just so much more > effective when I can use linux. > > -Dave > > -- > David Ashley http://www.xdr.com/dash > Embedded linux, device drivers, system architecture
there are different excuses, reasons for everything, as example I use WinXP, while: 1) it is capable to start multiply instances of "norton commander" !!! well sure yet not very good at it, but manageable. yes I have looked at midnight commander too, but I still stick to my old tools, eg the original NC (or actually its clone FAR) Antti
zcsizmadia@gmail.com wrote:

> I inject a dll into the impact.exe, and hook DeviceIoControl and some > other kernel32 APIs. impact.exe calls DeviceIoControl to read/write LPT > I/O port using windriver6 driver. Instead of calling original windrvr > DeviceIoControl function I just forward the TMS/TDI/TDO/TCK bits to > Digilent USB (or any other programmer cable).
Easy enough to do that with LD_PRELOAD in Linux. (.so injection) Interesting idea!
> On linux the easiest could be to create a brand new windrvr emulator > driver where we implement all the IOCTLs used by impact. BTW, I have no > clue why they are using the windriver as a device driver, because all > the features they do with the Jungo driver ius really simple and > generic(eg: user mode I/O access, USB acces to device, etc.)
Assuming you can get the windrv header file, although I think you can probably reverse engineer it anyway. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Go to windriver website and download the evaluation version. It
includes the header files.

Zoltan