DSM/ECU/Reverse Engineering: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[Image:1.8l dsm-ecu-traces.png|thumb]] | [[Image:1.8l dsm-ecu-traces.png|thumb]] | ||
[[Image:JE331B-silkscreen.png|thumb]] | |||
[[Image:JE331B-top.png|thumb]] | |||
[[Image:JE331B-bottom.png|thumb]] | |||
==How-To== | ==How-To== |
Revision as of 14:21, 4 March 2022
Example
Here is an example of record keeping of the components and PCB references I did on a 1.8l ECU I reversed as practice:




How-To
Hardware
- Obtain ECU
- Take external photographs
- Mostly for all the numbers and letters/the stickers
- Open ECU
- Remove PCB
- TAKE MORE PICTURES (before you touch anything else)
- The code on the plug socket
- The microprocessor
- The EPROM (if there is one)
- Any and all visible marking on components
- The ENTIRE board on BOTH sides
- RECORD all components with visible markings, decode resistor values
- This means a table with the PCB Silkscreen references and the components values
- ACETONE bath
- This is to remove all the conformal coating junk that interferes with reading markings AND the ability to probe, test, and desolder
- SCRUB with Toothbrush, Q-Tips
- PHOTOGRAPH and RECORD any newly visible information
- REMOVE any components with known values:
- Electrolytic capacitors can go first
- Then any ICs
- Resistors with the bands already decoded
- Connectors
- REMOVE components with unknown values ONE AT A TIME
- SMD Capacitors and Transistors are good examples
- Remove one, use the Multimeter and/or LCR meter to get values and RECORD them in the table
- Eventually you will be left with a BARE BOARD
- SPRAY and WIPE DOWN the bare PCB with WD-40 to clean up any remaining conformal coating and junk
- This preps the board for nice clear photographs
- PHOTOGRAPH both sides of the PCB
- Get ONE photo of EACH side of the PCB
- Flat
- In focus
- Dead-on photos with no perspective error
- Use a tripod
- Use lighting
- Use a remote shutter-release to eliminate shake from the image
Digitization
- Do color correction in darktable
- Import to GiMP and isolate the Silkscreen to generate a silkscreen layer
- Import into Inkscape to create a vector of the copper traces
- Use the last two steps to import into KiCad
- Recreate the PCB
- Create a schematic from the PCB
Result
- A BOM of sorts
- List of all the components and their location on the PCB
- A Schematic of the electrical connections
- A PCB layout
- Lots of photos
Toolbox
Tools
- Screwdrivers
- Tweezers
- Solder
- Solder Sucker
- Solder Wick
- Soldering Iron
- SMD/Reflow Air Tool
- Chamois cloth
- Multimeter
- LCR Meter
Solvents
- Acetone
- 99% Isopropyl alcohol
- WD-40
- Flux
- Flux cleaner
- H20
Camera
- DSLR
- Tripod
- Circular-polarized lens
- Remote shutter-release
- Lighting
Software
- Darktable
- GiMP
- Inkscape
- KiCad