delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/04/11/21:30:57

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <5348973D.9020603@mochima.com>
Date: Fri, 11 Apr 2014 21:30:37 -0400
From: Carlos Moreno <moreno+geda-help AT mochima DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Having some trouble again!
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1404050517330 DOT 8305 AT igor2priv> <533F89FE DOT 2060808 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404050746030 DOT 8305 AT igor2priv> <534000E2 DOT 5080703 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404060625040 DOT 8305 AT igor2priv> <5342AF6B DOT 6010405 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404080523041 DOT 8305 AT igor2priv> <53445BD8 DOT 4070505 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404090557260 DOT 8305 AT igor2priv> <53452A49 DOT 8000701 AT mochima DOT com> <20140409114728 DOT GA2172 AT localhost DOT localdomain> <5348800F DOT 3070500 AT mochima DOT com> <201404112358 DOT s3BNwoEw009040 AT envy DOT delorie DOT com>
In-Reply-To: <201404112358.s3BNwoEw009040@envy.delorie.com>
X-Added-Header:
Reply-To: geda-help AT delorie DOT com

On 14-04-11 07:58 PM, DJ Delorie wrote:
> When you did the import, were there messages in the message window?

Yes.

Like I mentioned, I was avoiding deeper details given that
I am suspecting that I'm doing something wrong with the
directory entries in the config files.

Anyway, these are the errors I'm getting when I do File ->
Import Schematic from within PCB Designer:

> Note:  home directory is "/home/carlos"
> Loading menus from /usr/share/pcb/gpcb-menu.res
> Can't find Q pin 2 called for in netlist.
> Can't find Q pin 1 called for in netlist.
> Can't find Q pin 3 called for in netlist.
> Warning! Net "unnamed_net2" is shorted to net "unnamed_net10"
> Warning! Net "unnamed_net2" is shorted to net "Vout"
> Warning! Net "unnamed_net3" is shorted to net "unnamed_net5"
> Warning! Net "unnamed_net5" is shorted to net "unnamed_net3"
> Warning! Net "unnamed_net6" is shorted to net "Vout"
> Warning! Net "unnamed_net6" is shorted to net "unnamed_net9"
> Warning! Net "unnamed_net6" is shorted to net "unnamed_net10"
> Warning! Net "unnamed_net9" is shorted to net "Vout"
> Warning! Net "unnamed_net9" is shorted to net "unnamed_net10"
> Warning! Net "unnamed_net9" is shorted to net "unnamed_net6"
> Warning! Net "unnamed_net10" is shorted to net "unnamed_net2"
> Warning! Net "unnamed_net10" is shorted to net "Vout"
> Warning! Net "unnamed_net10" is shorted to net "Vout"
> Warning! Net "unnamed_net10" is shorted to net "unnamed_net9"
> Warning! Net "unnamed_net10" is shorted to net "unnamed_net6"
> Warning! Net "Vout" is shorted to net "unnamed_net10"
> Warning! Net "Vout" is shorted to net "unnamed_net2"
> Warning! Net "Vout" is shorted to net "unnamed_net9"
> Warning! Net "Vout" is shorted to net "unnamed_net6"
> 13 rat lines remaining

If I try the command-line way, gsch2pcb nada-transistors.sch, I get:

> =====================================================
> gsch2pcb backend configuration:
>
>    ----------------------------------------
>    Variables which may be changed in gafrc:
>    ----------------------------------------
>    gsch2pcb:pcb-m4-command:    /usr/bin/m4
>    gsch2pcb:pcb-m4-dir:        /usr/share/pcb/m4
>    gsch2pcb:pcb-m4-confdir:    /etc/pcb
>    gsch2pcb:pcb-m4-path:       /usr/share/pcb/m4  /etc/pcb $HOME/.pcb  .
>    gsch2pcb:m4-command-line:   /usr/bin/m4 -d  -I/usr/share/pcb/m4 
> -I/etc/pcb -I$HOME/.pcb -I. /usr/share/pcb/m4/common.m4 - >> 
> nada-transistors.pcb
>
>    ---------------------------------------------------
>    Variables which may be changed in the project file:
>    ---------------------------------------------------
>    gsch2pcb:use-m4:            yes
>
> =====================================================
> Using the m4 processor for pcb footprints
> Qmult: can't find PCB element for footprint 2SC4883--TO220 (value=unknown)
> So device Qmult will not be in the layout.
> R6: can't find PCB element for footprint R-TO220 (value=unknown)
> So device R6 will not be in the layout.
> R4: can't find PCB element for footprint R-SMT-0805 (value=unknown)
> So device R4 will not be in the layout.
> R3: can't find PCB element for footprint R-SMT-0805 (value=unknown)
> So device R3 will not be in the layout.
> R2: can't find PCB element for footprint R-SMT-0805 (value=unknown)
> So device R2 will not be in the layout.
> R5: can't find PCB element for footprint R-SMT-0805 (value=unknown)
> So device R5 will not be in the layout.
> R1: can't find PCB element for footprint R-SMT-0805 (value=unknown)
> So device R1 will not be in the layout.
>
> ----------------------------------
> Done processing.  Work performed:
> 0 file elements and 3 m4 elements added to nada-transistors.pcb.
> 7 elements could not be found.  So nada-transistors.pcb is incomplete.

Originally, I had all those footprints (all of the ones shown above are
custom footprints I've created) copied into the 
/usr/share/pcb/pcblib-newlib/generic
directory.  I removed them from there to avoid duplicate entries in the
Library window.  They are all located inside the 
/home/carlos/gEDA/footprints
directory  (I just double checked), and the file ~/.pcb/preferences does
contain the line:  library-newlib = /home/carlos/gEDA/footprints
(though this last detail should not matter for the command-line
workflow, right?)

If I copy all those footprints into /usr/share/ .... newlib ... / and 
run gsch2pcb
again, I get no errors:

> ----------------------------------
> Done processing.  Work performed:
> 7 file elements and 3 m4 elements added to nada-transistors.pcb.

But, I open the file (Log window shows no errors), load the net list
(Log window shows no errors), and when I do O (optimize rats) after
having done Disperse all elements, I see all rat lines except the ones
going to the transistor  (the same problematic transistor).

The footprint for the transistor shows.  If I hover and do D over the
pins, it shows E, B, and C  (pin labels it has).  More surprising even
is the fact that when just hovering, the "tooltip text" shows the
pins, and it actually identifies the net to which they correspond!!!!
The collector, in particular, shows as:

Element name:  Qmult
Pinname:  Qmult-2
Netname:  Vout

(in the schematic, I named that particular trace/wire/net as Vout)

Any ideas of what may be happening?

Thanks,
Carlos
--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019