Embedded software

Short description: Computer software written to control machines not typically thought of as computers

Embedded software is computer software, written to control machines or devices that are not typically thought of as computers, commonly known as embedded systems. It is typically specialized for the particular hardware that it runs on and has time and memory constraints.[1] This term is sometimes used interchangeably with firmware.[2]

A close-up of the SMSC LAN91C110 (SMSC 91x) chip, an embedded Ethernet chip

A precise and stable characteristic feature is that no or not all functions of embedded software are initiated/controlled via a human interface, but through machine-interfaces instead.[3]

Manufacturers build embedded software into the electronics of cars, telephones, modems, robots, appliances, toys, security systems, pacemakers, televisions and set-top boxes, and digital watches, for example.[4] This software can be very simple, such as lighting controls running on an 8-bit microcontroller with a few kilobytes of memory with the suitable level of processing complexity determined with a Probably Approximately Correct Computation framework[5] (a methodology based on randomized algorithms). However, embedded software can become very sophisticated in applications such as routers, optical network elements, airplanes, missiles, and process control systems.[6]

## Contents

* 1 Operating systems
* 2 Differences from application software
* 3 Communication protocols
* 4 See also
* 5 Notes
* 6 References

## Operating systems

Unlike standard computers that generally use an operating systems such as macOS, Windows or Linux, embedded software may use no operating system. When they do use one, a wide variety of operating systems can be chosen from, typically a real-time operating system. Code for embedded software is typically written in C or C++, but various high-level programming languages, such as Java, Python and JavaScript, are now also in common use to target microcontrollers and embedded systems.[7] Assembly languages are often used too, especially in booting and interrupt handling. Ada is used in some military and aviation projects.

## Differences from application software

Embedded system text user interface using MicroVGA[nb 1]

Most consumers are familiar with application software that provide functionality on a computer. However embedded software is often less visible, but no less complicated. Unlike application software, embedded software has fixed hardware requirements and capabilities, and addition of third-party hardware or software is strictly controlled.

Embedded software needs to include all needed device drivers at manufacturing time, and the device drivers are written for the various hardware devices. These device drivers, called BSP (Board support package), form the layer of software containing hardware-specific drivers and other routines that allow a particular operating system (traditionally a real-time operating system, or RTOS) to function in a particular hardware environment (a computer or CPU card), integrated with the RTOS itself. The software is highly dependent on the CPU and specific chips chosen. Most embedded software engineers have at least a passing knowledge of reading schematics, and reading data sheets for components to determine usage of registers and communication system. Conversion between decimal, hexadecimal and binary is useful as well as using bit manipulation.[8]

Web applications are often used for managing hardware, although XML files and other output may be passed to a computer for display. File systems with folders are typically used, however SQL databases are often absent.

Software development requires use of a cross compiler, which runs on a computer but produces executable code for the target device. Debugging requires use of an in-circuit emulator, and debugging hardware such as JTAG or SWD debuggers. Software developers often have access to the complete kernel (OS) source code.

Size of the storage memory and RAM can vary significantly. Some systems run in 16 KB of Flash and 4 KB of RAM with a CPU operating at 8 MHz, other systems can rival contemporary computers.[9] These space requirements lead to more work being done in C or embedded C++, instead of C++. Interpreted languages like BASIC (while e.g. Parallax Propeller can use compiled BASIC) and Java (Java ME Embedded 8.3[10] is available for e.g. ARM Cortex-M4, Cortex-M7 microcontrollers and older ARM11 used in Raspberry Pi and Intel Galileo Gen. 2) are not commonly used; while an implementation of the interpreted Python 3 language - MicroPython - is however available expressly for microcontroller use, e.g. 32-bit ARM-based (such as BBC micro:bit) and 16-bit PIC microcontrollers.

## Communication protocols

Communications between processors and between one processor and other components are essential. Besides direct memory addressing, hardware level common protocols include I²C, SPI, serial ports, 1-Wires, Ethernets, and USB.

Communications protocols designed for use in embedded systems are available as closed source from companies including InterNiche Technologies and CMX Systems. Open-source protocols stem from uIP, lwip, and others.

## See also

* Embedded system

## Notes

1. ↑ For more details of MicroVGA see this PDF.

## References

* Edward A. Lee, "Embedded Software", Advances in Computers (Marvin Victor Zelkowitz, editor) 56, Academic Press, London, 2002.

1. ↑ "Stroustrup on C++ for embedded (bottom p.2)". http://www.stroustrup.com/abstraction-and-machine.pdf.
2. ↑ Emilio, Maurizio Di Paolo (2014-09-01) (in en). Embedded Systems Design for High-Speed Data Acquisition and Control. Springer. ISBN 978-3-319-06865-7. https://books.google.com/books?id=NixnBAAAQBAJ&q=This+term+is+sometimes+used+interchangeably+with+firmware.&pg=PA60.
3. ↑ "I.C.S. on embedded software". http://www.ics-control.com.
4. ↑ "Embedded Systems Methods and Technologies". http://www.computer.org/portal/web/certification/Embedded-Systems.
5. ↑ Alippi, Cesare (2014), Intelligence for Embedded Systems, Springer, ISBN 978-3-319-05278-6 .
6. ↑ http://ptolemy.eecs.berkeley.edu/publications/papers/02/embsoft/embsoftwre.pdf[bare URL PDF]
7. ↑ Mazzei, Daniele; Montelisciani, Gabriele; Baldi, Giacomo; Fantoni, Gualtiero (2015). "Changing the programming paradigm for the embedded in the IoT domain". Internet of Things (WF-IoT), 2015 IEEE 2nd World Forum on. Milan: IEEE. pp. 239–244. doi:10.1109/WF-IoT.2015.7389059.
8. ↑ "Stroustrup on embedded software". http://www.www.stroustrup.com/Programming/25_embedded.ppt.
9. ↑ "Example of embedded CPU". http://www.st.com/internet/mcu/product/216844.jsp.
10. ↑ "Java ME Embedded". Oracle Technology Network. https://www.oracle.com/technetwork/java/embedded/javame/embed-me/downloads/java-embedded-java-me-download-2162242.html.

* v
* t
* e

Embedded systems

General terms|

* ASIC
* Board support package
* Bootloader
* Consumer electronics
* Cross compiler
* Embedded database
* Embedded hypervisor
* Embedded OS
* Embedded software
* FPGA
* IoT
* Memory footprint
* Microcontroller
* Single-board computer
* Raspberry Pi
* SoC

Firmware and controls|

* Closed platform
* Crippleware
* Custom firmware
* Defective by Design
* Hacking of consumer electronics
* Homebrew (video games)
* iOS jailbreaking
* PlayStation 3 Jailbreak
* Proprietary firmware
* Rooting (Android)
* Vendor lock-in

Software libraries|

* uClibc
* dietlibc
* Embedded GLIBC
* lwIP
* musl

Programming tools|

* Almquist shell
* Bitbake
* Buildroot
* BusyBox
* OpenEmbedded
* Stand-alone shell
* Toybox
* Yocto Project

Operating systems|

* Linux on embedded systems
* Linux for mobile devices
* Light-weight Linux distribution
* Real-time operating system
* Windows IoT
* Win CE

Programming languages|

* Ada
* Assembly language
* CAPL
* Embedded C
* Embedded C++
* Embedded Java
* MISRA C

* Lightweight browsers
* Open-source computing hardware
* Open-source robotics

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Embedded software. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Embedded_software&oldid=3364630"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template