ArticleslgStudy

science

Field-programmability

Field-programmability is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Field-programmability rather than just read about it. In short: An electronic device or embedded system is said to be field-programmable or in-place programmable if its firmware (stored in non-volatile memory, such as ROM) can be modified "in the field", without disassembling the device or returning it to its manufacturer. This is often an extremely desirable feature, as it can reduce the cost and turnaround time for replacement of buggy or obsolete firmware.

Key takeaways

  • Field-programmability belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Field-programmability to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Field-programmability from memory before moving on to harder problems.

Reference excerpt

An electronic device or embedded system is said to be field-programmable or in-place programmable if its firmware (stored in non-volatile memory, such as ROM) can be modified "in the field", without disassembling the device or returning it to its manufacturer. This is often an extremely desirable feature, as it can reduce the cost and turnaround time for replacement of buggy or obsolete firmware. For example, a digital camera vendor could distribute firmware supporting a new image file format by instructing consumers to download a new firmware image to the camera via a USB cable.

History When a device's firmware is stored in mask ROM or one-time programmable PROM, it cannot be modified without physically replacing the integrated circuit, so such a device cannot be field-programmable in the modern sense. Erasable PROM-based firmware can be erased and reprogrammed, but only after lengthy exposure to a high-intensity ultraviolet light source. Thus, field-programmable devices were not practical until the invention of EEPROM and flash memory in the 1980s. Early EEPROMs could only be reprogrammed with expensive, dedicated programmer hardware, since they required high voltages (10-20 V, compared to typical 3-5 V logic levels) and there was no standard programming protocol; as a result, field-programming was mostly performed by professional technicians and service engineers. However, as of the early 2000s, many devices were expressly designed to be field-programmed by ordinary consumers. Several developments have made this possible:

Modern EEPROM and flash devices contain internal charge pumps which eliminate the need for high voltages. Most consumers have access to personal computers, which can perform arbitrary programming protocols. Ubiquitous Internet access provides a convenient means to rapidly distribute firmware images. Standard protocols for programming non-volatile memory devices have emerged. For example, JTAG may be used to read and program the EEPROM and Flash chips in many consumer electronics devices. Many such devices include JTAG headers internally for factory programming and quality control, even though no external connector is exposed in the finished product.

Programmable logic The 1980s saw the introduction of programmable logic devices (PLDs) such as PALs, PLAs, and CPLDs. These are integrated circuits which can implement nearly arbitrary digital logic functions based on firmware-like information stored in non-volatile memory. Thus, devices containing PLDs may be considered as field-programmable hardware, while EEPROM and flash memory act as storage for field-programmable software. Field-programmable gate arrays (FPGAs) were invented in 1984, and are the most advanced kind of programmable logic available today. These high-capacity devices may implement extremely complex logic, such as microprocessors or digital signal processors. Today, they are a great aid in the development and rapid deployment of digital electronic devices. FPGAs are often used for prototyping hardware designs and hardware acceleration.

Hobbyist opportunities Many consumer electronic devices (including MP3 players, broadband routers, cell phones, and digital cameras) contain embedded systems based on general-purpose microprocessors and microcontrollers. Most of these devices contain field-programmable components which can be located and accessed by knowledgeable hardware hackers. Field-programming allows hobbyists to replace a device's firmware with new code that can modify or extend its capabilities. Numerous online communities have sprung up around devices found to be particularly conducive to such modification. For example, the iPodLinux and OpenWrt projects have enabled users to run full-featured Linux distributions on their MP3 players and wireless routers, respectively. While hobbyist field-programming is theoretically possible in practically any embedded system today, in practice efforts to modify consumer devices are often hampered by lack of documentation for the hardware.

See also Firmware JTAG Field-programmable gate array (FPGA) Field-programmable analog array (FPAA) - like FPGA but with analog signals Field-programmable radio frequency devices

References

External links UsbAudioHowTo: a guide to converting a wireless router into an Internet radio player, from the OpenWrt project

Worked examples

Example 1 — a first encounter with Field-programmability

Start with the simplest possible case. Write down what Field-programmability claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Field-programmability before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Field-programmability ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Field-programmability

In research
Field-programmability appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Field-programmability in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Field-programmability is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital electronics, so understanding it makes those chapters shorter.
In everyday life
Look for Field-programmability outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Field-programmability” →

How to study Field-programmability in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Field-programmability means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Field-programmability out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Field-programmability in simple terms?

An electronic device or embedded system is said to be field-programmable or in-place programmable if its firmware (stored in non-volatile memory, such as ROM) can be modified "in the field", without disassembling the device or returning it to its manufacturer. This is often an extremely desirable f…

Why does Field-programmability matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Field-programmability?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Field-programmability.

Tags

  • Digital electronics

Keep exploring