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.

0
votes
1answer
27 views

How To Configure SonarQube Dev Edition For a C++ RTP Application Project

I am developing a couple or C++ Real-Time Process Application projects for VxWorks 6.9 in Wind River Workbench 3.3. I wanted to integrate SonarQube developer edition to get static analysis results. ...
0
votes
0answers
21 views

Cross compilation. How to use --host with ./configure

I need to compile some library on my Windows OS to use it on VxWorks OS. I have ./configure script to build this library. I found that i can use --host parameter to specify on which platform i want to ...
0
votes
0answers
22 views

Cross-compilation some library for vxworks on computer with linux

1) I have installed workbench-3.2 and vxworks-6.8. 2) There is the source code of the library where the build is configured through the gdal_source_dir/configure script. 3) How do I build the gdal ...
0
votes
2answers
45 views

How to read network interface configuration in VxWorks

I can inspect the address from the vxworks shell using the ifconfig shell command. I would like to perform the equivalent function programmatically, in a downloadable kernel module (DKM). How can I ...
0
votes
1answer
38 views

Is it possible the argument for frame is passed as an argument to another frame in backtrace even when data types are different

In my application which is deployed on vxWorks following backtrace (generated on xrtc file) is generated: d475c (Frame 1) process_host_invoke+274: d3bac (ffffff00, 3e8) d3cac (Frame 2) ...
0
votes
1answer
55 views

How to create CMake cross-compiling toolchain for VxWorks?

I want to generate vxworks 6.x makefiles and workspace via CMake, and there is no support for VxWroks in CMake. How do I create a relevant generator for my platform anf the correct toolchain? I'm new ...
0
votes
1answer
18 views

How to get the IP-Address in RTP

How is it possible to get the IP-Address in RTP (real time process) from the system on VxWorks7? Because ifAddrGet() is not working for RTP.
1
vote
0answers
67 views

vxWorks Timers: Not able to call handler more than once

I am making simple test in VxWorks with timer interrupt and to write number of times timer triggered, into a file using fprintf. But the problem is that timer doesn't run more than once. I set the ...
0
votes
1answer
55 views

How do I get the MAC address using vxWorks6.8 API in real-time process?

I know endFindByName() and muxIoctl(),but these two functions depend on "muxLib.h" and END_OBJ depend on "end.h".These two header files only be used in kernel mode.
0
votes
1answer
45 views

where does the VxWorks console store data

i was using the console for resolving a "errno" like this: -> strerror(0x23) value = 22279888 = 0x153f6d0 -> d 0x153f6d0 NOTE: memory values are displayed in hexadecimal. 0x0153f6d0: 5f53 7265 ...
0
votes
1answer
20 views

What might be causing vxworks and windows to ignore eachother

I have a machine that boots (simultaneously) VxWork and Windows 10 IoT. The hypervisor sets up two virtual Ethernet adapters. I can see that both exist. The VxWorks VM is sending out UDP packets to ...
-1
votes
1answer
63 views

How to exclude with GPRbuild some functions?

I have an executable in Ada compiled with gprbuild.the executable use some simple function (like sin e cos).This executable is operating in a App binded to a POS (Partition Operating System) ...
0
votes
1answer
50 views

get rid of regex compilerwarning without using “#include <regex.h>”

I am using regex under vxworks and have no possibility to include "regex.h". I am getting the compilerwarning "unrecognized character escape sequence" for the code if (sscanf(token, "%*[^\[][%d]", &...
1
vote
1answer
33 views

Retrieve file count without walking through entire file system

I am on a vxworks 6.9 platform. I want to know how many files are in a folder. The file system is DOSFS (FAT). The only way I know how to do this is to simply loop through every file in the folder and ...
0
votes
0answers
16 views

Structure of M_PKT_HDR in VxWorks 7

Can anyone confirm the layout of M_PKT_HDR on VxWorks 7. I wrote the following code to dump a M_BLK that I receive and it doesnt look like it lines up properly. LOCAL void mBlkPktHdr_Show(M_PKT_HDR ...
0
votes
0answers
25 views

How to generate Test Report for Regression Test Suite of VxWorks7?

I have a situation where it is required to validate a build of VxWorks7 used in an embedded project. I have come to know about a regression test suite that ships with the OS that allows to validate ...
0
votes
0answers
28 views

My non-blocking UDP connection select() function always return 0

I want to use UDP send a message to visual box which environment is vxworks,I test my client code is working well, computer and visual box can ping each other.But, the select() function always return ...
0
votes
0answers
24 views

Generate SSH keys on third party machine

I am working on a device that runs VxWorks. I am need to implement public/private key authentication so that the device has access to a server. The device has a port of libssh2 but I dont see any ...
0
votes
2answers
127 views

How to map PCI / PCIe virtual to physical memory in VxWorks 7.0?

Well, I am trying to write a device driver for PCI express (any PCI solutions will be great as well). After digging into the WindRiver documentation, ever for other VxWorks versions, could not find ...
0
votes
0answers
58 views

VxWorks memory management (beyond comprehension)

I have a question about VxWorks memory management. Our program (using c++) use big struct that size is 470MB over. (I recognized this is special case.) I added a parameter at the bottom of the struct. ...
0
votes
0answers
52 views

Nfs mount cause the server to stuck

In my project, I am trying to mount 2 directories that I configured on the server. I don't know in advance that both of the directories exist on the server side, The server also does not know, It is ...
0
votes
0answers
41 views

u-boot can I get a function to run after my display is init

Is there a way in u-boot to get a functions to run after my display is initialized and my splash screen is up. If I call the function in board_init() or board_late_init() my display has not yet ...
0
votes
0answers
65 views

why vxworks register r3 is falsified before execution?

I am going to run an application on a PowerC platform(vxworks), but I have encountered a problem. I've got a data access exception. register r3 is falsified before execution, I don't know why, ...
0
votes
0answers
42 views

VxWorks Run Task in Background (beginner)

We have a piece of hardware that runs VxWorks and has 3 ethernet ports. Our current setup process only really utilizes one port, and there's a directory copy that takes about 3 hours each time (many ...
0
votes
1answer
322 views

How to use ping command in kernel shell of Vxworks?

I am a newbie to vxworks,and I have a target with Vxworks5.5, one application is running on it.I want to ping other host with local keyboard and monitor or telnet.After the ctrl+c is pressed,the ...
0
votes
1answer
81 views

Problem with ADA file executed by a c++(UsrAppInit) in VXWorks 6.7(workspace-4)?

I have a file build and compiled correctly in ADA (a simple Hello world). I want to execute the file .o from a c++ using taskspawn. To do that I have read that you must declare in the c++ something ...
0
votes
0answers
47 views

How to compile image project for vxworks 6.8 with C++

I'm trying to include kernel configuration for all C++ components. But header iostream isn't visible. Where might be the problem?
0
votes
0answers
87 views

VxWorks 6.9: When/How does a network driver become an interface?

As a bit of background, I've been mucking around in driver code for weeks trying to get a new 'virtual'(1) PLB driver interface up and attached to the MUX, and the most persistent problem seems to be ...
0
votes
1answer
29 views

Java FTPClient - Remote File size 0 bytes VXWorks

I am using the apache commons FTP library and attempting to view a file on a USB stick that is running VXWorks. Every time I try to view any file from that system it returns a 0 file size. This works ...
0
votes
3answers
194 views

How to redirect console output into a file in VxWorks shell?

In Windows or Linux, it's very often we redirect console output to a file as below: Windows: dir > text Linux: ls -l > text I wonder how to do the similar thing in VxWorks shell.
0
votes
0answers
32 views

Loading an RTP hangs from the shell

My hello world project loads from the simulator with rtpSp "hello world.vxe" But when I try to load it on the target board (running Vxworks 6.9) it hangs. Running rtpShow just shows it is stuck in ...
0
votes
0answers
163 views

How to debug an application running on a VxWorks simulator?

I'm trying to debug an application (a custom OpenSSL wrapper) running on a VxWorks Simulator. The project is built on the VxWorks 7 platform using Wind River Workbench 4. The RPM containing our code ...
0
votes
0answers
52 views

Problem with Ada plug in with VXWorks (workspace-4) in linux environment

I am trying to install Ada in VxWorks (VM with Linux 16.04). I followed this tutorial: https://www.youtube.com/embed/YE7I-j8lhXs But after selecting the AdaCore plug-in, an error message appears: ...
1
vote
1answer
299 views

Run VxWorks on VMware

I'm a newbie to VxWorks but I've worked with other RTOSes. Similar to others, can I run the VxWorks RTOS on VMware as target on my windows development host? I did not find any VxWorks iso or vmdk file ...
1
vote
0answers
52 views

Create a partition with read-only permission on VxWorks

I'm dealing with a system needs to have and HDD with two partitions on it. One partition is a free space. Every file operations can be performed on it. The other partition is like a back-up ...
0
votes
1answer
59 views

VxWorks change console port while running

Is there any way to change the console port on an iMX6 running VxWorks 7 while running? I know how to change it via kernel configuration, but that is a compile time setting. Is there any way I can ...
0
votes
1answer
175 views

creating a serial loopback under VxWorks

I'm fairly new to VxWorks OS and hence wouldn't mind explanations in case I differ in my understanding of things under the hood when they differ from more traditional OSes like Linux and the likes. ...
0
votes
0answers
41 views

setvbuf not buffering full buffer size

I'm attempting to hold off writing data to file until it is buffered to 512KB using a combination of fopen, setvbuf, and fwrite. In my use case, fwrite will be called on around 1400 bytes of data at a ...
0
votes
0answers
58 views

Unable to reserve memory when launching a 64-bit VxWorks simulator instance using VxSim

I've built a 64-bit VxWorks 6.9 Image Project in Eclipse, using the following settings: BSP: simpc Address mode: 64-bit Tool chain: gnu Profile: (no profile) Options: SMP support, IPv6 enable kernel ...
0
votes
2answers
122 views

Converting empty parameter list function from C to C++

I'm working on a project where I'm trying to compile a VxWorks END in C++. I don't think I'll be able to change working in C++, and I definitely can't change VxWorks too much. This has gone mostly ...
0
votes
0answers
72 views

VX works simulator with Opengl SC

Is there any VXworks simulator available where i can build my Opengl ES or SC application and run it? I'm new to opengl plateform, My project involves Development of display for safety critical system....
0
votes
2answers
93 views

Does Vxworks support multiprogramming?

Earlier versions of Vxworks didn't support multiprocessing but I read Vxworks 6.6 and above support SMP (Symmetric multiprocessing).SMP would allow process to run parallel in multiple cores. But does ...
0
votes
1answer
83 views

Running Redhawk SDR with Wind River VxWorks 7.+

Can the Redhawk SDR be run on top of Wind River's VxWorks 7.0 RTOS? It appears it can run under Linux, but what about VxWorks?
0
votes
1answer
140 views

vxWorks-7 jump to bootloader

Is there a way in vxWorks-7 to restart to the bootloader, we are using u-boot. We have a hardware issue with our current board, and would like to jump to u-boot to restart the bard instead of power ...
0
votes
0answers
63 views

Add compile option if shared lib is linked

I have a special compiler that need an extra flag -non-static when linking an executable to with an shared lib: gcc main.cpp -non-static -lshared -o main (Note: Its the compiler for vxworks) How ...
0
votes
2answers
327 views

Shell sessions and debug printf under vxWorks 6.9

I am running a vxWorks C application that is launched inside a boot up script. Everything runs fine, except that I don't see the printf debug traces of my software whenever I connect remotely to the ...
1
vote
1answer
185 views

Static code analyzer not recognizing C int-types are being used

I'm using a static code analyzer on a large embedded systems project at work (C/C++). Currently, all modules have several violations for: Typedefs that indicate size and signedness should be used ...
1
vote
0answers
88 views

In vxworks 5.5.1 kernelInit() hangs

I have an atom board and I am trying to build a BSP with VxWorks 5.5.1. I have got the bootrom working wherein it loads the vxworks.st image from the hard disk (mSATA configured in IDE mode). I am ...
-3
votes
2answers
213 views

Using a mutex semaphore between two tasks

I am trying to understand just how to use semaphores in general. I have chosen a mutex type semaphore instead of a binary in order to maintain task priorities. The synopsis is: I have two tasks, ...
0
votes
2answers
179 views

C - Watchdog Timer not starting or calling the call-back function

I am creating a VxWorks program using the Wind River Workbench 3.3. The program requires me to make use of Watchdog Timers, however I am having problems in getting the timers to start. Below is a ...