Prepare the production station
Have the correct boards, reliable power, a suitable USB connection, and the tested firmware for the product available. Select the workspace and batch that correspond to the units on the workbench. The firmngin-factory application runs in a terminal on your production computer. It supports factory registration, firmware flashing, and setting up each unit’s own device identity.- Get the application from the public Factory CLI distribution and follow its installation instructions.
- Open a terminal and enter
firmngin-factoryto launch the interactive application. - Choose Sign in (Factory) and sign in with the Firmngin account used for production. Review the requested factory access.
- At Select Workspace, choose the workspace you prepared in the dashboard.
- Have the tested factory firmware and the unit’s network setup available.
Prepare each board
Connect one board, then follow these steps in the interactive application:- Choose Provision Unit.
- At Select Batch, choose the batch you created. The application selects the next available unit within that batch.
- At Select Firmware, choose Cloud library to use your uploaded master firmware, or Local .merged.bin file to use a file on your computer. Select the tested image for this product.
- At Flash & Provision, select the board’s serial port. Keep Skip flash unchecked for a fresh board, then press Enter to start.
- Let the application install the image, set up the unit’s identity, and wait for the board to restart and reconnect. Wait for Congratulations! and the success result.
- Match the finished board to its device record and keep it identified. Connect the next board, then choose Provision next device when you are ready to repeat the process.
.merged.bin image uploaded as As Master Firmware Fleet. See Master firmware for fresh boards for preparing the correct file.
The factory workflow checks the new online connection before completing setup. Writing firmware alone does not complete provisioning. If a step fails, keep that board aside and resolve the reported issue before treating it as complete.
After setup, return to Fleet Batches and review the unit’s factory status. A successful factory setup is recorded as provisioned.
Provisioned means factory setup was recorded as complete. Check the unit’s actual operation before treating it as ready to sell.
Check the finished unit
Use the same checks for every unit of the product. Adapt the expected results to what your device is designed to do.
Open the device from the expanded batch to review its readings and controls. If a unit fails a check, keep it separate from passing units while you investigate.