My system is fed with 24 V= and power ground via connector X311 (see pictures). The specific pins are connected to the corresponding power ports in the schematic and power flags are attached to mark those occurences as input. However the DRC marks the other occurences as incorrect and they aren’t connected in the PCB layout as well.
The DRC errors talk about X201, X301, X302 and #PWR011 but neither of these are visible in that screenshot.
The only DRC arrow I can see there points at X312, P6&8 connected to GND, but no idea what the error there should be as that error isn’t visible in the DRC window excerpt.
The screenshot of the footprints with ratsnest seems to be showing X312 (if that label is the reference field of the footprint), but 2 times? - why is that, the schematic has got X312 depicted as a single row 8 pin header only!
Yes, they are… the ratsnest is DRAWN over each other and ALWAYS take the shortest way to the next pad with the same net. For P1 & P2 this is horizontal in both cases, for the others it’s vertical and then horizontal, which it draws over each other.
The DRC errors won’t affect that one.
Just start laying down some tracks and you’ll see.
Now onto those DRC errors…
I’d wager a bet that the pin of the terminal where the power is being attached to would need to be of the power input/output type to not cause errors. But doing this for all pins of a connector makes this whole power-flag-drc-check-fumbling rather pointless. I don’t deal with it anymore after my first steps with kicad. I don’t use power flags.
Do me a favour, delete the powerflag at the GND symbol near X311 and run the DRC again… does the drc error vanish for X312 shown in the picture?
Yes, they are… the ratsnest is DRAWN over each other and ALWAYS take
the shortest way to the next pad with the same net. For P1 & P2 this
is horizontal in both cases, for the others it’s vertical and then
horizontal, which it draws over each other.
The DRC errors won’t affect that one.
Just start laying down some tracks and you’ll see.
Well… I just tried it and the Pads are not connected to GND.
Now onto those DRC errors…
I’d wager a bet that the pin of the
terminal where the power is being attached to would need to be of the
power input/output type to not cause errors. But doing this for all pins
of a connector makes this whole power-flag-drc-check-fumbling rather
pointless. I don’t deal with it anymore after my first steps with kicad.
I don’t use power flags.
I think, that this is wrong. I could connect 24 V= just fine and the DRC does not complain at all something must be wrong with those GND ports.
Do me a favour, delete the powerflag at the
GND symbol near X311 and run the DRC again… does the drc error vanish
for X312 shown in the picture?
I found a solution, but it is kind of confusing and not really logical in my opinion: Power pins on supply symbols must be configured as invisible otherwise they won’t work. This isn’t a usual problem I guess because the standard supply symbols do of cause stick to that rule but I did some experiments and broke that rule. With the corrected symbols in use it does work now.