A prototype that works on the bench is the middle of product development, not the end. Building the same device hundreds of times, keeping it running in the field for years and updating it when needed is a separate engineering job. If these steps are considered only after the prototype, part of the board and the firmware gets redone.
The first step is turning the functions verified on the prototype into a written test list. Which voltage is measured at which point, how is communication tested, which reference are the sensors compared against? The same list is used for design verification and for testing on the production line.
The second step is production testing. Every board must be tested quickly and in the same way after assembly. That requires test points, a programming connector and, where needed, a simple test fixture. Adding a factory test mode to the firmware makes this much faster.
The third step is firmware updates. When a bug is found in devices already in the field, you need to update them without collecting them back. The update must be secure, must not leave the device unusable if it is interrupted, and must allow a rollback. This has to be planned at the start of the design.
The fourth step is supply and cost. A part that was easy to buy for a prototype may have a long lead time in quantities of hundreds. The bill of materials is reviewed, alternatives are defined for critical parts and the assembly house is asked for manufacturability feedback.
The last step is documentation: schematics, board files, bill of materials, firmware versions, test procedure and installation instructions. The compliance tests required in the target market are also planned at this stage. At FenergyTech the same team develops the hardware and the embedded software, so we handle these steps together from the prototype stage onwards.
A test list does not close on "communication works". Which speed, which cable length, after how many errors it fails. Without the numbers, the operator on the line and the engineer on the bench see different results. IPC-A-610 sets acceptance of assembly by class. The class depends on where the board will live. Saying "the solder looks fine" before the class is chosen puts reject and accept in the same bin.
A firmware update survives being cut off when it is not written over the running copy. The new image is written to the idle slot, the boot moves there if the integrity check passes, and the old slot remains if it does not. RFC 9019 describes the manifest and integrity side of that arrangement. Without a slot, the first field fault becomes a list of devices to collect.
Every line of the bill of materials has a manufacturer part number. Writing "100 nF" leaves a hundred different capacitors. Capacitance, voltage and dielectric are written. When the dielectric changes, the capacitance under voltage does not stay the same. That gap produces, in production, a fault the prototype did not measure.
Sources: IPC-A-610, Acceptability of Electronic Assemblies, IPC. RFC 9019, A Firmware Update Architecture for Internet of Things, IETF, 2021. IPC-2221B, Generic Standard on Printed Board Design, IPC, 2012.
Planning a similar project?
We can talk through how the topic in this article applies to your product.