Talk:JTAG

From ArmadeusWiki
Jump to: navigation, search

OpenOCD 0.10 Installation

With latest processors/boards (starting from APF6/i.MX6), you might need a recent version of OpenOCD (by default debian still install 0.8 one):

libftdi

libftdi is needed for Amontec JTAGkey.

If cmake is not already installed on your PC then do it:

$ sudo apt-get install cmake

then:

$ wget http://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.3.tar.bz2
$ tar jxvf libftdi1-1.3.tar.bz2
$ cd libftdi1-1.3
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX="/usr" ../
$ make
$ sudo make install

openocd from git

$ git clone git://git.code.sf.net/p/openocd/code openocd.git
$ ./bootstrap 
$ ./configure       (./configure --enable-legacy-ft2232_libftdi ???)
$ make
$ sudo make install