The basic experiment of information security system design two solid design 20135327 Guo Hao 20135329 li Hai-air

Source: Internet
Author: User

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

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.