Hi,
just trying to use the BusBlaster under Linux.
It seems the wiki is a bit out of date and I would be glad if we could summarize the actual status.
Here is what I did so far.
I use 64 bit Arch Linux system and used a AUR package (a receipt) to build and install urJTAG from SVN.
The busblaster was nicely recognized by the ftdi_sio drivers. However, the package explicitly build urJTAG against the proprietary ftd2xx drivers. No idea if that is a personal preference or a requirement. Anyhow, those drivers came as dependencies in form of another Arch Linux package (thanks Arch).
After removing the ftdi_sio drivers
sudo rmmod ftdi_sio
I can start urJTAG
jtag
I hate if program binaries call different compared to the software name esp. for CLI-tools ;) )
Furthermore, it seems not longer necessary to used a patched version of urJTAG to address the second interface (interface=1). This seems to work with the current build from urJTAG.
However, the Arch AUR shipped a patch which took care of some long int and integer conversion. This problem was addressed here already and seems not to be upstream yet.
--- urjtag/src/tap/usbconn/libftd2xx.c.ORIG 2011-10-31 10:00:34.746529359 +0100
+++ urjtag/src/tap/usbconn/libftd2xx.c 2011-10-31 10:03:43.009128467 +0100
@@ -172,7 +172,7 @@
urj_log (URJ_LOG_LEVEL_COMM,
"%sflush end: status %ld, xferred %ld, recvd %ldn", module,
- status, xferred, recvd);
+ (long int) status, (long int) xferred, (long int) recvd);
return status != FT_OK ? -1 : xferred;
}
@@ -225,7 +225,7 @@
}
urj_log (URJ_LOG_LEVEL_COMM, "%sread end : status %ld, length %dn",
- module, status, cpy_len + len);
+ module, (long int) status, (int) cpy_len + len);
return status != FT_OK ? -1 : cpy_len + len;
}
So the question remain. Could it work with the native drivers (ftdi_sio) and where are the pros and cons?
Obvious one pro would be the fact that the ftdi_sio drivers are available on most systems without additional installation.
If we once get an up-to-date "How to use it under Linux" we might push it forward to the wiki.
Greetings
Torwag