marcos
1
Hi,
so I’m getting this DRC error -actually a bunch of them-:
The via net and pad net are the same, so it shoudn’t flag an error. The PCBs are manufactured using resin-filled vias to allow for via-in-pad.
Interestingly, this only happens on the “VBUS” net in my “HV” net class, there are many other pads with vias.
Where is this 0.5mm clearance requirement defined? I can’t find any 0.5mm value in the whole Board Setup window.
Application: KiCad PCB Editor
Version: 5.99.0-unknown-bf8a020501~134~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.11.0-37-generic x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Oct 4 2021 07:50:48
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
paulvdh
2
KiCad has decided that your via’s are part of the “VBUS” net, while Pad 1 of C50 is not. (In what net is it?)
I assume KiCad gets confused while placing the via’s because you have multiple zones defined and KiCad does not know where you want to connect it to.
To fix it you can
- Set the selecton filter in the right bottom corner to via’s only:
- Select the via’s, and edit them by pressing e
- Un-check the "Automatically update via nets.
- Select the right net from the drop down box.

After you’ve confirmed they are on the right net you can probably set them back to Automatically update via nets if you wish to do so.
1 Like
marcos
3
If I select that C50 pad, you can see that the pad is connected to the same VBUS net, its following correctly the schematic.:
There is only one VBUS in the design (its not repeated across the hierarchy)
marcos
4
I found the problem,
those pads had this 0.5mm clearance override, which I put in place ages ago when we didn’t have the fancy custom DRC rules:
setting them back to zero clears the DRC error.
I still think it shouldn’t trigger an error because the pad and the vias are in the same net.
I can’t reproduce this. Can you post a project containing the board with all the other stuff deleted?
(All the other stuff on the board deleted, that is, not all the other files.)
marcos
7
Hi Jeff,
yes, here you have it:
DRC_error_report.kicad_pcb (52.4 KB)
I’ll need the kicad_pro file too. (And any kicad_dru file if you have custom rules defined.)
marcos
9
Still doesn’t reproduce for me. I suspect that your build is over a week old and that you’re running in to this:
(which has been fixed).
marcos
11
Oh, yes, that’s most likely the cause. I did check the bug tracker but didn’t come across that one, seems to explain perfectly the issue.
Thanks!
system
Closed
12
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.