{"id":9670,"date":"2026-11-14T13:16:43","date_gmt":"2026-11-14T13:16:43","guid":{"rendered":"https:\/\/www.zenbotchina.com\/?p=9670"},"modified":"2026-11-14T13:16:45","modified_gmt":"2026-11-14T13:16:45","slug":"pcba-firmware-programming","status":"publish","type":"post","link":"https:\/\/www.zenbotchina.com\/es\/pcba-firmware-programming\/","title":{"rendered":"PCBA Firmware Programming: Why a Verify Pass Is Not a Release Approval"},"content":{"rendered":"<p>A firmware programmer can report a successful verify while the board still contains a release not approved for that board revision, starts in the wrong mode, or carries another unit&#8217;s identity. Before releasing a PCBA batch, agree what the programming result proves and what must be checked separately.<\/p>\n<p>Matching the selected programming data is one part of accepting an assembly. Use the six checks below alongside the drawing, assembly inspection and functional test requirements.<\/p>\n<h2>What does a programming verify actually prove?<\/h2>\n<p>In ST&#8217;s <a href=\"https:\/\/dev.st.com\/stm32cube-docs\/prog\/2.23.0\/en\/docs\/markup\/CubeProg_UserManual\/Memory_programming_and_erasing.html\" target=\"_blank\" rel=\"noopener\">STM32CubeProgrammer documentation<\/a>, verification after programming compares the programmed memory with the file byte by byte. That is useful evidence that a write operation produced the expected data in the checked locations. It does not decide whether the operator selected the release your engineering team approved.<\/p>\n<p>Ask the supplier to identify the tool, verification method and memory scope behind its result. A report saying only &#8220;firmware passed&#8221; leaves too much open for a purchasing team to accept or dispute later.<\/p>\n<table style=\"width:100%;table-layout:fixed\">\n<thead>\n<tr>\n<th style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Evidence<\/th>\n<th style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Question it addresses<\/th>\n<th style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">What still needs a separate check<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Approved release record<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Was this the authorized software package for this hardware revision?<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Whether the actual board received it.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Programming and verify result<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Did the specified write and comparison complete?<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Boot behavior, final configuration and application function.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Per-unit identity record<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Which serial number or other assigned data belongs to this board?<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Whether the assignment is unique and linked to the correct physical unit.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Finished-board acceptance result<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Did the board meet the agreed checks in its delivery state?<\/td>\n<td style=\"padding:8px;overflow-wrap:anywhere;white-space:normal\">Anything outside that test&#8217;s stated coverage.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>1. Approve the complete programming job, not just a file name<\/h2>\n<p>A file called &#8220;final.bin&#8221; is not a sufficient production instruction. Link the approved firmware release to the board revision, programming project and acceptance procedure. Identify who can authorize a replacement and how operators receive the revised package.<\/p>\n<p>La <a href=\"https:\/\/kb.segger.com\/UM08003_JFlash\" target=\"_blank\" rel=\"noopener\">SEGGER J-Flash manual<\/a> distinguishes a data file from the project configuration. It also describes different verification methods and multiple data images. Control the job settings as well as the software artifact. Do not assume that copying the same file to a different workstation reproduces the same process.<\/p>\n<p>La <a href=\"https:\/\/www.zenbotchina.com\/es\/pcb-assembly-file-checklist\/\">lista de comprobaci\u00f3n de archivos para ensamblaje de PCB<\/a> covers the wider handoff package. Here, add one specific requirement: the batch record must identify the approved programming job actually used, not merely the name of a folder supplied weeks earlier.<\/p>\n<p style=\"text-align:center\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.zenbotchina.com\/wp-content\/uploads\/2026\/11\/pcba-firmware-release.webp\" alt=\"Concept view of a circuit board beside a laptop and controlled firmware release folder.\" width=\"600\" height=\"360\" style=\"max-width:100%;height:auto\" \/><\/p>\n<h2>2. Define what may be erased, written and preserved<\/h2>\n<p>A reprogramming operation may need to leave some data untouched. Ask engineering to identify the application, bootloader, configuration and any retained manufacturing data before the supplier chooses an erase operation. State which items are common to the batch and which are unique to a unit.<\/p>\n<p>Use a device-specific approved memory plan. Do not copy an address or erase setting from a different board simply because both use the same processor family. ST&#8217;s programming guide distinguishes file formats, starting-address requirements and erase choices; those details belong in the approved instruction rather than an operator&#8217;s assumption.<\/p>\n<p>For repeat or repaired units, specify the recovery route separately. Identify which existing data must survive, which may be replaced, and what evidence is required afterward. If the design does not yet answer that, hold the affected operation for engineering review.<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.zenbotchina.com\/wp-content\/uploads\/2026\/11\/pcba-firmware-fixture.webp\" alt=\"Concept view of a generic circuit board held above spring probes in a programming fixture.\" width=\"600\" height=\"360\" style=\"max-width:100%;height:auto\" \/><\/p>\n<h2>3. Treat serial numbers and calibration data as separate acceptance items<\/h2>\n<p>Two boards can contain identical application code and still need different unit data. Agree who allocates identifiers, how the allocation reaches the programming station, and how a duplicate or failed attempt is handled.<\/p>\n<p><a href=\"https:\/\/www.segger.com\/production\/single-unit-programming\/\" target=\"_blank\" rel=\"noopener\">SEGGER&#8217;s production-programming guidance<\/a> describes adding variable information such as serial numbers and MAC addresses to individual devices. Specify those fields only where the product requires them. This is a tool-supplier example, not a description of Zenbot&#8217;s equipment.<\/p>\n<p>A practical receiving record links the physical board label to its assigned identifier and programming result. If calibration values are part of the product, ask the design owner to define their source, permitted update method and acceptance check. Do not let a general erase-and-retry instruction silently replace them.<\/p>\n<p>Set a rule for scrapped or reworked boards: an identifier should not be returned to the allocation pool merely because a write failed. Record the disposition so the next operator does not unknowingly create a duplicate.<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.zenbotchina.com\/wp-content\/uploads\/2026\/11\/pcba-firmware-serial.webp\" alt=\"Concept view of circuit boards in separate tray pockets with individual identification labels.\" width=\"600\" height=\"360\" style=\"max-width:100%;height:auto\" \/><\/p>\n<h2>4. Agree the final boot and protection state<\/h2>\n<p>A board that works while connected to a programmer may behave differently after a power cycle or after its production configuration is applied. Define the delivery state and the sequence used to reach it, including any required restart and final check.<\/p>\n<p>ST&#8217;s <a href=\"https:\/\/dev.st.com\/stm32cube-docs\/stm32cube-getting-started\/1.0.0\/en\/markup\/Ecosystem_Code_Programming\/Ecosystem_Code_Programming.html\" target=\"_blank\" rel=\"noopener\">programming overview<\/a> separates development and production concerns, including device configuration and provisioning. The correct settings depend on the selected device and product design. They are not a standard purchasing preference that a supplier should infer.<\/p>\n<p>Have the design owner approve any protection changes. <a href=\"https:\/\/kb.segger.com\/MCU_Security_Options\" target=\"_blank\" rel=\"noopener\">SEGGER&#8217;s security-options guidance<\/a> warns that recovery behavior depends on the device; some operations erase memory, and some protection states cannot be reversed. Do not prescribe a universal lock sequence in a purchase order. Ask how the agreed final state will be confirmed without defeating the intended protection.<\/p>\n<h2>5. Separate programming verification from boot and functional checks<\/h2>\n<p>Ask for separate results rather than one combined pass box. A useful acceptance plan distinguishes the programming operation, the approved startup check and the application functions selected for production testing.<\/p>\n<p>For example, a hypothetical control board might require a clean power-up and a defined response from one interface after programming. Those checks would still not prove every operating mode or environmental condition. The product&#8217;s engineer must specify expected behavior, fixtures, limits and coverage.<\/p>\n<p>Also identify whether production testing temporarily loads diagnostic software. If so, require confirmation that the approved delivery image and configuration were restored, followed by the agreed final-state check. Otherwise, a board can pass a fixture test yet leave with software intended only for the bench.<\/p>\n<p>The existing <a href=\"https:\/\/www.zenbotchina.com\/es\/pcba-inspection-and-testing\/\">PCBA inspection and testing guide<\/a> explains test coverage more broadly. Keep that scope separate from the narrower claim made by a programmer&#8217;s verify result.<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.zenbotchina.com\/wp-content\/uploads\/2026\/11\/pcba-firmware-verification.webp\" alt=\"Concept view of separate firmware programming and functional-check stations for circuit boards.\" width=\"600\" height=\"360\" style=\"max-width:100%;height:auto\" \/><\/p>\n<h2>6. Require a release record that survives a rework cycle<\/h2>\n<p>Agree the minimum record before the first batch. It should let the receiving team connect a delivered board to its hardware revision, approved programming job, assigned unit data and final acceptance result.<\/p>\n<p>A tool log can support that record, but check what it actually captures. NXP&#8217;s <a href=\"https:\/\/mcuxpresso.nxp.com\/mcuxsdk\/25.06.00\/html\/middleware\/mcu_bootloader\/docs\/iMXRT1020_Manufacturing_User_Guide\/topics\/program_bootable_image.html\" target=\"_blank\" rel=\"noopener\">i.MX RT1020 manufacturing guide<\/a> provides a device-family example of a programming profile, command sequence and log. Treat it as an example of why the entire job matters, not as instructions for every microcontroller.<\/p>\n<ul>\n<li>Record the board or lot identity and approved hardware revision.<\/li>\n<li>Identify the release package and programming configuration used.<\/li>\n<li>Capture the operation and verification outcome, with any exception.<\/li>\n<li>Link required boot and functional results to the same unit or agreed lot record.<\/li>\n<li>Keep the rework reason, authorized replacement and final retest outcome together.<\/li>\n<\/ul>\n<p>For a failed or interrupted job, specify who decides whether to retry, rework or quarantine the unit. Retain the earlier failed result with the successful retest so the release record explains what changed.<\/p>\n<h2>What to ask before placing the PCBA order<\/h2>\n<p>Send the target device, board revision, proposed programming package and required acceptance evidence with the enquiry. Ask the supplier to confirm supported tools, access to the programming interface, handling of per-unit data and the boundaries of its verification responsibility.<\/p>\n<p><a href=\"https:\/\/www.zenbotchina.com\/es\/pcba-service\/\">Zenbot&#8217;s PCBA service<\/a> reviews fabrication, component sourcing, assembly, inspection and testing needs. Firmware programming, device support, fixtures and release checks need project-specific confirmation; they should not be assumed to be included in an assembly quotation.<\/p>\n<p>Utilice la <a href=\"https:\/\/www.zenbotchina.com\/es\/contact-us\/\">Zenbot enquiry page<\/a> to request that scope review. Describe the required outcome first, then ask for the proposed method and records. Keep sensitive programming credentials out of an initial general enquiry and agree an appropriate transfer process if they are needed.<\/p>\n<h2>Preguntas frecuentes<\/h2>\n<h3>1. Does a firmware verify pass mean the PCBA is ready to ship?<\/h3>\n<p>No. It supports the specified programming comparison. Shipment acceptance also depends on the approved release, hardware revision, unit data, final configuration and any agreed boot or functional checks.<\/p>\n<h3>2. What should the supplier identify behind a programming pass result?<\/h3>\n<p>Ask for the programming job or configuration identifier, approved software release, target board identity, verification method and result. Agree how exceptions and rework are linked to the final acceptance record.<\/p>\n<h3>3. Can the same firmware file produce different production outcomes?<\/h3>\n<p>Yes. Different programming settings, selected memory regions, retained data or device configuration can change the delivered state. Control the complete approved job rather than relying on the file name alone.<\/p>\n<h3>4. Should a rework operation erase the entire device?<\/h3>\n<p>Only when the device-specific approved procedure calls for it. Engineering should identify which bootloader, calibration, identity or other data must be preserved or restored and which checks follow the operation.<\/p>\n<h3>5. How should serial numbers be controlled during programming?<\/h3>\n<p>Assign responsibility for allocation, link each identifier to the physical board and record failed attempts or rework. Define how duplicates and scrapped units are handled before releasing the batch.<\/p>\n<h3>6. Is a functional test a substitute for programming verification?<\/h3>\n<p>No. The two checks answer different questions. Programming verification concerns the specified data comparison; a functional test evaluates selected behavior under defined conditions. Specify the required coverage for each.<\/p>\n<h3>7. What if diagnostic firmware is used during production testing?<\/h3>\n<p>Require an approved sequence for replacing it with the delivery release and applying the final configuration. Then perform the agreed final-state check and retain the result with the board&#8217;s record.<\/p>\n<h3>8. Is firmware programming automatically included in Zenbot&#8217;s PCBA quotation?<\/h3>\n<p>Do not assume it is included. Send the device, board revision, programming requirements and acceptance criteria for review, and obtain written confirmation of the supported scope, tooling and records.<\/p>","protected":false},"excerpt":{"rendered":"<p>A firmware programmer can report a successful verify while the board still contains a release not approved for that board revision, starts in the wrong mode, or carries another unit&#8217;s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9672,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-9670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/posts\/9670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/comments?post=9670"}],"version-history":[{"count":4,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/posts\/9670\/revisions"}],"predecessor-version":[{"id":9679,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/posts\/9670\/revisions\/9679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/media\/9672"}],"wp:attachment":[{"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/media?parent=9670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/categories?post=9670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zenbotchina.com\/es\/wp-json\/wp\/v2\/tags?post=9670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}