20145317 Basic Experimental Report of information security system design

Source: Internet
Author: User

1 Connecting the ARM Development Board

First connect the power cord, so that the development Board switch is closed, and then the serial line, the line, cable and USB cable and the PC connected. Connect the serial line to the left side of the serial port.

2 Building a Super terminal

Create a new communication terminal, named Arm. In the Properties dialog box, set the baud rate to 115200, the data bit to 8, no parity, stop bit 1, no data flow control

3 Starting the experimental platform

Turn on the HyperTerminal first, and then turn on the arm machine power switch. The information for the arm machine is displayed in the HyperTerminal window. Enter the Ifconfig command to record the IP of the arm machine

4. Modify the XP system and the IP of the Redhat virtual machine on the same network segment as the IP of the arm machine.

The IP address of the XP system is in the local Connection Properties tab, Internet Protocol (TCP/IP) options; The IP address of Rad hat is set in "System Settings-network-edit-static IP address" and the IP will not take effect until the virtual machine is restarted after setting is complete.

5. Installing the ARM compiler

Access the shared folder through the PC and copy the compiler to the shared folder so that the virtual machine can also be accessed. Install the extracted files.

6. Configure Environment variables

Use VI in the virtual machine to modify the PATH variable in the/root/.bash_profile file to path=path:home/bin:/opt/host/armv4l/bin/, after disk execution: Source/root/.bash_ Profile, the armv4l-unknown-linux-gcc will be automatically searched later, can be entered on the terminal.

7. Build the. c File and compile it

Enter the folder/ROOT/BC in the virtual machine and write the hello.c file in this directory. Compile the hello.c with the command ARMV4L-UNKNOWN-LINUX-GCC and generate a hello executable file.

8. Download and debug

Mount the shared folder in HyperTerminal to establish communication between the Development Board and the virtual machine. Enter the command "mount-t nfs-o nolock 192.168.0.234:/home/bc/host" (note that there are spaces behind BC to mount the BC file to the/host directory, or a subdirectory if no spaces are available.) )

20145317 Basic Experimental Report of information security system design

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.