Archive for the ‘PCB Manufacture’ Category
The best way of Printed Circuit Board Welding
1 Wetting
When the hot and liquid soldering tin dissolve and penetrate onto the surface of metal, it can be defined as metal wetting. Molecule of mixture of soldering tin and copper can form a new alloy which contains part of copper and part of soldering tin. Molecule bond is the core of welding, it can decide the hardness and quality of soldering point, wetting can take place only on the copper surface which has not yet being contaminated, no oxide film due to exposure under air, at the same time, temperature should reach certain level.
2 Surface tension
Everyone knows the surface tension on the water, this tension can keep the cold water drop remain the same shape on the metal plate with grease, this is because adhesion which tend to make upper liquid expansion on the surface is smaller than its cohesion. Use warm water and cleanser can reduce the surface tension, water can soak the metal plate with grease and flow out to form a thin film, if the adhesion is bigger than cohesion will occur this situation.
Cohesion of TIN-LEAD soldering tin is even bigger than water, which can make the soldering tin as ball shape which can help to minimize the surface size, to satisfy minimum energy state requirement. Flux play the role as cleanser to metal plate with grease, additional, surface tension is highly depends on the cleaning level and temperature, only adhesion power is much greater than cohesion power, reasonable wetting can occur.
3 Alloy metal
Metallic bond among copper and tin can form grain, the shape and size of grain are determined by soldering temperature and lasting time length, hardness. Less heat during soldering can form more deliberate poikilitic texture, to form the best soldering point with hardest strength. Too much reaction time, either extremely time length of soldering or overheat or both will cause crude poikilitic texture.
Application of High Density Interconnect in PCB Manufacture
1 Traditional Plated Through Hole;
Most common, cheapest inter-layer connected technology is traditional plated through hole technology. Below picture you can view the 6 layer plated through hole printed circuit board:
In this application, all the drill hole need to be through printed circuit board, no matter if they can be used as via or component lead hole. The drawback of this technology is the through hole will take over all the precious space of each layer. Without the consideration whether that layer need electric connection.
2 Buried via:
Buried via is a kind of through hole technology use to connect the 2 or more layers of multilayer printed circuit board, buried via is among the inner layer of printed circuit board, not on the surface of printed circuit board. See below picture, there is a multilayer printed circuit board with buried via.
Compare with traditional plated through hole structure, buried via can save more space. When the signal circuit density is very high, need more holes to connect the signal layers, and need more signal circuit simultaneously, buried via technology can be applied. However, because buried via technology need more process, so higher circuit density will increase printed circuit board cost.
3 Blind via
Blind via is a kind of through hole which help to connect layer from surface to inner layer, they won’t go through the whole printed circuit board, see below picture
It is a typical blind via technology, blind via technology can be applied on both side of multilayer printed circuit board, blind via can connect both through hole and component hole which will go through printed circuit board.
Blind via can overlay each other and can make smaller which can save more space and layout more signal circuit.
Refers to SMD and connector, blind via is extremely useful because they don’t need big component hole, only need small via which can connect surface layer to inner layer. On the very density and thick multilayer printed circuit board, through surface mount technology can effectively reduce the weight and provide more space for designer.
What is electronic PCB
PCB (Printed Circuit Board): It appears in almost every electronic device. If there exist electronic components a certain kind of equipment, which are set in various sizes of PCB. In addition to fix a variety of small parts, the main function of PCB is to provide electrical connections among the parts. As electronic devices become more complexity which requiring more and more electronic components, the intensity of circuit pattern and electronic parts on the PCB are also increasing simultaneously. Bare board (without any electronic components on it) is also often referred to as “Printed Wiring Board (PWB) “. The substrate of PCB is composed of insulated as well as non-pliable material. Small circuit wire as you can on the surface of laminate is copper foil, copper foil is covered on the surface of raw laminate, and being etched away in the manufacturing process, those part being left behind as a network of fine lines form the circuit pattern. These lines are called conductors (conductor pattern) or said wiring, which are used to provide electrical connections on the PCB for those components.
Several Commonly Used Standards refers to Electronic Manufacture (1)
1> IPC-ESD-2020: United Standard, developed by electrostatic discharge control programme, includes all the necessary design, establishment, installation and maintenance of electrostatic discharge programme. According to the history experience of some military and commercial organization, provide guidance of solution and protection during sensitive period of electrostatic discharge.
2> IPC-AC-62A: Handbook of water clearing after assembly, describe composition of residue and remains, type and feature of cleanser, process of clearing, related equipment and technology, quality control, environment control and employee safety, method of verify the level of clearness and charge of clearing.
3> IPC-DRM-4 9 0E: Evaluation Reference Manual of THROUGH-HOLE soldering point. Describe the components, hole-wall and soldering PAD coverage specification according to the standard in details. Except that, also include the 3D drawing created by computer, include tin filled, contact lead, contact tin, vertical filled and solder PAD cover and lots of soldering points defects.
4> IPC-TA-722: Appraisal Handbook of soldering technology. 45 articles refer to each aspect of soldering technology, content refers to normal soldering, soldering material, manual soldering, soldering in big volume, wave soldering, reflow soldering, vapor phase soldering and infrared soldering.
5> IPC-7525: Template Design Directory. Provide guidelines for design and manufacture of stencil used as template of solder and surface mount bonder, also discuss template design for the application of surface mount technology, introduce hybrid-technology of thru-hole and upside-down chip mounting, include overprint, mackle and stagewise template design.
6> IPC/EIA J-STD-004: Requirement Specification of Flux, include the qualification and category of colophony, resin, Classify organic and Inorganic flux according to the amount of halide and activation level; also include the usage of flux, material which contain flux and no-residue flux when apply in the no-clean process.
7> IPC/EIA J-STD-005: Soldering Paste Specification, list characters of soldering paste and qualification requirement, also include testing method and metal content standard, as well as stickiness, roughness, solder ball, glutinosity, and wetting capability of solder paste.
PCB Recreation: Software Selection and Reproduction Workflow
A pcb recreation software and service engagement turns a physical sample into a full set of production ready files, but the quality of the result depends heavily on the CAD tools chosen at the start. Rebuilding a board from scratch is different from editing an existing design, because every trace, pad, and via must be recreated from measurements rather than imported from a previous project. The right software lets a team capture geometry, verify connectivity, and output fabrication data without switching between incompatible programs. This article walks through how to select recreation software and the workflow that takes a bare board from imaging to manufacturable output.
Selecting the Right PCB Recreation Software
The first decision is whether to use a mainstream layout suite or a dedicated reverse engineering tool. Mainstream packages offer mature routing editors and large component libraries, which helps when recreating standard parts. Dedicated tools often include layer alignment, net tracing, and image overlay features that speed the capture of an unknown board. For most services, the ideal is a tool that keeps the entire workflow inside one environment so that geometry, schematics, and outputs never leave a single file.
A good recreation program should also support flexible import of scanned images and X ray or optical layer stacks. When inner layers are imaged separately, the software must align them precisely to the outer layers. Poor alignment is the most common source of recreation errors, and it is far cheaper to prevent than to debug after fabrication.

Capturing Board Geometry and Layer Data
Geometry capture starts with high resolution imaging of each copper layer after the board is delaminated or milled. Technicians overlay the images in the CAD tool and trace pads, tracks, and vias against the reference. For dense boards, automated vectorization can extract many primitives, but manual cleanup is still required to separate merged pads and correct rounded corners that scanners distort.
The captured geometry then becomes the source for net extraction. Connectivity is verified by comparing the traced copper against continuity measurements taken from the physical sample. This two pass approach catches open circuits and shorted traces before they are baked into the final database. A thorough extract circuit diagram from pcb board step often feeds directly into this verification stage.
Recreating the Schematic and Netlist
With the netlist established, the next task is to reconstruct a human readable schematic. Components are placed into functional blocks, signal names are assigned, and power domains are separated so the drawing reflects how the circuit actually behaves. Good recreation software lets engineers annotate while they draw, which keeps the schematic synchronized with the layout.
Where the board hosts a microcontroller, the schematic alone may not be enough. Teams sometimes extend the work into microcontroller reverse engineering behavior analysis to understand how the firmware interacts with surrounding circuitry. This context prevents mislabeling of pins and reduces the risk of a functionally wrong recreation.
Comparing Software Feature Sets
Different tools emphasize different strengths. The table below summarizes the capabilities that matter most for a recreation service.
| Capability | Why it matters | Typical tool support |
|---|---|---|
| Layer alignment | Prevents misregistered inner layers | Common in dedicated tools |
| Net tracing | Speeds connectivity capture | Varies by license tier |
| Library management | Reuses standard footprints | Strong in mainstream suites |
| Output generation | Produces Gerber and ODB plus plus | Standard across packages |
| Constraint checking | Flags clearance violations | Optional premium feature |
Matching the feature set to the board complexity avoids paying for unused modules while still covering the work at hand.
From CAD File to Fabrication Output
Once the layout is verified, the software generates Gerber files, drill data, and pick and place files for assembly. A careful service will run a design rule check against the original board measurements to confirm that spacing and annular rings match. Fabrication outputs should also include a stack up description so the manufacturer builds the correct dielectric thickness.
Before release, a prototype is often built and tested against the original sample. Functional comparison closes the loop and confirms the recreation is electrically equivalent, not merely visually similar.
Service Considerations When Outsourcing Recreation
Choosing a recreation service means evaluating both tooling and process discipline. A provider that keeps the entire workflow in one validated environment will deliver more consistent files than one stitching together separate utilities. Ask how inner layers are imaged, how connectivity is verified, and what documentation accompanies the deliverables.
For boards that also need schematic recovery, pairing recreation with a restore schematic diagram from circuit board workflow gives the most complete result. The pcb recreation software and service decision therefore shapes not just the files produced but the long term maintainability of the reproduced hardware. Understanding the broader pcb reverse engineering primary objective also helps a buyer judge whether a quoted service covers the full data set or only the bare layout, and a reverse engineering wiring diagram from pcb board study can round out the connectivity picture.
PCB Modification Process
PCB Modification is a Process to re-edit the circuit board layout drawing, which can be converted to gerber file, and make improvement over the schematic diagram of printed circuit board after extract the schematic from it;

There is a 4 layer Printed Circuit Board need to being modified, all the components assembled on the surface have already been removed, PCB surface being cleaned, the process of acquire Printed circuit board gerber file for production through printed circuit board reverse engineering can be seen below:
1 Scan TOP layer circuit board, save the scanning picture and name as TOP.jpg, the DPI value can be set according to the density of PCB card, hereby we choose 400DPI as reference; Scan Bottom layer and name it as BOTTOM.jpg; Use sand paper to abrade the TOP layer copper and expose the 2nd layer copper circuit pattern, scan the circuit pattern after clean it out and name it as MID1.jpg; Use sand paper to abrade the 2nd layer copper and expose the 3nd layer copper circuit pattern, scan the circuit pattern after clean it out and name it as MID2.jpg;
2 Open PCB Board reverse engineering software, click on “file” from MAIN MENU, and then click “OPEN BMP”, select the TOP.bmp file and open it, set up DPI value and then choose the PCB Card layer feature as TOP layer, start to place components, through-hole and arrange PCB Card circuit line, after you have arranged everything on the TOP layer, save file as temporary and name as TOP-1.dpb ( save the files periodically under different name such as TOP-2, TOP-3, TOP-4 prevent files lost from unexpected power cut-off or computer breakdown );
3 Hereby comes to the final step of circuit card modification from a 4 layer circuit board.
Click on “file” from MAIN MENU, and then click “OPEN BMP”, select the BOTTOM.bmp file, at the same time open temporary file TOP-1.dpb, and you will find that circuit card TOP layer picture which has been finished already can’t align to circuit board BOTTOM layer background picture, so you have to use cursor “UP”, ”DOWN”, ”LEFT”, ”RIGHT” to move its location, now you can choose some reference points to align the layers and after you have finished alignment you can start to place components, through-hole and arrange circuit line on BOTTOM layer, what if circuit line on the TOP layer block your eyesight on BOTTOM layer? It is easy, just from the main menu “Options” select “layer color settings”, cancel the selection of TOP layer as well as silkscreen, after you have arranged everything on the BOTTOM layer, save file as temporary and name as BOTTOM-1.dpb, or as BOTTOM-1.pcb;
Repeat the process you have just been through then can output completed circuit card file from circuit card modification.
PCB Development Accurary
Refers to the PCB Development Accurary, depends on two aspects, one is the accuracy of the software, one for the original image accuracy. Those companies who provide circuit board development service in the current market possess broad variety of precision technical capacity, and some of them have lower accuracy of PCB reverse engineering as a result of absence of high technical ability, but some of them can reach 1mil accuracy of PCB card cloning.

There is no restriction on precision if the software apply 32-bit floating point, so the most important thing depends on the accuracy of the original scanned image, for example, if with 100 million pixels, the picture can be washed 5-inch photos, but if we want it to wash into a 20-inch photos, it simply can not see, so for a high precision circuit board is, Choosing a higher DPI is necessary and critical when scaning the printed circuit board which will help to obtain an good solution pictures.
The definition of DPI is quantity of points per inch. It simply stand for the distance between two points of the scanned image is 1mil, so if DPI is 400, then the distance between two points on the image is 1000/400 = 2.5 mil, that means the accuracy is 2.5mil.
This is the most scientific measurement way, although some people claim the accurary can below 1mil, it is a prerequisite. In fact, the pcb development accurary largely depends on the original image accuracy.
To sum up, DPI value setting on the scaning machine should be determined by the requirement level of accurary of PCB board which is ready to be developped, for instance, line spacing of mobile phone circuit board usually below 1mil, then the value of DPI need to be set at more than 1000 . Scanner on the market today can satisfy this condition.
But it is hard to say the higher DPI being set, the better PCB circuitry pattern scanning job can be done.
Since higher DPI is too large to install and process in the hardware enviroment which has much higher requirement on the hardware, so the specific settings of DPI value should be adjustable according to specific pwb and their corresponding requirement. For the PCB board schematic diagram restoration with general accuracy requirement need to generally use 400DPI is enough.
STM32G030C8: Opening the Protection and What It Costs
Ask for a device to be “opened” and you will get one of two answers depending on who is listening. Someone who works with older microcontrollers will assume you mean “make the contents readable”. Someone who works with ARM parts will assume you mean “remove the protection”, which on this silicon is a different thing entirely.
The difference is not pedantic. One operation returns data. The other returns a blank chip, by design, and the design is deliberate: the protection is removed by removing what it protected.
The sequence, and the erase hidden inside it
Removing level one protection is done by writing the option byte that encodes the protection level back to the unprotected value, then triggering a reload of the option bytes so the new value takes effect.
The reload is the moment everything happens. When the device reloads a protection change from protected to unprotected, it first performs a mass erase of the main flash. Then it applies the new option value and resets.
| Starting state | Action | Result |
|---|---|---|
| Level 0 | Read flash | Data returned |
| Level 1 | Read flash | Blocked |
| Level 1 | Regress to level 0 | Mass erase, then open and blank |
| Level 2 | Any attempt | No effect, permanently |
| Level 1 | Interrupted regression | Indeterminate; may need a second attempt |
So the answer to “can you open it without losing the program” is no, and it is not a limitation of tools or skill. It is the mechanism doing its job.
What is actually lost
The mass erase covers the main flash array. It does not touch everything:
- The unique identifier survives, which is why the part can still be identified afterwards.
- The factory calibration values survive.
- The option bytes are, obviously, changed.
- External components are untouched.
What is lost is the program and anything stored in flash — including an emulated non-volatile store, which is usually where the production data lived. On a device that has been in service, the configurational data is frequently more valuable than the code, and it goes with everything else.
The interruption risk
The regression involves an erase that takes time, and a supply that fails partway through leaves the device in a state nobody designed for. Three outcomes are possible and only one is convenient:
The erase completed and the option byte was written. The device is open and blank, which is what was asked for.
The option byte was written but the erase did not complete. Rare, and the worst case: the device reports a protection state that does not match its contents, and recovering from it may require repeating the procedure.
Nothing happened. The safest failure. The device is still protected, still holds its program, and the procedure can be repeated.
The practical defence is boring: a supply that will not sag, a tool that waits for the operation to finish rather than timing out, and no other activity on the board during the sequence.
Level two is a different category
At the highest protection level the debug interface is disabled at the silicon level and the option bytes cannot be modified. There is no regression, no erase, no documented recovery. The part still runs; it simply cannot be investigated through any standard interface.
This matters for quoting work, because a level two device is not a harder version of a level one device. It is a device for which the software route does not exist, and any plan that assumes otherwise will fail at the first step.
When opening is the right call
Four situations justify it, and each has the same shape: the contents have no value.
The program is already captured. The array has been read, the read verified, the file delivered. Opening the device afterwards is housekeeping, and it may be required if the part is being handed back and the customer wants a known protection state.
The device is being repurposed. A part recovered from a failed board, being prepared for a legitimate new image.
The firmware is available from another source. A second unit of the same product, or the customer’s own archive, means the contents are not unique.
The customer asked, in writing, knowing the consequence. Not “the customer wants it unlocked” as an assumption, but an explicit instruction with the erasure stated.
Everything else calls for reading first, and for the non-destructive options — including the physical ones — before any destructive one.
The conversation that prevents an argument
The single most useful sentence in this work is short: “opening it will erase it”. Said before the operation, it produces a decision. Said after, it produces a dispute.
Along with it, three facts the owner needs:
- What is on the device, as far as can be determined without reading it.
- What will be lost, in terms of their product rather than in terms of bytes.
- What the alternatives are, and what each costs.
That is a two-minute conversation and it converts a technical operation into an informed decision, which is the only kind that should be executed.
Recording the outcome
Whatever the device’s state after the work, write it down: the protection level before, the operations performed, the level after, and whether the array retains its contents.
A part returned in a different protection state than it arrived in is a change to the customer’s product. Recording it is not bureaucracy; it is the difference between a delivery and a surprise.
Related reading
- STM32G030F6 and what the security bits actually are — the map behind this operation.
- STM32G030K8 and the non-destructive read path — what to do first.
- STM32F030R8 locked bits — the same mechanism on the predecessor family.
FAQ
Can read protection be removed without erasing? No. The erasure is part of the mechanism, not a side effect of a particular tool.
Does the erase clear the unique identifier? No. It survives, which is how the part can be identified after being opened.
Is level two ever reversible? Not by any documented method.
What if the device is already level zero? Then there is nothing to open, and the array can simply be read.
Conclusion
Opening and destroying are the same operation on this part, and the documentation says so plainly. Read first, keep the file somewhere durable, have the consequence agreed before the command is issued, and record the protection state the device was left in.
PIC16C52 Program: On a Windowed Part, Opening Means Erasing
Some enquiries use the word open because the customer wants to see inside the chip, and some use it because that is the word in the trade. On the PIC16C52 they can point at very different work, because the windowed version of this part was built to be opened. A ceramic package with a quartz lid is not a barrier to be removed; it is a feature to be used.

What the window is for
Erasable parts were shipped in ceramic packages with a transparent lid so the array could be returned to all ones by exposing it to ultraviolet light. The lid is quartz because ordinary glass blocks the wavelength that matters. Once the charge is driven off the floating gates the part is blank, and the same socket that read it can program it again. That is why the order code carries a letter telling you the part is windowed, and why a stock of these parts can be reused indefinitely while the plastic version cannot.
Erase is a dose, not a duration
The data sheet specifies the erase as an integrated dose at a wavelength, and the practical instruction that follows is twenty minutes or so under a lamp of the stated intensity at a stated distance. Two failure modes account for most of the trouble. Under-erasing leaves cells that read as programmed on one pass and erased on the next, which produces a dump that changes between runs. Over-exposure is not usually harmful to the array but does cook the plastic of a socket, and repeated heating is what eventually kills the bond wires.
Why an erased windowed part is not a loss
For a customer whose goal is a working second unit rather than a copy of the original code, the window is the whole answer. Erase, reprogram with the image they already have, and the part is back in service. This is the cheapest outcome in the whole vocabulary of these jobs and it is routinely overlooked because the enquiry arrives as “the chip is protected, we need it opened”. The distinction between a part that is locked and a part that is merely full is the same one that PIC16LF54 protection turns on.
Where decapsulation is still required
| Part variant | Package | Does opening mean decap |
|---|---|---|
| JW, ceramic, windowed | Ceramic with quartz lid | No, erase and reprogram |
| Plastic OTP, same die | Epoxy | Yes, and it is one way |
| Plastic, protection clear | Epoxy | No, read through the pins |
The middle row is the one that destroys evidence: once the epoxy is gone the part cannot go back into the product, so the read has to be right the first time. The top row has no such risk, which is why the first question about any old PIC should be which package it is in.
What the window cannot tell you
Erasing a windowed part leaves no trace of what was in it, so the window is also a way to destroy the evidence while believing the part has been serviced. A part that arrives already erased, with a lid that has clearly been under a lamp, is a part whose contents are gone and whose history is now unknown. Recording the read, the checksum and the socket before the lamp goes on is the only way to answer the question later. It is dull bookkeeping and it is the difference between a documented device and an anecdote.
The sequence that pays
Read first, while the part still works, then erase, then reprogram from the image. Doing it in that order means a failed read costs nothing but the time, and the device is still returnable. Doing it the other way round, erase and hope, loses the original image permanently and turns a repair into a reverse engineering project. The order is worth writing into the work instruction, because under time pressure the temptation is always to reach for the lamp.
Limits worth stating up front
The window does nothing for a part whose protection is in a fuse that the erase cannot reach, and it does nothing for a die that has already lost charge to age. It also does nothing for the plastic part, which is the majority of what is found in the field. Where the part is plastic and the protection is set, the route is the one in decap of the 54A and decap of the 55, and the constraints of that work are described in breaking an IC. The 16C505 is in the same position, and its EEPROM question is a different one. Reading the array before the lamp is used is not caution for its own sake; it is the difference between a file and a memory of a file.


