Eclipse debugging arm Bare Metal Programs

Source: Internet
Author: User
Tags jlink

First, integrated development environment

System: CentOS 6.5

Software section: Eclipse, GDB Server, Jlink software

Hardware section: Jlink Hardware

Getting Started 1: Starting from Sd/nor Flash, formatting NAND flash

Preparing for Work 2: Hardware connection

1. Jlink Connection

2. Serial Connection

3. NAND boot

Ii. installation of GDB Server

Download GDB ftp://sourceware.org/pub/gdb/releases/

Enter directory: #cd gdb-7.5

Compile and install: # . Configure--target=arm-linux--prefix=/usr/local/arm-gdb-v

# make

#make install 

  target indicates that the compiled build GDB is used to debug the Arm-linux program, prefix indicates the installation directory

 

export  path= $PATH:/usr/local/arm-gdb/bin/

 

Log off and re-login

Third, install Jlink software

Download jlink:https://www.segger.com/jlink-software.html

Decompression: Tar xvzf jlink_linux_v434a.tgz

Enter directory: CD jlink_linux_v434a

copy library: cp-d libjlinkarm.so*/usr/lib-f

Copy: CP 45-jlink.rules/etc/udev/rules.d/

Eclipse debugging arm Bare Metal Programs

Related Article

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.