Install JLink in CentOS 6.4 and solve problems

Source: Internet
Author: User

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)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.