Inter-Task and Inter-Process Communication in VxWorks

Inter-Task and Inter-Process Communication in VxWorks

Click “Read the original text” to access more VxWorks resources VxWorks provides several different mechanisms for inter-task communication. The different methods available include: Semaphores Semaphores are the primary means of synchronization between tasks in VxWorks. There are three different types of semaphores: binary semaphores, counting semaphores, and mutex semaphores. Binary semaphores are used for simple … Read more

How to Use Startup Scripts in VxWorks

How to Use Startup Scripts in VxWorks

How to use the startup script in VxWorks is something everyone should know. Here’s an example: Need to define the following two macros: #define INCLUDE_SHELL #define INCLUDE_STARTUP_SCRIPT Called in usrConfig.c: #ifdef INCLUDE_STARTUP_SCRIPT usrStartupScript (startupScriptFieldSplit (sysBootParams.startupScript)); #endif There might be an issue with devices like sata/sd/usb not working. The reason is that this function is executed … Read more

Accelerating Graphic Applications with VxWorks 7 on i.MX 6

Accelerating Graphic Applications with VxWorks 7 on i.MX 6

Click “Read the original text” to access more VxWorks resources Free download of VxWorks technical materials, resources sourced from the internet, copyright belongs to the original author! Wind River’s Ka Kay Achacoso demonstrated a device running the VxWorks 7 real-time operating system on the i.MX 6 series application processor. This series of processors integrates a … Read more

Implementing Dual NIC Redundancy Backup Technology in VxWorks Environment

Implementing Dual NIC Redundancy Backup Technology in VxWorks Environment

Abstract: In systems with high reliability requirements for network communication, dual redundancy backup for network cards is necessary. When the active network card or line fails, it can automatically switch to the backup network card. This article details the implementation of a dual network card redundancy backup technology in the real-time operating system VxWorks. Keywords: … Read more

Seven Exciting Features of VxWorks 7

Seven Exciting Features of VxWorks 7

If you haven’t explored the new version of VxWorks 7 yet, do yourself a favor and look for relevant information to learn more. Wind River has made the world’s top real-time operating system (RTOS) even better, staying true to its four principles of confidentiality, security, reliability, and certifiability while also introducing exciting new features such … Read more

Running VxWorks 7 on Raspberry Pi 3B/3B+

Running VxWorks 7 on Raspberry Pi 3B/3B+

Introduction The VxWorks 7 SDK is a development environment specifically designed for VxWorks application developers, including the following features: Standard cross-compilation tools based on clang/LLVM for building downloadable kernel modules (DKM) and RTP (real-time process) applications Simplified build management: makefile, cmake, roll-your own Target/architecture specific: includes a generic VxWorks kernel that can be booted on … Read more

Understanding the Boot Process and Overflow Testing of VxWorks

Understanding the Boot Process and Overflow Testing of VxWorks

Author:wh0am1i@Zhidao Chuangyu 404 Laboratory Date: April 11, 2024 In previous articles, we successfully compiled and started VxWorks. This article will focus on the boot process of VxWorks and use GDB for debugging to delve deeper into the startup process. 1 Compiling a Debuggable VxWorks References First, create a new VSB project with the configuration as … Read more

Understanding CPU Utilization in VxWorks

Understanding CPU Utilization in VxWorks

Code is provided for learning reference. Please read the comments in the code carefully. Code is provided for learning reference. Please read the comments in the code carefully. #include "vxWorks.h" #include "spyLib.h" #include "stdio.h" #include "ioLib.h" #include "stdarg.h" #include "taskLib.h" #include "sysLib.h" #include "string.h" #define SPYTASKSMAX 100 int data_ana(const char*,…); /* Function: Detect CPU usage … Read more

Setting Up an OpenGL Programming Environment on VxWorks

Setting Up an OpenGL Programming Environment on VxWorks

Click “Read the original text” to access more VxWorks resources 1. Introduction OpenGL is a well-known API primarily used to render geometric primitives into a frame buffer based on camera settings. Mesa is a specific implementation of OpenGL, with the current version being 7.0.2 DRI stands for Direct Rendering Infrastructure, which includes subprojects such as … Read more