-
1. What Is The Memory Layout In Vx Works?
The memory layout in vxworks is known as flat physical address space,
The diagram shows, how the memory is been divided in to different regions on target board RAM
SysPhysMemTop()
SysMemTop()
FREE_RAM_ADDRESS
RAM_LOW_ADDRESS
LOCAL_MEM_LOCAL ADDRESS -
2. What Is Difference Between Signals And Interrupts?
Signals will tell about that some invent has occurred. But when an interrupt has occurred the system has to stop the current task and has to switch to ISR.
-
3. How Vx Works Differ From Unix.?
VxWorks runs in one mode. No protected vs. user mode switching is done. Running in supervisor mode on most processors, and not using traps for system calls.
UNIX provides resource reclamation; by default, VxWorks does not.
VxWorks does not have full “process”; it only has tasks, or “threads”.
-
4. What Is Priority Inversion?
When task with lowest priority is executing the highest priority task has to wait till lowest priority task releases the resource.
-
5. What Is Ipc (inter Process Communication) ?
A technique used to communicate between two process executing on same processor or on different processor Any of this ipc can be used for communication, Message queue , Pipes, Shared memory.
-
6. What Is Task Switching?
When kernel finds highest priority task than the current running task then it will preempt the current running task and allocate memory for the highest priority task. Time taken to switch from one task context to another task context another task context is called task switching.
-
7. What Are Message Queues And Pipes?
Message queues and pipes are a way of inter task communication used to send and receive message between two tasks.
Pipes are virtual Io and unidirectional.messages are sent and received in form of bytes. Message queue can be created with variable length messages are sent by passing address of the buffer which holds the message . message queue created with queue length of one is called as mailbox , it can be used for synchronization.
User reserved memory
System memory pool
WDB_POOL_SIZE
Vxworks + application
interrupt vector
table,bootline, exception message
-
8. Difference B/w Vxworks And Linux Os?
VxWorks runs in one mode. No protected vs. user mode switching is done. Running in supervisor mode on most processors, and not using traps for system calls. linux provides resource reclamation; by default, VxWorks does not. VxWorks does not have full “process”; it only has tasks, or “threads”.
-
9. What R Scheduling Algorithms?
There are 2 scheduling algorithms in Vxworks
- Priority based preemptive scheduling algorithm(Vx works- default)
- round robin scheduling algorithm. (UNIX default)
-
10. Advantages Of Vx Works And Why?
Vxworks provides characteristics like Deterministic,Multitasking, Fast Context Switching, Support for Preemptive Based Scheduling Support for Multiple Priority level,Support for Inter Task Communication, Support for Inter Task Synchronization, Low Interrupt Latency Low Memory Footprint, Scalable
Which makes intertask communication faster and context switching latency is reduced because, all tasks resides in common address space,no swaping and paging of memory is used. Vxworks can be scaled, unnecessary components can be easily excluded.memory usage will be greatly reduced because of this feature.
Vxworks is extendable, new components can be added like a task.
-
11. What Does Target Server Do?
Target server provides host-based management of target resources needed by development tools:
- Communication with debug agent on target.
- Dynamic module loading and unloading.
- Host-resident symbol table for target.
- Allocation of memory on target for host tools.
- All Tornado tools use the Wind River Tool Exchange Protocol (WTX) to communicate with the target server. The WTX protocol is documented.
-
12. What Is The Difference B/w Downloadable And Bootable Application?
Bootable Project –
A project used to configure and build VxWorks images for a particular BSP. Application code may be statically linked to such a VxWorks image, and the application’s start-up code may be specified.Downloadable Project –
A project used to manage and build application modules which can be downloaded and dynamically linked with a running VxWorks image. Allows “on the fly” development. -
13. What Is Tornado And Its Features?
- Integrated development environment For vxworks 5.4 , tornado used is 2.0.
- An integrated source-code editor.
- A project management facility.
- Integrated C and C++ compilers and make.
- The browser, Collection of visualization aids to monitor the target system.
- CrossWind, Graphically enhanced source-level debugger.
- WindSh, C-language command shell that controls the target.
- An integrated version of the VxWorks target simulator, VxSim.
- An integrated version of the WindView software logic analyzer for the target simulator.
-
14. What Is Mutex ?
Mutex is mutual exclusion, which provides exclusive hold on resource .
In vxworks mutual exclusion semaphore supports different features:
- ownership
- recursion
- Deletion safety
- priority inversion and priority inheritance.
-
15. Difference B/w Taskdelay And Nanosleep?
Taskdelay Wind vxworks:
puts a task in delayed state for specified ticks,Nanosleep posix :
puts process in sleep for specified nano seconds.
Python Interview Questions
Python Tutorial
C Interview Questions
C Tutorial
Embedded Systems Interview Questions
C & Data Structures Interview Questions
JSON (JavaScript Object Notation) Tutorial
Ruby Interview Questions
Python Interview Questions
Adaptive software development Tutorial
Automation Testing Interview Questions
