Substrate Maps
SEMI E5 stream 12 wafer maps: fetch, send and per-tool commands; E142 XML import and export, built from SEMI’s published schema files; not yet checked against the standard text.
FabConnect moves wafer maps between tools and the host over stream 12 (S12F0–F19), stores them per tenant and shows them in the console. Maps can also be imported from and exported to SEMI E142 XML, built from SEMI’s published schema files; not yet checked against the standard text.
Why there is a remote command
In E5 the tool starts every stream 12 conversation; there is no host message for “send me your map”. So fetching a map from a tool, or sending one to it, first sends a remote command (S2F41) that makes the tool start. That command is vendor-specific:
| Setting | Default | Parameters |
|---|---|---|
wafermaps.upload_command | WAFERMAP_UPLOAD | MID, IDTYP, MAPFT |
wafermaps.download_command | WAFERMAP_DOWNLOAD | same |
For mixed-vendor fleets, set both commands per tool with PUT /api/v1/equipment/{id}/wafermaps/settings. A tool that uploads or requests maps on its own needs no command: call with trigger: false and FabConnect waits for it.
E142 XML
Built from SEMI’s published schema files; not yet checked against the standard text. FabConnect claims no conformance.
- Import (console: Import E142 XML; built from SEMI’s published schema files; not yet checked against the standard text) reads an E142-1 MapData document in version V0125, V0224, V0921 or V0211 and stores one map per BinCodeMap overlay, all or none, keeping each overlay’s name, version and layout. What it does not keep — other overlay types, substrate details, extensions — is listed as warnings.
- Export (console: Export E142 XML; built from SEMI’s published schema files; not yet checked against the standard text) writes a stored map in the version you choose, V0125 (the newest) by default. The exports in our test suite are checked against SEMI’s schema for their version. A map whose bins E142’s Ascii type cannot hold (a space or a control character) is written as HexaDecimal, byte for byte.
- One-byte bins are read: Ascii and HexaDecimal in rows or in Coordinate maps, Decimal in Coordinate maps only (Decimal rows are refused, since the schema does not say how they are separated). Two-byte (Integer2) bins, bottom-side maps and map types the schema leaves unexplained are refused rather than altered.
- A file without a die size is stored with the size marked unknown; sending that map to a tool asks for a die size first, since stream 12 carries one.
- Where the schema does not say (row order, axis direction, coordinate origin, which bin qualities are good), FabConnect’s interpretation is documented in
docs/wafer-maps.md.
Strip and tray maps
Built from SEMI’s published schema files; not yet checked against the standard text. Strip and Tray are E142 substrate types in every E142-1 version; the schema gives them the same layout, coordinates and bins as a wafer, so a strip or tray map is a rectangular grid of devices or pockets.
- Every stored map says what it is of: wafer, frame, strip or tray (
substrate_type). The list can be filtered by it (GET /api/v1/wafermaps?substrate_type=strip). - Stream 12 cannot say “strip” or “tray” (its IDTYP has wafer, cassette and film frame only), so a fetch names the substrate type (
substrate_typeinPOST /api/v1/equipment/{id}/wafermaps/fetch; console: Substrate type) and the gateway records it. - E142 import reads Strip and Tray maps and export writes them, in all four versions (built from SEMI’s published schema files; not yet checked against the standard text). A layout of several blocks (a parent layout larger than 1 × 1) is refused rather than flattened, since the schema does not say where each block’s devices go. TnR, Panel and PCB substrates are refused.
- The console’s Substrate Maps page draws strips and trays with X and Y rulers; a tray’s empty pockets are outlined. The simulated tool holds a strip (
SIM-STRIP.01) and a tray (SIM-TRAY.01); nothing here has been run against physical equipment.
Endpoints
GET,POST /api/v1/wafermaps;GET,DELETE /api/v1/wafermaps/{mapId}POST /api/v1/wafermaps/import(an E142 XML document);GET /api/v1/wafermaps/{mapId}/e142?version=(E142 XML built from SEMI’s published schema files; not yet checked against the standard text)GET /api/v1/equipment/{id}/wafermapsPOST /api/v1/equipment/{id}/wafermaps/fetchand/send
Limits
Stream 12 works over HSMS. By default a map may have up to 262,144 cells (wafermaps.max_cells, at most about a million) and must fit one HSMS message (8 MiB). An E142 XML document (built from SEMI’s published schema files; not yet checked against the standard text) may be up to 1 MiB plus 64 bytes per allowed cell (17 MiB by default; proxies in front of the gateway must allow that much, and the shipped nginx and ingress allow 18 MiB); documents with a DOCTYPE or entities are refused, and two imports are parsed at a time.