On Sunday 28 June 2009, you wrote: > What I have to do to add this Interface-board to Openocd? > > First, is there already an Adapter with the Pinning below which I can use? > > Is there a Documentation with the Pinnings and the differences of > the supported JTAG-Interfaces? > I looked a little bit around in the sources, tried to read some > documentation, but not very successful.
Schematics for the various boards. IMO such doc would be a good addition. It would help answering questions like your first one... > Do I have to add the Interface in the C-Sources, if yes what > files I have to modify? My impression is that you will. ft2232.c is the only thing you should need to change, other than adding a new tcl/interface/...cfg file for anyone else using this ICDI board. (Connecting it to one of the other boards using that 10-pin Mini JTAG connector, etc.) > I found the ft2232_layout_t array in the ft2322.c, where > different initialisation and reset > functions are defined. > > > The Pining of the Ft2232 is the following if I understood everything right: > > (TCK -> ADBUS0) > (TDI -> ADBUS1 (Output from JTAG-Board, TDI on Controller Side)) > (TDO -> ADBUS2 (Input for JTAG-Board, TDO on Controller Side)) > (TMS -> ADBUS3) > (SRST -> ADBUS5) > > There is an enable signal for all JTAG Drivers connected to ADBUS6. > There is a Signal called DBGMOD (ADBUS7) which enables or disables > the TMS Driver and makes some > further switching with the TDO/TMS Signals. Seems, that it is for > a kind of Single-wire > Communication over TMS, is this knownin other JTAG Interfaces? ARM has a two-wire JTAG flavor; OpenOCD doesn't support it (yet?). Schematics for the B90 EK also show ACBUS0 as a VSENSE input, so the debugger can tell if there's a board there. Support for that would be a Good Thing too. > The second Interface (BDBUS) of the ft2322 is used as UART and > is connected to controller too, > I think for build-in Bootloader support of the LM3sB90. And whatever else needs a serial port. > By the way, I tried to compile openocd trunk with static linking for > the ftd2xx driver... any Idea ?? (System is Ubuntu, with gcc4.2.4) I'm guessing Ubuntu 8.04 or 8.04.2 with that version of GCC ... I'd just use libftdi code. You may need to install a newer version of that library though, or upgrade to a newer Ubuntu. - Dave _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development