Skip to main content
Topic: Urjtag 0.10 vs Urjtag svn (Read 5244 times) previous topic - next topic

Urjtag 0.10 vs Urjtag svn

I downloaded and builded the svn version of urjtag, and I found some significant changes related to Bus Blaster, which appear as a ft2232 cable. Related to this the source file ft2232.c in the 0.10 version has 61208 bytes and is from 2009-04-12, and in the svn version has 90305 bytes and is from 2012-09-19.

They are many changes, like the new jtag executable in my case is only 6232 bytes vs the 0.10 jtag of 2153838 bytes, because the new is based on libraries (I must to execute before use it the first time ldconfig, to add to the system the new libraries)

I must to install python-devel, Flex, gettext-tools, byacc, and creating a symlink with the name yacc pointing to byacc.
http://urjtag.svn.sourceforge.net/viewv ... repository
The commands are:

svn co http://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk urjtag

cd urjtag/jtag
./autogen.sh
# ./configure done by autogen.sh; run it here with special options if needed
make
make install

By runing the ./autogen.sh they was no need to invoque the ./configure, which has detected and enabled this:
urjtag is now configured for

  Libraries:
    libusb    : 1.0
    libftdi    : yes (no async mode)
    libftd2xx  : yes
    inpout32  : no

  Subsystems:
    SVF        : yes
    BSDL      : yes
    STAPL      : no

  Drivers:
    Bus        : arm9tdmi au1500 avr32 bcm1250 blackfin bscoach ejtag ejtag_dma fjmem ixp425 ixp435 ixp465 jopcyc h7202 lh7a400 mpc5200 mpc824x mpc8313 mpc837x ppc405ep ppc440gx_ebc8 prototype pxa2x0 pxa27x s3c4510 sa1110 sh7727 sh7750r sh7751r sharc_21065L sharc_21369_ezkit slsup3 tx4925 zefant_xs3
    Cable      : arcom byteblaster dlc5 ea253 ei012 ft2232 gpio ice100 igloo jlink keithkoep lattice mpcbdm triton usbblaster vsllink wiggler xpc
    Lowlevel  : direct ftdi ftd2xx ppdev

  Language bindings:
    python    : yes

Re: Urjtag 0.10 vs Urjtag svn

Reply #1
I just followed this guide (ubuntu 10.04)

Edit: And Mint-14.1 x64 -  today all ok.


make & sudo make install went fine

but on excecuting : jtag i got this error
jtag: error while loading shared libraries: liburjtag.so.0: cannot open shared object file: No such file or directory

The library is installed in /usr/local/lib
ls /usr/local/lib -l
lrwxrwxrwx 1 root root      18 2013-02-07 22:43 liburjtag.so.0 -> liburjtag.so.0.0.0

And i have the libc.conf in my /etc/ld.so.conf.d dir
containing :

 cat libc.conf
# libc default configuration
/usr/local/lib

But i apparently had to reload the cache via a : sudo ldconfig

Now jtag starts ...

And i'm only waiting for my (newly ordered) BBv2 :-(

/Bingo

Re: Urjtag 0.10 vs Urjtag svn

Reply #2
I got my BB v2.5

and tried Urjtag

sudo jtag

Apparently it defaults to the ftd2xx driver witch i havent build against (non gpl)
jtag> cable ft2232 interface=1
error: Couldn't connect to suitable USB device.
error: ftdi/ftd2xx error: ftdi_usb_open_desc() failed: device not found

So use this command instead:
jtag> cable ft2232 pid=0x6010 vid=0x403 interface=1
Connected to libftdi driver.
jtag>

/Bingo