Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: Volatile Keyword
Well my 2-cents:
#1 Compilers try to optimize your code as much as they can. In douing so they may chose to ignore certain statements you wrote simply because in their opinion they may be redundant. For example:
{
int i;
i = 10;
i = 20;
printf("\n%d", i);
}...
Re: Interrupt Latency
Agreed. Interrupt latency is the feature of an OS. An RTOS will guarantee you a certain value for the interrupt latency. A General purpose OS may not give you this value, but you can find it from the many studies that people have made with varying loads.
Hence if you...
Look for timing guaratees from the OS vendor for:
1. Time delay incurred to switch to next (or higher priority) task after that task becomes ready.
2. Time delay incurred from the time interrupt is received to the time the system begins servicing it (ISR starts)
Both these delays should be...
Re: What does .section do ?
Hi barny451,
I say, can you share your knowledge of Assembly programming or point us to some location? I had to deal with assembly some weeks back and it made my head spin. Can you tell me if there is a single format of assembly now in vogue? (I always thought that...
Re: Vxworks project
A small "Project" might not be available but bits and pieces in the form of smal example code may be available abundantly. In fact, look at www.xs4all.nl/~borkhuis/vxworks to get those bits and pieces. I can suggest you a project though and you can make it using your...
Re: [help] about RTOS
Yes these are tasks of an RTOS. In fact all Os provide these facilities. The only difference is that RTOS provides specific time guarantees. For example, in an RTOS we can provide guarantee of time duration in which an interrupt handling shall begin. This is not the case...
how to write a board support package
A board support package is the layer that sits directly above the hardware and below the RTOS kernel. It provides as abstraction from the hardware. Writing a BSP is different for different RTOSs. However, it will almost always involve initial bootup...
Re: What Os is the best
This is a question that can start a war :)
Anyway, the choice not clear cut. It really depends on the type of project, the budget and whether or not you need technical support and extra goodies. Another crucial factor is (in your case as you probably looks like building...
mucos rtos example
Need for an RTOS depends on the type of application. If the system has a single task to do then probably it shall be very simple and may not even require any OS. But the moment you bring in multiple tasks and an ability to share data between these tasks, then an RTOS becomes...
A board support package provides a abstraction of hardware by providing common functionality over which rest of the RTOS is built. For example, the scheduler does not change if the peripherals or even CPU is changed. Nor does the logic of Message Queue or semaphore implementation. But the...
Re: RTOS question
To me it looks like algo of main_task_0. So main_task_0 spawns task_1. When it does this, the RTOS scheduler will create a new task called task_1 and it will become ready for execution. Now we have three cases:
Case 1:
if the priority of main_task_0 is greater than task_1...
Re: one question on c
Allow me to add my two-bits :)
The C compiler can try to optimize the code so as to remove unnecessary operations. This can result in a faster and a more efficient program. But sometimes the compiler can be dead wring in performing this kind of optimization. For example...
Has anyone implemented hotswap in VxWorks... I mean not using any third party tools like Jungo etc. but written code to implement it on own?
Specifically, I have two questions:
1. How do you tell which physical slot the card has come in (not the Bus, Device Function stuff)
2. How do you map...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.