DRC ErrType(3)

Asked by Alessandro Fabilli

Application: kicad
Version: (2015-06-10 BZR 5730, Git 63c978d)-product release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.9.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

I can not figure out if it's a bug or am I committing some error, the error that the DRC tells me is:

ErrType(3): Pin connected to some others pins but no pin to drive it
    @ (143,51 mm,110,49 mm): Pin 1 (Power input) of component #PWR04 is not driven (Net 1).

This issue comes up when using the library "power" components in EEschema, eg if I connect + 12V to a connector and then to another, when I run DRC returned the error.
The only way I've found to avoid the error is to change the type of the component pin + 12V, as "input power" to "passive".
There is another way to avoid this?

If possible I can attach a simple project that return error.

Question information

Language:
English Edit question
Status:
Solved
For:
KiCad Edit question
Assignee:
No assignee Edit question
Solved by:
Alessandro Fabilli
Solved:
Last query:
Last reply:
Revision history for this message
Chris Gibson (chris-w-gibson) said :
#1

Have you made the pin visible in the component? If so, that will cause exactly that error.

Revision history for this message
Alessandro Fabilli (o-alessandro) said :
#2

Yes the pin are all visibile.
ERC on Eeschema generate the same error in project demo "pspice.pro".
The only way for solve this problem is to connect a "power flags" in the same connections "+12V", but I don't know if is correct.

Revision history for this message
Chris Gibson (chris-w-gibson) said :
#3

If you have visible pins on a power component, it will not automatically connect them to the power net. Make them invisible and it will work. That is the way it is intended to be apparently.

Don't ask me why, i didn't make the feature :)

Revision history for this message
Chris Gibson (chris-w-gibson) said :
#4

Oh hang on, yes you have to have a power flag connected to it. That is what they are for. I assumed you had that as previously you said you could only solve it by changing the pin to passive. Now you say the power flag fixes it, which is correct.

Revision history for this message
Alessandro Fabilli (o-alessandro) said :
#5

Chris many thanks for support.