Beijing Institute of Electronic Technology (BESTI)
Real Inspection report
Course: Information Security design Basic class: 1353
Name: Guo Hao li hai Empty
Study No.: 20135327 20135329
Score: Instructor: Lou Jia Peng Experimental Date: 2015.11.10
Experiment level: Preview degree: Experiment time: 15:30~18:00
Instrument Group: Compulsory/Elective: Experiment Number: 1
Experiment Name: Experiment Two: solid design
Experimental purposes and Requirements: Learn, read and understand The code in 02_pthread 03_tty.
Experimental instrument:
Name |
Model |
Number |
ARM Experiment Box |
|
1 |
Pc |
|
1 |
Experiment contents, steps and experience:
1, the configuration of the development environment with the experimental one.
2. Copy the experiment code to the shared folder.
3. Compile the code in the virtual machine.
For multithreaded-related code, you need to add a-lpthread library at compile time.
4. Download and debug
Run the executable file in HyperTerminal pthread
Run the executable file term.
Note: If the following error occurs while executing the./term
/dev/ttys0:no such file or directory can be resolved by using a method to establish a connection.
In Linux under the serial port file is located in/dev, generally in the old version of the kernel serial port one for
/DEV/TTYS0, serial port Two for/DEV/TTYS1, in our Development Board serial device is located in
/dev/tts/, because there is no ttyS0 this device in the Development Board, we have to establish a connection.
First, enter the/dev folder in HyperTerminal.
Enter the command "ln–sf/dev/tts/0/dev/ttys0" note the space with the letter L, number 0.
Summarize:
Experiment two is mainly based on the experimental configuration of the experimental environment, not too many problems, the only thing to pay attention to is the last compile term to modify the serial port, but the experimental steps have been very detailed, too much needless to say, the only note is SF and/dev is a space between.
The basic experiment of information security system design two solid design 20135327 Guo Hao 20135329 li Hai-air