Pcbnew BOM output contains unknown parts

New to KiCad (5.1.12) and working on my first design.

When exporting a BOM from Pcbnew my BOM contains an empty row. Pcbnew seems to think I have a part, with its own ID and a quantity, but no designator, no package, and (to my eyes, anyway) no footprint on any layer of the board.

How can I find and eliminate it?

One way is examination though elimination.
Make a copy of your project, and start deleting stuff (each time approx half your project), untill either the problem goes away (it was in your last delete), or you’re left with a single part (that is it).

In 10 iterations you can find one part in 1024.

It is a last resort method. There probably are better options out there

What OS are you on? This is the CSV file right? If it’s at the end of the file, it may not be a real part but a stray extra line feed or carriage return generated in the file. You can open up the file in a text editor and see if it’s a blank line or a bunch of semicolons with nothing in the fields. The latter would indicate a phantom part rather than a blank line.

If you are starting off with KiCad, why not start with 6.0.1? If there is a bug it may have been fixed.

2 Likes

Thanks for the replies, retiredfeline and paulvdh!

I ended up fixing this problem by editing the .kicad_pcb file in a text editor. Kicad appears to export component information in the same order that they appear as module statements, making it fairly trivial to track down the component. Somehow, one line of text on the F.Fab layer was appearing as a module – not sure how I managed that, but by deleting that module, the problem was fixed.

FWIW I’m on Windows 11. I installed Kicad on this laptop mid-December, but this was my first actual design. Looks like I just missed the new release. I’m not sure about upgrading – the rest of my organization is still on 5.1 and I need to ensure compatibility.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.