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