Before giving up on Kicad one last attempt: ERC misery

I replaced the ARDUINO with a 27128 on a fresh copy and the ERC errors for R13 went away:
image

The errors on the Rx and Tx labels also went away.
This also indicates some kind of problem with the ARDUINO symbol.

It looks like if the pins on the ARDUINO_UNO are somhow not recognized as valid pins by Eeschema.

I don’t know if it is related to the supposed bug, but I personally can’t open the schematics with 5.1.0 (32 bit windows). I always get the following warning / error

Error loading schematic file “E:\Mes documents\KiCad_v5\MouseOleum IR board SHIELD\MouseOleum IR board SHIELD.sch”.
invalid hexadecimal number in input/source
“E:\Mes documents\KiCad_v5\MouseOleum IR board SHIELD\MouseOleum IR board SHIELD.sch”
line 7277, offset 6

Line 7277 of the file is

U 1 0 8860D03359D6C4F2

which is part of the component

$Comp
L V_Custom:Crystal Y1
U 1 0 8860D03359D6C4F2
P 8500 2650
F 0 “Y1” V 8200 2600 59 0000 L BNN
F 1 “16Mhz” V 8100 2500 59 0000 L BNN
F 2 “CRYSTAL” H 8500 2650 50 0001 C CNN
F 3 “” H 8500 2650 50 0001 C CNN
1 8500 2650
0 -1 -1 0
$EndComp

I did the same now but the problems around the crystal persist. (Delete the wire between R13 and the crystal and try to highlight the wire between the respective cap and the crystal.)

That is a good info. But why does your 5.1 report it while mine does not?

Wait is this possibly a 32 bit vs 64 bit problem? (Could be a separate bug.)

That’s a good question :wink: I don’t have any clue.

Edit : Full version info

Application: kicad
Version: (5.1.0)-1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 32 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

I am still using KiCad V5.0.2 (Linux 64 bit).

I deleted the connection between the crystal and R13 on the circuit with the 27128 and can not highlight the connection between C4 and the Crystal.
image

Edit: Full version info:

Application: kicad
Version: 5.0.2+dfsg1-1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.62.0
Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

I think i am going to make a bug report about that. Lets see if the devs have any idea what could be wrong here.

Bugreport created: https://bugs.launchpad.net/kicad/+bug/1821475

In my schematic the offending Crystal symbol got resqued:

$Comp
L MouseOleum-IR-board-SHIELD-rescue:Crystal-V_Custom Y1
U 1 0 8860D03359D6C4F2
P 8500 2650
F 0 “Y1” V 8200 2600 59 0000 L BNN
F 1 “16Mhz” V 8100 2500 59 0000 L BNN
F 2 “CRYSTAL” H 8500 2650 50 0001 C CNN
F 3 “” H 8500 2650 50 0001 C CNN
1 8500 2650
0 -1 -1 0
$EndComp

If 8860D03359D6C4F2 is a 16 digit hexadeximal number, it won’t fit in 32 bits. Are combarable numbers only 8 digits on your 32 bit system?

@Rene_Poschl
The schematic was drawn from scratch in Kicad 5.02 (Linux Mint 18.1) BUT the arduino part with components was imported in an empty schematic from EAGLE 7, saved in Kicad format and then added to the mouseoleum schematic.

After that I replaced ALL parts with newly made parts because the parts I use for Veecad need a specific FOOTPRINT label.

Also most parts were rewired.

Then I read of problems in Kicad with ERC when IC’s have other labels than ‘PASSIVE’ so I changed all pins to passive.

A lot of tinkering within the schematic so maybe that’s the source of the problem although it should be possible to to that.

I reported the 32 bit problem under https://bugs.launchpad.net/kicad/+bug/1821476

@edr1924 Can you also add full version info on the KiCad version on which you drew this schematic (have you updated in between?).

You can get the version info with:

Eeschema / Help / About KiCad / [Copy Version Info]

and then paste it here.

:wink: Yes I know but it was just to check if the problems would go away but to my amazement they remained?

Thanks. BTW, I get the same error with your “cleaned-up” project, not a the same line number, but at the same line content.

@paulvdh

Here you are:

Application: kicad
Version: 5.0.2-bee76a0~70~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-46-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Was this an autocompletion mistake? I didn’t write to this thread…

No a brainfart. I confused you and @Seth_h sorry about that.

The strange thing is that if i make a new project i get shorter timestamps with 5.1.0. Not sure what i should make of that.

please note that on a new schematic with the same arduino part the labels behaved correctly, see my post and screenprint

@Rene_Poschl here is the file of the clean schematic:
(editing an existing post does work :wink: )

test custom symbols veecad.zip (6.2 KB)