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
5
votes
2 answers

Compiling previously preprocessed file changes output

I have a source file which I preprocess using the options -E and -P (using GCC 4.1.2 for a vxWorks-based embedded platform). All other options are the same as when I compile the file. These options are: -Wall -march=pentium -nostdinc -O0…
Björn Pollex
  • 70,106
  • 28
  • 177
  • 265
5
votes
5 answers

Task in vxworks

When we doing taskSpawn a task is creating in vxworks. What is actually a task. Is there any relation with thread. In my understanding vxworks is thread based Operating system. Can some one please help me the real difference between…
Sijith
  • 3,122
  • 14
  • 52
  • 86
5
votes
2 answers

How can I retrieve a stack trace of the currently running function's stack?

For troubleshooting reason, I would like to be able to retreive and print the caller stack of the currently running function. I have tried the following: /******************************************************************************* * * * *…
stdcerr
  • 9,675
  • 15
  • 50
  • 95
5
votes
2 answers

Reverse engineering a firmware - what's up with every fourth byte?

So I decided to grab my tools and analyze a router firmware. It went pretty okay up to the point where I had to find segments manually. I wouldn't bother you with it and i really don't want to ask about hacking anything or to do a favor for me.…
Bálint Juhász
  • 284
  • 1
  • 15
5
votes
3 answers

In vxworks, should every task be spawned with VX_FP_TASK option?

In vxworks, should every task be spawned with VX_FP_TASK option? The VX_FP_TASK option is required if your task uses any floating point operations. But how does one predict the future - i mean, how can one know if he/she will use float or not?…
aks
  • 4,157
  • 7
  • 33
  • 35
5
votes
1 answer

Difference between flat memory model and protected memory model?

Difference between flat memory model and protected memory model? VxWorks supports flat memory model, Does Linux also supports flat memory model?
Ritesh
  • 91
  • 2
  • 10
4
votes
3 answers

Relocation value does not fit in 24 bits

I tried to load a code file to memory using the vxWorks function loadModule and it gave me the error: Relocation value does not fit in 24 bits I tried to add the -mlongcall flag in my compiler but it doesn't work.
kfir
  • 303
  • 4
  • 11
4
votes
6 answers

Floating point operations in interrupt handler (PowerPC, VxWorks)

I haven't found any resources that exactly answer what I am trying to understand with an issue I saw in a piece of software I am working on, so I'll ask the geniuses here! For starters, I'm running with VxWorks on a PowerPC processor. In trying to…
Anthony
  • 2,168
  • 1
  • 18
  • 33
4
votes
0 answers

Create a socket that receives promiscuous packets

My driver is already in promiscuous mode, and I can even log the promiscuous packets within the driver where the destination MAC and IP are something other than my machines MAC and IP. Where I am stuck is creating a socket to pull the packets from…
Noble
  • 104
  • 10
4
votes
2 answers

difference between system clock and auxiliary clock

In Vxworks we have various clocks like system clock and auxiliary clock and has various API's according like below sysClkConnect( ) - connect a routine to the system clock interrupt sysClkDisable( ) - turn off system clock interrupts sysClkEnable(…
venkysmarty
  • 10,013
  • 19
  • 87
  • 165
4
votes
1 answer

How to verify a network device has an IP address in VxWorks

I am trying to verify the Ethernet devices on a device are working correctly. I'm running the command: ifconfig("interfaceName dhcp") for each ethernet interface. What I would also like to do is verify that each device got an ip address as well. I…
Carl
  • 55
  • 1
  • 7
3
votes
1 answer

Data size of a symbol

Using the vxWorks API symFind() we can get the address of a global variable knowing its name. Is there a way to know the corresponding size of a symbol? The fact is that the searched symbol could be of any type and I need to find it at runtime. So I…
greydet
  • 5,259
  • 3
  • 27
  • 49
3
votes
4 answers

Issues in porting c/c++ code to VxWorks

I need to port a c/c++ codebase that already supports Linux/Mac, to VxWorks. I am pretty new to VxWorks. Could you let me know what are the possible issues that could arise?
ebaccount
  • 4,981
  • 11
  • 41
  • 47
3
votes
1 answer

How can I know why one of my vxWorks task is pended?

In vxWorks, I can issue the "i" command in the shell, and I get the list of tasks in my system along with some information like the following example: NAME ENTRY TID PRI STATUS PC SP ERRNO DELAY ---------- …
Benoit
  • 34,830
  • 24
  • 79
  • 113
3
votes
1 answer

VxWorks: how can I be sure that data is read from DDR and not from cache

example: int foo(void) { static volatile int data; data = 0xaaa; /* something to assure cache flushing */ if (data == 0xaaa) return 1; return 0; } the question is what can assure that flushing. thanks.
lkanab
  • 836
  • 1
  • 7
  • 19
1
2
3
36 37