ESP32 production readiness: what changes after the prototype works
Radio approval, eFuses and chip revisions are settled long before the first shipment. This is what changes when a prototype becomes a product.
The previous guide ended with a choice: board, module, antenna. This one starts after that choice is made, at the point where a working prototype has to become something with an enclosure, a factory image and an approval that still holds after the bill of materials changes.
The prototype and the product answer different questions
| Prototype | Product | |
|---|---|---|
| Who is responsible for the radio | The module vendor | You, for the configuration you ship |
| What was measured | A bare module on a bench | Your enclosure, your cable, your antenna |
| What can still change cheaply | Almost everything | Nothing on the radio path |
| Who reads the label | You | Customs, and a market surveillance officer |
The rules quoted below are United States federal rules and Espressif documentation, because those are the texts that can be read line by line without an appointment. Every market has an equivalent, and the equivalents do not always treat a module the same way, so treat this as a worked example of how the questions are structured rather than as a worldwide answer.
Your bench is not the test the module passed
A modular approval is granted for a specific arrangement. Section 15.212 of title 47 of the Code of Federal Regulations describes the arrangement in four conditions:
- The module was tested in a stand-alone configuration, which the rule defines as not being inside another device during testing.
- The power and data lines connected to it during testing contained no ferrites unless those ferrites are also marketed with the module.
- Those lines were either the length typical of actual use or, where that length was unknown, at least 10 centimetres.
- Accessories, peripherals and support equipment used during the test were unmodified and commercially available.
A product changes every one of those conditions. A die-cast enclosure replaces free space. A ribbon cable to a display adds a length nobody measured. A ferrite on the incoming lead is exactly what people add when conducted emissions fail. None of this is forbidden, and none of it makes the module approval wrong. It means the evidence describes a configuration that is no longer the one leaving the factory, so the compliance argument for the shipped object has to come from somewhere else.
Changing the antenna is a filing, not a purchase
The datasheet is unusually direct about this. The antenna used during certification of ESP32-S3-WROOM-1U is a first generation monopole with material code TFPD05H08750011, at no more than 2.33 dBi. The datasheet then states that an antenna of a different type or gain may require additional testing such as EMC beyond the antenna test reports Espressif already has, and that the specific requirements depend on the certification type.
The rule behind that sentence is in the same section. A module must either have its antenna permanently attached or use what the rule calls a unique antenna coupler at every connection between module and antenna, including the cable. That same paragraph also removes an escape route people assume exists: the professional installation provision is not available to modules.
What follows is not a purchase decision but a filing decision. Section 2.1043 sorts changes into routes:
| What you changed | Route | What has to exist before you ship |
|---|---|---|
| Nothing on the radio path | No filing | The existing grant |
| Construction that does not affect reported characteristics | Class I permissive change, no filing | A note in your own file |
| Performance degrades but the rules are still met | Class II permissive change, filed by the grant holder | Tests of the affected characteristics |
| Software changes frequency range, modulation or maximum output power | Class III permissive change, filed by the grant holder | Tests run with the new software loaded |
| Frequency-determining circuitry, clock or data rates, modulator, maximum power or field strength rating | A new grant, because this is not a permissive change | An application, and no shipping before the grant issues |
Two details decide who does the work. Class I and Class II permissive changes may only be made by the holder of the grant, and a change that is not a permissive change requires a new application with no marketing until the grant is issued. If the grant holder is the module vendor and you are the one substituting a cheaper antenna, you are not in a position to file that change. Your options are the antenna the vendor documented, or a certification of your own.
Not every module approval is a full one
Section 15.212 also defines a limited modular approval, granted where a module does not meet all of the ordinary requirements, for example shielding, buffered modulation and data inputs, or its own power supply regulation, provided the manufacturer shows by other means that the applicable rules are met in the conditions of use. A limited approval is also the route when radio frequency exposure compliance has been demonstrated only for particular product configurations. In that case the applicant has to state how control of the end product will be maintained so that the end product always complies.
For an integrator this changes the meaning of the word limited. A full modular approval hands you a module whose evidence travels with it. A limited approval hands you conditions, and the conditions become your design constraints. The word appears in the grant, not on the product page, which is the practical reason to read the grant document before the schematic review rather than after.
The eFuses are one-way
Two features are usually described as security features and are better understood as irreversible manufacturing decisions.
Flash encryption encrypts the off-chip flash. Firmware is flashed as plaintext and encrypted in place on the first boot, using XTS-AES-128 with a 256-bit key or XTS-AES-256 with a 512-bit key. The key sits in an eFuse block and is protected from software access by default. By default the key is generated on the device during that first boot, which means there is no key for you to store or leak, and also no way to produce a decryptable image in bulk later. Generating keys off-device is possible, and the documentation's warning about it is specific: do not share one key across every production unit.
Three consequences are easy to miss. The NVS partition is not covered by flash encryption, because the NVS library is not compatible with it, so stored data needs NVS encryption as a separate decision. Interrupting power during the first encryption pass corrupts the flash contents. And in development mode the counter that enables encryption can be toggled once per chip, after which the chip keeps that state.
Secure Boot v2 signs the second stage bootloader and every application image with RSA-PSS, verifying each signature before execution. The ROM bootloader is not signed because it cannot be changed. Up to three public key digests can be stored, unused slots should be revoked so that no trusted key can be added later, and any future update must be signed with a key matching a stored digest.
Security closes the port you were flashing through
The consequence that stops pilot runs is not in the security chapter's summary, it is in the restrictions. Enabling Secure Boot or flash encryption disables the USB-OTG stack in the ROM, which removes serial emulation and device firmware update over that port. The USB connector stays on the board and stops being a programming port.
The second consequence is in the flashing tool. When a chip runs in Secure Download Mode, the documented command set shrinks to writing to flash, erasing a region and reading security information. Reading the MAC address and reading the flash ID are no longer available.
The factory flow that survives this is the one built before locking:
| Step | Command shape | Why it is this shape |
|---|---|---|
| Build one image | merge-bin over bootloader, partition table and app | The line never needs to know offsets |
| Pass the arguments from a file | an argument file referenced with the at sign | One file per product variant, no shell quoting |
| Write it | write-flash at address zero | Works in every mode including the restricted one |
| Record the identity | Read the MAC before locking, or assign identity in the test fixture | The read command is gone afterwards |
If the production test fixture reads the MAC address or the flash ID, that fixture stops working on the day security is enabled. Finding this out on the first locked unit is expensive, because the unit cannot be unlocked.
The chip revision ends up in the bill of materials
A chip revision is written as a major and a minor number. A change of major number means the current software is not compatible and has to be updated. A change of minor number means the same software still runs.
The build can therefore gate itself. A minimum chip revision setting makes the image refuse to run on silicon older than that revision, which is how a known erratum is kept out of a shipment instead of being discovered in the field. When the check fails the second stage bootloader refuses to start and reports the revision the image needs against the revision the chip reports.
The upper end is not yours to set. The maximum revision comes from the ESP-IDF version in use and cannot be configured, and while an eFuse bit exists to ignore that limit, the documentation states that the software is not guaranteed to work if it is set. One more detail matters for old projects: bootloaders built with ESP-IDF versions before 5.0 do not check the revision at all, so the gate only exists if the bootloader was built by a version that knows about revision numbers.
Reading the revision of incoming stock is a single command, chip-id, and it belongs in incoming inspection rather than in a support ticket six months later.
What no document will tell you
Everything above can be answered from public texts. The half that decides whether the product is viable cannot be, and it is worth being blunt about why. These are negotiated per project, so no vendor publishes them, and a number invented on a blog is worse than no number at all.
- The module price at your volume, and the volume at which that price applies.
- The minimum order quantity for the module, the bare PCB and the enclosure.
- Whether the tooling for the enclosure has to be paid once, and whether it is yours afterwards.
- What the certification body charges for the market you are entering, and what it charges again when you change the antenna.
- The cost of the production test fixture, and who writes the test firmware.
- Lead time for the module, and what happens to it when the part number reaches end of life.
- Whether the company answering your email is the manufacturer, a design house, or a trading company reselling somebody else's board.
- Which of the two previous answers is written into the contract.
A quotation that answers none of these is a price list. A quotation that answers all of them tells you what kind of company you are dealing with, and that is information no catalogue can give you.
A checklist that survives an audit
| Item | Where it is recorded |
|---|---|
| Antenna in the bill of materials | The material code and gain limit in the module documentation |
| Host label | The label text that carries the module identification |
| Radio frequency exposure | An assessment for your enclosure, not for the development board |
| Firmware signing key | Who holds it and where the backup is, decided before the pilot run |
| Flash encryption mode | Development or release, decided before the pilot run |
| Factory image | One merged binary plus an argument file per variant |
| Minimum chip revision | A build setting, not a note to the purchasing team |
| Production test | What the fixture checks, and what it deliberately does not |
The pattern is the same in every row. The prototype proves the idea. The paperwork proves the product, and the paperwork is decided by people who are not in the room when the schematic is drawn.
Official documentation
47 CFR 15.212, modular transmitters
47 CFR 2.1043, changes in certificated equipment
ESP32-S3-WROOM-1 and WROOM-1U datasheet
Rule numbers, module material codes and command behaviour in this guide come from the documents listed above, reviewed on 2026-10-17. No hands-on testing, and no prices, because none of those are published.