Build your embedded VxWorks Development Environment

Source: Internet
Author: User

3.1
The most common development environment configuration uses the serial port and network connection (between host and target ). The serial port connection is used to communicate with the boot loader (for example, the output information is displayed on the host), and the network connection is used to transmit files, includingVxWorksSystem
Image. By default, network connections are used.

3.1.1
Normal operation: Start VxWorks on the target machine. VxWorks includes an interface for target agent, VxWorks, and other workbench tools.

3.1.2
Wind River workbench host tools (host machine tools), such as shells and debuggers, communicate with the target server on the host system. Target Server can be configured as multiple backend (back ends ). Different backend communication modes are available (between target server and target agent ). VxWorks can be configured as many different target agent communication interfaces. The communication interface between target server and target agent is based on the communication method (serial port, network, JTAG, etc.) between your host and target. For more details, see:

Target
Three modes that can be executed by the agent:User
Mode
,System Mode, AndDual
Mode
.

User
In mode, the agent runs as VxWorks tasks. Debugging is based on a single task.

System
In mode, the agent runs outside VxWorks, just like Rom monitor. Debug your application and run the VxWorks single thread. In this mode, when the target encounters a breakpoint, VxWorks and its applications stop and the interruption is locked. The biggest advantage of this method is that you can perform it in a single step in ISR. On the other hand, this method is very difficult to process a single task, and another drawback is that it is more "invasive ". It significantly increases the response time of the interruption.

Dual
In mode, VxWorks is configured as two agents:
User-mode agent (Include_wdb_task), And a system-mode agent (Include_wdb_sys)

3.3
Boot media: Rom (used in most boards), floppy disk (often used in Pentium systems), flash
Memory

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.