ERC issues with KiCad 6 - Page 1
Forum section: electronics / general

author: perdrix
author_rank: Frequent Contributor
timestamp: June 03, 2022, 05:58:42 pm
content: KiCad ERC errorsI'm getting ERC problems with the following errors below:ERC report (03/06/2022 18:55:59, Encoding UTF8)Code:***** Sheet /: Symbol 'Conn_01x05_Female' has been modified in library 'Connector'.; Severity: warning@(1650 mils, 6800 mils): Symbol J3 : Symbol '8P8C' has been modified in library 'Connector'.; Severity: warning@(1900 mils, 9150 mils): Symbol J4 : Symbol 'DB15_Female' has been modified in library 'Connector'.; Severity: warning@(7450 mils, 1600 mils): Symbol J2 : Symbol 'DB15_Female' has been modified in library 'Connector'.; Severity: warning@(5200 mils, 1600 mils): Symbol J1 : Pin not connected; Severity: error@(9950 mils, 6500 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 38 [VDD, Power input, Line]: Pin not connected; Severity: error@(9950 mils, 6200 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 41 [VSS, Power input, Line]: Pin not connected; Severity: error@(9950 mils, 6100 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 42 [RD8, Input, Line]: Input Power pin not driven by any Output Power pins; Severity: error@(9950 mils, 6500 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 38 [VDD, Power input, Line]: Input Power pin not driven by any Output Power pins; Severity: error@(9950 mils, 6200 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 41 [VSS, Power input, Line]: Input pin not driven by any Output pins; Severity: error@(9950 mils, 6100 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 42 [RD8, Input, Line]: Symbol 'PIC32MK0512MCJ064-I{slash}PT' has been modified in library 'Microchip'.; Severity: warning@(3900 mils, 3900 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT]: Pin not connected; Severity: error@(9950 mils, 4700 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 56 [VSS, Power input, Line]: Pin not connected; Severity: error@(9950 mils, 4600 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 57 [VDD, Power input, Line]: Input pin not driven by any Output pins; Severity: error@(9950 mils, 5800 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 45 [DAC1/AN48/CVD48/RPC10/RC10, Input, Line]: Input Power pin not driven by any Output Power pins; Severity: error@(9950 mils, 4700 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 56 [VSS, Power input, Line]: Input Power pin not driven by any Output Power pins; Severity: error@(9950 mils, 4600 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 57 [VDD, Power input, Line]: Pin not connected; Severity: error@(9950 mils, 6000 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 43 [PGD2/RPB5/SDA1/RB5, Input, Line]: Pin not connected; Severity: error@(9950 mils, 5900 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 44 [PGC2/RPB6/SCL1/RB6, Input, Line]: Pin not connected; Severity: error@(9950 mils, 5800 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 45 [DAC1/AN48/CVD48/RPC10/RC10, Input, Line]: Input pin not driven by any Output pins; Severity: error@(9950 mils, 6000 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 43 [PGD2/RPB5/SDA1/RB5, Input, Line]: Input pin not driven by any Output pins; Severity: error@(9950 mils, 5900 mils): Symbol U1 [PIC32MK0512MCJ064-I{slash}PT] Pin 44 [PGC2/RPB6/SCL1/RB6, Input, Line]** ERC messages: 21 Errors 16 Warnings 5Notice that all the errors relate to pins on the RHS of U1!!!Here's a screen shot of part of the schematic:D.

author: ataradov
author_rank: Super Contributor
timestamp: June 03, 2022, 06:29:15 pm
content: It looks like you have some grid issues. Check that both pins and wires are aligned on the same grid. It looks like the right side of the symbol may have been moved slightly.

author: perdrix
author_rank: Frequent Contributor
timestamp: June 03, 2022, 06:37:39 pm
content: Thanks,I checked most carefully - that's not the problem.D.

author: ataradov
author_rank: Super Contributor
timestamp: June 03, 2022, 06:42:04 pm
content: Can you attach minimized version of that schematic (just the IC and wires should work)? The issue is not in ERC, you can clearly see that the wires on the right have boxes on the ends, meaning they are indeed not attached for some reason.

author: perdrix
author_rank: Frequent Contributor
timestamp: June 04, 2022, 09:40:14 am
content: You were right - the symbol pins on the RHS weren't aligned. I needed to edit the symbol to fix that.D.

author: jpanhalt
author_rank: Super Contributor
timestamp: June 04, 2022, 10:11:52 am
content: That used to be a common problem with Eagle too. Then it added "snapping to pins." Apparently that is also available in KiCad 6.0. I don't know about earlier versions, as I don't use KiCad.https://docs.kicad.org/6.0/en/eeschema/eeschema.htmlQuote

author: Doctorandus_P
author_rank: Super Contributor
timestamp: June 04, 2022, 11:05:21 am
content: Same question asked and answered on the KiCad forum:https://forum.kicad.info/t/erc-problems-in-kicad-6/36022

author: SiliconWizard
author_rank: Super Contributor
timestamp: June 04, 2022, 06:22:20 pm
content: As a note, I think defining connections on schematics solely based on graphical proximity is kind of dumb, yet still pretty common in schematic editors in a number of EDA software.IIRC, what the author of Horizon did is significantly smarter.

author: Doctorandus_P
author_rank: Super Contributor
timestamp: June 04, 2022, 06:56:05 pm
content: Using coordinates for connections is simple and adequate. Why would that be dumb?I once bought a program that did not (always) delete netlist connections when you deleted wires in the schematic. That was real dumb and a one way ticket to the garbage bin.I'm hoping that KiCad will one day get a reverse (engineering) workflow implemented.That way you would start by a few photographs of a PCB, draw tracks over it in the PCB editor, then port the netlist to the schematic editor, and use assistance of the ratsnets in the schematic to draw the wires in the schematic.A function like that would require a smarter way to handle connections, but for now this simple method is adequate.