Questions tagged [vxworks]

VxWorks is a proprietary and customizable real-time operating system (RTOS) produced by Wind River. VxWorks is designed for distributed computing on most central processing units (CPU) with embedded systems.

VxWorks is a proprietary and customizable real-time operating system (RTOS). VxWorks is designed for distributed computing on most central processing units (CPU) with embedded systems.

When asking questions about VxWorks, please specify the version of VxWorks you are using as well as the processor family, unless the question is of broader interest or impact.

VxWorks is used with a spectrum of hardware, including communications and network devices, testing and measuring devices, computer peripherals, automotive systems and consumer products.

VxWorks is compatible with a variety of CPUs, including: Microprocessor without Interlocked Pipeline Stages (MIPS), PowerPC, Intel i960, Scalable Processor Architecture (SPARC), SH-4, the x86 family, Advanced Risc Machine (ARM), StrongARM and xScale.

Features:

  • Isolated user-mode applications
  • Real-time processes
  • Memory protection
  • Efficient interprocessing, such as Transparent Inter-Process Communication (TIPC)
  • Error handling
  • Support for symmetric multiprocessing (SMP) and asymmetric multiprocessing (AMP)
  • Binary, counting and mutual exclusion semaphores with priority inheritance
  • Multitasking kernel with preemptive round-robin scheduling and fast interrupt response
  • POSIX PSE52-certified compatibility with user-mode execution environment
  • Distributed and local message queues
  • VxSim simulators
  • Virtualization profile.
  • File systems, including Network File System (NFS), High Reliability File System (HRFS) and Disk Operating - System Filing System (DOSFS)
  • Internet Protocol version 6 (IPv6) Networking Stack

Because code is written as required, VxWorks may be challenging for novice programmers. However, VxWorks uses less processing power than UNIX and runs at faster speeds because content is saved on a minimal basis.

Current Version: VxWorks 7

Useful Links:

541 questions
33
votes
6 answers

BSP vs Device-Drivers

While understanding each by itself (or maybe not), looks like I'm far from understanding the practical differences between the two. Per my understanding, a BSP is a package of drivers and configuration settings that allows a kernel image to boot up…
EdwardH
  • 1,473
  • 2
  • 11
  • 20
15
votes
5 answers

What are all the differences between pipes and message queues?

What are all the differences between pipes and message queues? Please explain both from vxworks & unix perspectives. I think pipes are unidirectional but message queues aren't. But don't pipes internally use message queues, then how come pipes are…
aks
  • 4,157
  • 7
  • 33
  • 35
14
votes
2 answers

Why are particular UDP messages always getting dropped below a particular buffer size?

3 different messages are being sent to the same port at different rates: Message  size (bytes)  Sent everytransmit speed High           232                 10…
Trevor Hickey
  • 31,728
  • 22
  • 131
  • 236
14
votes
3 answers

How to avoid race conditions in a condition variable in VxWorks

We're programming on a proprietary embedded platform sitting atop of VxWorks 5.5. In our toolbox, we have a condition variable, that is implemented using a VxWorks binary semaphore. Now, POSIX provides a wait function that also takes a mutex. This…
sbi
  • 204,536
  • 44
  • 236
  • 426
12
votes
2 answers

Simulating target on PC

I'm doing a project in C language that runs on a target with vxWorks operating system. I would like to run my code on PC also for two reasons: The HW of the target is not available yet, and i want to start testing my SW. Even when the target will…
Alex
  • 173
  • 3
  • 8
10
votes
1 answer

What makes VxWorks so deterministic and fast?

I worked on VxWorks 5.5 long time back and it was the best experience working on world's best real time OS. Since then I never got a chance to work on it again. But, a question keeps popping to me, what makes is so fast and deterministic? I have not…
Piyush Kansal
  • 1,111
  • 4
  • 17
  • 25
10
votes
5 answers

How do I receive raw, layer 2 packets in C/C++?

How do I receive layer 2 packets in POSIXy C++? The packets only have src and dst MAC address, type/length, and custom formatted data. They're not TCP or UDP or IP or IGMP or ARP or whatever - they're a home-brewed format given unto me by the…
cole-brown
  • 103
  • 1
  • 6
10
votes
4 answers

How does a VxWorks scheduler get executed?

Would like to know how the scheduler gets called so that it can switch tasks. As in even if its preemptive scheduling or round robin scheduling - the scheduler should come in to picture to do any kind of task switching. Supposing a low priority task…
Ashwin
  • 363
  • 3
  • 10
7
votes
6 answers

C++ 11 in vxworks

I am new to VxWorks and I am developing a software using C++ in VxWorks platform. I want to know whether VxWorks compiler supports C++ 11 standard. The reason I am asking this question is because there is no shrink_to_fit() std::vector function…
Harry
  • 1,273
  • 1
  • 11
  • 24
7
votes
1 answer

Difference between exit and logout

Not sure it is related to VxWorks or to rlogin, but anyway. I read one should never use the exit command to quit a VxWorks rsh shell, but only the logout command. However I can't seem to find an explanation. What is the difference between those…
Skippy le Grand Gourou
  • 4,607
  • 2
  • 38
  • 60
6
votes
1 answer

Why is there no main() function in vxWorks?

When using vxWorks as a development platform, we can't write our application with the standard main() function. Why can't we have a main function?
Benoit
  • 34,830
  • 24
  • 79
  • 113
6
votes
2 answers

How are the vxWorks "kernel shell" and "host shell" different?

In the vxWorks RTOS, there is a shell that allows you to issue command to your embedded system. The documentation refers to kernel shell, host shell and target shell. What is the difference between the three?
Benoit
  • 34,830
  • 24
  • 79
  • 113
6
votes
3 answers

VxWorks debugging without workbench

Is it possible to debug a VxWorks task without the Workbench with GDB or another free debugger? Looking online it is only reported an old command for gdb (target vxworks ID) that does not work anymore; moreover after VxWorks 5.3 has been introduced…
skarux
  • 131
  • 1
  • 7
6
votes
1 answer

Thread class memory allocation oddity on an embedded platform

I am running into a strange issue I've been able to track down somewhat but I still can't see the cause. Maybe someone here can shed some light? I'm running on a PowerPC processor on top of VxWorks 5.5 developing in C++ with the PPCgnu604…
Anthony
  • 2,168
  • 1
  • 18
  • 33
6
votes
2 answers

Has anyone run VxWorks on a desktop PC as a target

Can I use a desktop PC to run VxWorks as the operating system? In other words, can a standard PC be used as a target processor? I'm not talking about hosting Workbench and a VxSim on the same machine. Rather, I'm considering running just VxWorks…
Steve Roe
  • 322
  • 3
  • 9
1
2 3
36 37