LinqToStdf icon indicating copy to clipboard operation
LinqToStdf copied to clipboard

Multiple pin MPR record results in corrupt STDF

Open dingetje opened this issue 9 years ago • 7 comments

When a multiple pin MPR is written, the resulting STDF file is corrupt. A single pin MPR works as expected. The attached project demo's the problem.

Linq2STDFDemoMPRBug.zip

dingetje avatar Aug 29 '16 08:08 dingetje

Example correct STDF (single pin MPR) and corrupt STDF (dual pin MPR) files STDF.zip

dingetje avatar Aug 29 '16 08:08 dingetje

I'll take a look

marklio avatar Aug 29 '16 17:08 marklio

It looks like you were right. Writing nibbles is busted. When we generate the record writer node tree, we try to write a regular byte array instead of packing it as nibbles.

I have a fix in my indexingReconciliation branch. Unfortunately, I've let the release management get out of hand. Are you compiling your own, or are you using a build from somewhere. If you'd like a patch for your code, the fix is relatively straightforward if you're on a recent commit. You can see it here: 3694bf8c518204dda455e0b2ae8a26c1523f1da3

marklio avatar Aug 31 '16 18:08 marklio

More testing has revealed it is still not right. Stay tuned...

marklio avatar Aug 31 '16 18:08 marklio

You'll also need the BinaryWriter fix in 59e0556db70259e72b3ca464e24a0b7df14f5f0e

marklio avatar Aug 31 '16 18:08 marklio

Confirmed the marklio/indexingReconciliation branch seems to have this bug squashed.

dingetje avatar Feb 15 '19 16:02 dingetje

That branch should work fine. it adds some indexing strategies for doing things like fast wafer map queries. Since I no longer work in the industry, I don't have access to enough STDFs to be able to do adequate testing to make sure I haven't broken anything else.

marklio avatar Feb 15 '19 18:02 marklio