Issues Encountered Switching LLVM Compiler for VxWorks on RISC-V

Issues Encountered Switching LLVM Compiler for VxWorks on RISC-V

Sharing various “pits” encountered during the process of switching the VxWorks operating system to support the RISC-V architecture from the GCC compiler to the LLVM compiler. The speaker, Meng Bin, is a Senior R&D Manager in the VxWorks Product Division at Wind River Systems, China R&D Center. He is an active participant and contributor in … Read more

VxWorks-Based Onboard Bus Simulation System for Aircraft

VxWorks-Based Onboard Bus Simulation System for Aircraft

Follow “Aviation Electronics Technology Circle” for aviation news and technical insights~ Abstract This article introduces a design method for a bus simulation system based on the embedded real-time operating system VxWorks, in conjunction with a new type of aircraft used by our military. Utilizing aviation onboard bus technology and computer local area network technology, with … Read more

Common Functions in VxWorks Programming

Common Functions in VxWorks Programming

WeChat Official Account: North South North There is a path through the mountains, diligence is the way; the sea of learning is endless, skillful craft is the boat! 1. Official Program Guide Located in the installation directory: \docs\vxworks\guide\index.html 2. Common Libraries: #include "taskLib.h" /* Task */ #include "msgQLib.h" /* Message Queue */ #include "semLib.h" /* … Read more

Integrating U-Boot with VxWorks 7

Integrating U-Boot with VxWorks 7

Click “Read the Original” to Access More VxWorks Resources Free download of VxWorks technical materials, resources sourced from the internet, copyright belongs to the original authors! 1 Introduction VxWorks is a real-time operating system produced by Wind River, while U-Boot is a widely known general-purpose bootloader that runs as the earliest code after an embedded … Read more

Installing and Running QT on VxWorks 6.8

Installing and Running QT on VxWorks 6.8

Click “Read the Original” for more VxWorks resources Free download of VxWorks technical materials, resources sourced from the internet, copyright belongs to the original authors! 1. Introduction This article details how to install and configure QT on the VxWorks 6.8 operating system, providing a thorough process with images and text, along with detailed steps for … Read more

Porting and Using VxWorks RngLib Ring Buffer

Porting and Using VxWorks RngLib Ring Buffer

1. RngLib Source Code rngLib.h /* rngLib.h – ring buffer subroutine library header */ /* Copyright 1984-2004 Wind River Systems, Inc. */ /*modification history——————–02e,22oct04,aeg removed rngCreateKernel() and rngDeleteKernel() (SPR #102956)02d,23mar04,job Removed special handling of STDC for function prototypes02c,20jan04,dat Adding rngCreateKernel for 8843702b,22sep92,rrr added support for c++02a,04jul92,jcf cleaned up.01k,26may92,rrr the tree shuffle01j,04oct91,rrr passed through the ansification … Read more

Understanding VxWorks Kernel: Real-Time Operating System

Understanding VxWorks Kernel: Real-Time Operating System

This article begins by defining real-time kernels and introducing real-time operating systems, explaining their characteristics. It then discusses monolithic kernels, layered kernels, and microkernels from the perspective of kernel functionality and structure. Finally, it introduces the VxWorks Wind kernel, which possesses microkernel characteristics. 1.1 Overview of Real-Time Kernels “Real-time” refers to the ability of a … Read more

Top 10 Overlooked Features of VxWorks

Top 10 Overlooked Features of VxWorks

Real-time operating systems (RTOS) drive some of the most complex and critical embedded systems, and are widely deployed across various fields, from the deep sea to the surface of Mars. However, despite their widespread use, many time-saving and labor-saving RTOS features remain underutilized. What features are available in the latest version of VxWorks® How to … Read more

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