Mail Archives: geda-help/2014/04/11/21:30:57
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 -