I said that I have never used an OS in an MCU application.So you have never used any operating system, you only have general knowledge about it.
Your second statement is your conjecture, not my statement.
I said that I have never used an OS in an MCU application.So you have never used any operating system, you only have general knowledge about it.
In India also there is a high demand for ARM, C, C++, Python, RTOS and Linux for embedded systems.I see jobs pop up asking for Linux for embedded programming all the time on seek (a large job site here in Australia).
I might argue that the opposite approach of looking at application specific implementations on an embedded processor can create a knowledge base that will be invaluable when you go to take that Operating Systems Class.What we see on most PICS are resource sharing executives/kernels (Kernel is piece of software which manages/handle the hardware) not a computer OS that manages general compute resources in the normal sense of the word. The Linux kernel is a very comprehensive OS component that can be configured to be suited for embedded programming but even a user interactive version of the kernel is useless without a set of operating system of utilities (GNU system) to make it 'general-purpose' OS.
You might need a complete OS for a 'general-purpose' computer application but most PIC sized Embedded Systems are very specific in their application so a complete OS, even if it would fit in the small memory space is usually a waste of resources for one specific application. IF you're really interested in embedded programming the you should first study (Take an Operating Systems class or two for an introduction to this complex subject) most of the general information of classic Operating Systems to really understand the problem set that needs to be solved by a OS.
https://forum.allaboutcircuits.com/...-make-the-main-loop-sleep.172188/post-1542674
Wrong. All system resources should be under OS control regardless of the "type" of OS we are talking about. Why? Because there is no alternative. system resources include all the peripheral devices accessible to the CPU(s).Please correct me if I am misunderstanding the statement that the operating system manages hardware resources.
As I understand that operating system is a program which is written by the programmer to control the resources of the MCU. What are the resources of MCU. I think the resource is related to the timer, memory, interrupt. I think OS only controls these resources. The peripherals of the MCU are not included in the resources And the OS doesn't control directly peripherals of MCU
Thanks for clarifying. There is another statement which I may not understand very well. It says that the processor is always busy in the real time operating system. What does it mean ?Wrong. All system resources should be under OS control regardless of the "type" of OS we are talking about.
It could be busy sleeping. That's a perfectly valid execution state for a processor.Thanks for clarifying. There is another statement which I may not understand very well. It says that the processor is always busy in the real time operating system. What does it mean ?
MCU will always be busy executing the code when the code runs on it. But we can say that the processor is not doing anything just waiting when software delay is used in the code
I wonder if the processor sleeps in real time operating system. Sorry but I still don't understand what it really means that the processor is always busy in managing the resources in the real time operating system.It could be busy sleeping. That's a perfectly valid execution state for a processor.
by Aaron Carman
by Aaron Carman
by Duane Benson
by Aaron Carman