Install JLink in CentOS 6.4 and solve problems
First, download JLink_Linux_V422.tgz
Decompress the package and cd it to its directory.
$ Sudo cp libjlinkarm. so. */usr/lib
$ Sudo cp 45-jlink.rules/etc/udev/rules. d/
$./Start
If libreadline. so.5 not found appears, you can check that libreadline. so.6 may exist in/lib/. You can make a soft link.
$ Cd/lib/
$ Ln-s libreadline. so.6 libreadline. so.5
Run: $ sudo cp JLinkExe/usr/bin/and $ sudo cp JLinkGDBServer/usr/bin/
Connect the Development Board, Jlink, and PC, and power on the development board!
[Root @ acer readline-5.2] # JLinkExe
Segger j-Link Commander V4.22 ('? 'For help)
Compiled Dec 17 2010 17:41:09
Can not connect to J-Link via USB.
J-Link> q
Error:
If this happens :.
/JLinkExe: symbol lookup error:/usr/lib/libreadline. so.5: undefined symbol: PC
If libreadline appears. so.5 not found. You can view the possible libreadline under/lib. so.6, you can make a soft link if libreadline appears. so.5 not found. You can view the possible libreadline under/lib. in so.6, you can download ncurses-5.6.tat.gz with a soft link to compile and install it. Download readline-5.2.tar.gz later
Decompress the cd file to its directory for execution.
Be sure to follow the order below, otherwise it may fail.
$./Configure -- prefix =/usr -- with-ncurses
$ Cd shlib
Change SHLIB_LIBS = in Makefile to SHLIB_LIBS =-lncurses.
$ Make
$ Sudo make install
$ Cd ..
$ Make
$ Sudo make install
Recommended reading:
Build an ARM debugging environment for JLink + Insight in Linux
Bare metal debugging OK6410 without using JLink
How to Use JLink to indirectly burn the S3C2410, S3C2440 Development Board Nor, and Nand Flash
How to Use JLink to burn U-boot to NAND Flash
Setup of the debugging environment for bare metal ARM in Linux (GDB + JLink)