Beijing Institute of Electronic Technology (BESTI)
Real Inspection report
Course: Information Security system Design Basic class: 1352
Name: Pan Heng Shi Zhiyu
Study No.: 20135209 20135204
Score: Instructor: Lou Jia Peng Experimental Date: 2015.11.10
Experiment level: Preview degree: Experiment time: 15:30~18:00
Instrument Group: Compulsory/Elective: compulsory test number: 01
Experiment Name: Embedded development based on s3c2410 c4>
Experimental purposes and requirements: & nbsp
familiar with Linux development environment learning based on Span style= "text-decoration:underline;" > s3c2410 configuration and use of the development environment. Use linux ARMV4L-UNKNOWN-LINUX-GCC compile,
use based on NFS mode of download debugging, understand the basic process of embedded development.
Experimental instrument:
Name |
Model |
Number |
PC Machine |
|
1 |
ARM Development Board |
Up-netarm2410-cl |
1 |
First, the contents of the experiment, steps and experience:
1. Experimental steps:
(1) Connect the ARM Development Board:
Connect the ARM Development Board power Cord to keep the board switch closed. And then the serial line, the line and the network cable and the PC computer connection;
(2) Build HyperTerminal:
Create a new communication terminal, named Arm.
(3) Start the experimental platform:
Open the HyperTerminal and turn on the arm machine power switch. Wait, with ifconfig command, record the IP of ARM machine is: 192.168.0.121
(4) Modify the IP of the XP system and the Redhat virtual machine so that they are in the same network segment as the IP of the arm machine.
(5) Installing the ARM compiler:
In PC "Start", "Run", enter the IP of the virtual machine. \\192.168.0.234, enter the username BC, password 123456 and then OK.
You can access the files for the virtual machine. Then extract the required files to the shared file BC.
Enter the virtual machine, enter the./install.sh in the command line, the installation script will automatically create the directory, configure the compilation environment, operation see:
(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: Sourse/root/.bash_profile, then ARMV4L-UNKNOW-LINUX-GCC will automatically search, can be entered on the terminal.
(7) Build hello.c file and compile
In the virtual machine into the folder/ROOT/BC, written in this directory, hello.c file. Compile the hello.c with the command ARMV4L-UNKNOW-LINUX-GCC
Generate a hello executable file.
(8) Download debugging:
Mount the shared folder in HyperTerminal to establish communication between the Development Board and the virtual machine. Enter command "Mount-t nfs-o nolock 192.168.0.234:/home/bc/host"
Run the hello executable that was compiled through the Chai Jing-I terminal.
2. Experiment Experience:
This experiment on the basis of a clear division of labor to complete the relatively clear, but also very successful. Some puzzling questions in the process of doing it have also been answered after consulting others.
For the first time, use the ARM Development Board to understand the insertion point of each component when getting started, and to avoid connection errors. This experiment is relatively simple, complete smoothly, in the hands of the real
It is good for us to practice and consolidate what we have learned.
Second, the question
1. Understanding of the experimental process:
2. Problems encountered during the experiment:
Experiment one report 20135209 Pan Heng 20135204 Shi Zhiyu