Re: gEDA-user: please help - can't browse symbols in gschem 1.4.0.20080127

2008-02-04 Thread Peter Clifton

On Sun, 2008-02-03 at 23:58 +0200, Ilan Barak wrote:
 on opensuse 10.2 and 10.3
 installed from RPM
 
 add component opens a component selection box, and lists all the
 available libraries.
 selecting a library doesn't open the list of options
 
Did you click the arrow expander on the library? Just clicking the
library won't expand bring up the contents.

The layout has changed somewhat from older gschem versions (although it
has been this way for the last few releases).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: PCB: sudden segfault problems

2008-02-04 Thread Richard Rasker
Hi all,

I'm using gschem + PCB (version 20070208) for a project with some 150
components on a 100x160 mm single-sided circuit board. There are several
polygons, a few (locked) mounting holes, and a fair number of
user-defined footprints.

Up until today, PCB was rock solid, but out of the blue, it has
developed a very frustrating tendency to suddenly drop dead with a
segfault. This only happens when the view is scrolled while copying
traces, drawing a polygon and perhaps one or two other operations.

The command line just says segmentation fault, nothing else. There are
no warning signs either -- one moment I'm working, the next I'm staring
at my desktop.

Could there be something nasty in the pcb circuit file causing this?

I'd be grateful for any help to solve this problem -- it's very
uncomfortable working with the feeling that PCB might quit at any time.

Thanks in advance,

Best regards,

Richard Rasker



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: please help - can't browse symbols ingschem 1.4.0.20080127

2008-02-04 Thread Ilan Barak

Thanks Peter,

this fixes my problem

cheers

ilan

-Original Message-
From: [EMAIL PROTECTED] on behalf of Peter Clifton
Sent: Mon 2/4/2008 17:44
To: gEDA user mailing list
Subject: Re: gEDA-user: please help - can't browse symbols ingschem 
1.4.0.20080127
 

On Sun, 2008-02-03 at 23:58 +0200, Ilan Barak wrote:
 on opensuse 10.2 and 10.3
 installed from RPM
 
 add component opens a component selection box, and lists all the
 available libraries.
 selecting a library doesn't open the list of options
 
Did you click the arrow expander on the library? Just clicking the
library won't expand bring up the contents.

The layout has changed somewhat from older gschem versions (although it
has been this way for the last few releases).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

winmail.dat

___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB: sudden segfault problems

2008-02-04 Thread Peter Clifton

On Mon, 2008-02-04 at 18:29 +0100, Richard Rasker wrote:
 Hi all,
 
 I'm using gschem + PCB (version 20070208)

You will almost certainly benefit from an upgrade to the latest release,
20080202.

As for why it just started happen, good guesses would include a bad
polygon in the design, perhaps something degenerate, eg. with coincident
vertices, or not enough points. I can't recall what the trigger tended
to be. Ben Jackson may remember more, as I recall it may have been him
who fixed it.

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: attributes net and refdes, subdesigns, power and ground?

2008-02-04 Thread Peter Clifton

On Sat, 2008-02-02 at 16:52 -0900, Britton Kerin wrote:
 I have a design with two subcircuits.  I pretty much copied the gTAG
 example but I missed the trick of making a netname=foo wire in the
 toplevel and then putting an input or output with refdes=foo in the
 subdesigns, so my +3.3V isn't continuous through my board as intended.
 
 The odd thing is that my ground isn't continuous either, and it didn't
 look as if the gTAG is doing anything special about this?

I don't think the gTAG was ever made, so it is possible that there are
bugs in it.

If you attach an attribute netname=3v3 or some such, to all your 3.3V
lines on every page, it should all connect up.

I don't think it is the netname=foo = refdes=foo which links up the
hierarchy... , look at the pinlabel attribute of the symbol
instantiated in the hierarchy.

I've not got the details immediately to hand though, so could be wrong.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB: sudden segfault problems

2008-02-04 Thread Richard Rasker
Op maandag 04-02-2008 om 13:03 uur [tijdzone -0500], schreef DJ Delorie:
 The way to tell what's happening is to run pcb under gdb:
 
 $ gdb pcb
 ...
 (gdb) run myboard.pcb
 ...
 segfault
 (gdb) where
 ... lots of stack dump stuff ...

Ah, I think I see what I did wrong:

Program received signal SIGSEGV, Segmentation fault.
0x080a22b2 in M_POLYAREA_intersect (e=0xbf8f4ec0, afst=0x8576d58,
bfst=0x85efa60, add=1) at polygon1.c:848
848   if (a-contours-xmax = b-contours-xmin 
(gdb)


Indeed, I found a polygon with two edges touching (although not
overlapping) itself. After fixing this, the problem appears to be
solved.

Thanks for the tip with regard to gdb :-)

Best regards,

Richard Rasker



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread Stuart Brorson
 I did grep -Ri vdd * in the base directory of symbols.

 I noticed the net=Vdd thing, but in connection with something weird in
 4000/.  All of these symbols include a net=VDD:?? statement.

Does anybody use 4000 series CMOS anymore?

But no matter.  these net= callouts are attaching the net VDD to
pin ??? IIRC.  I'm not sure what this would do to your netlist if you
put one of these in your schematic and tried to netlist it.  Nothing
good, I suppose...

Your best bet is to fix this callout if you are using a 4000 series
part.

 This
 created an interesting problem with power/vdd-1.sym which has net=Vdd:1.
 These statements are not case-insensitive.

If you are using the vdd-1.sym symbol in your design, then this
attribute is creating a global net called Vdd, whether you want it or
not.   If you want this, that's fine.  If not, then you need to change
the name of the net to your desired netname, e.g. net=mynetname:1.

 Now, in retrospect regarding the request for manual critique, I think
 there ought to be a chapter specifically on the proper use of symbols in
 power/.

You're likely doing it right.  The problem is that some of the symbols
have junk in them which doesn't belong.  This is an issue with heavy
symbols.  Caveat Emptor.

Stuart


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread David Griffith
On Sun, 3 Feb 2008, Stuart Brorson wrote:

  I think I uncovered a subtle bug.  I replaced Vdd, Vee, and Vcc with +8V,
  -8V, and +5V respectively and the problem disappeared.  I can't seem to
  come up with a simple test case though.

 Just a guess.  Take a look through your symbols.  I'll betcha that
 somebody decided to make a heavy symbol and attached a power net
 directly to Vdd in the symbol.

 The way to check is to do a grep -R Vdd * in the base directory of
 your symbols.  Then look to see which symbols (if any) have NET=Vdd or
 something like that in them.

I did grep -Ri vdd * in the base directory of symbols.

I noticed the net=Vdd thing, but in connection with something weird in
4000/.  All of these symbols include a net=VDD:?? statement.  This
created an interesting problem with power/vdd-1.sym which has net=Vdd:1.
These statements are not case-insensitive.

The 4000/ symbols in question are 4016-2.sym and 4052-1.sym.

Now, in retrospect regarding the request for manual critique, I think
there ought to be a chapter specifically on the proper use of symbols in
power/.

-- 
David Griffith
[EMAIL PROTECTED]

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB Element IDs

2008-02-04 Thread Peter Clifton

On Mon, 2008-02-04 at 16:13 -0500, Ian Chapman wrote:
 You might want to try a more recent PCB; this was a common problem a
 while back.
 Thanks JD, did the September 07 release fix it if not I'll get the Jan 08?

Use the 08 version, it fixes a whole bunch of nasty issues.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB Element IDs

2008-02-04 Thread DJ Delorie

  In recent PCBs, there are settings to force the crosshair to ignore
  all text, or ignore everything except text.  
 Is there a gui click or is it a command to enter?  Regards Ian

Menu option.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread David Griffith
On Mon, 4 Feb 2008, Stuart Brorson wrote:

  I did grep -Ri vdd * in the base directory of symbols.
 
  I noticed the net=Vdd thing, but in connection with something weird in
  4000/.  All of these symbols include a net=VDD:?? statement.

 Does anybody use 4000 series CMOS anymore?

They're the 4016 (Quad analogue switch) and the 4052 (Dual 1/4 CMOS MUX).
Can you can suggest suitable 74xx series equivalents?  I'm working from a
10-15 year old schematic.

 But no matter.  these net= callouts are attaching the net VDD to
 pin ??? IIRC.  I'm not sure what this would do to your netlist if you
 put one of these in your schematic and tried to netlist it.  Nothing
 good, I suppose...

 Your best bet is to fix this callout if you are using a 4000 series
 part.

fix this callout?  What do you mean?

  This created an interesting problem with power/vdd-1.sym which has
  net=Vdd:1. These statements are not case-insensitive.

 If you are using the vdd-1.sym symbol in your design, then this
 attribute is creating a global net called Vdd, whether you want it or
 not.   If you want this, that's fine.  If not, then you need to change
 the name of the net to your desired netname, e.g. net=mynetname:1.

Right, but there was the bizarre effect of some object containing
net=Vcc:? and net=Vdd:? somewhere, but disappearing when the Vcc and Vdd
symbols were not used.  That made me suspect there's a problem in the
interpretation of the symbol files, not in the symbols themselves.

  Now, in retrospect regarding the request for manual critique, I think
  there ought to be a chapter specifically on the proper use of symbols in
  power/.

 You're likely doing it right.  The problem is that some of the symbols
 have junk in them which doesn't belong.  This is an issue with heavy
 symbols.  Caveat Emptor.

Ah...  So perhaps I should ask for write access to the CVS to go through
and fix this?  There are loads of other goofs I keep stumbling over in the
standard symbol set, which is part of the reason why I started making my
own.


-- 
David Griffith
[EMAIL PROTECTED]

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread John Luciani
On Feb 4, 2008 6:44 PM, David Griffith [EMAIL PROTECTED] wrote:
 On Mon, 4 Feb 2008, Stuart Brorson wrote:
   This created an interesting problem with power/vdd-1.sym which has
   net=Vdd:1. These statements are not case-insensitive.
 
  If you are using the vdd-1.sym symbol in your design, then this
  attribute is creating a global net called Vdd, whether you want it or
  not.   If you want this, that's fine.  If not, then you need to change
  the name of the net to your desired netname, e.g. net=mynetname:1.

 Right, but there was the bizarre effect of some object containing
 net=Vcc:? and net=Vdd:? somewhere, but disappearing when the Vcc and Vdd
 symbols were not used.  That made me suspect there's a problem in the
 interpretation of the symbol files, not in the symbols themselves.

The problem is likely to be symbol files that contain embedded power
nets. Unless you are doing a large digital board you may want to use symbols
that do not contain embedded power nets.

I use symbols without the embedded power nets and then place a separate
power symbol. I have a script that removes embedded power nets and creates
power symbols. See http://www.luciani.org/geda/util/util-index.html

(* jcl *)

-- 
http://www.luciani.org


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: PCB Element IDs

2008-02-04 Thread Ian Chapman

You might want to try a more recent PCB; this was a common problem a
while back.
Thanks JD, did the September 07 release fix it if not I'll get the Jan 08?

In recent PCBs, there are settings to force the crosshair to ignore
all text, or ignore everything except text.  
Is there a gui click or is it a command to enter?  Regards Ian




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread John Doty

On Feb 4, 2008, at 3:41 PM, Stuart Brorson wrote:

 I did grep -Ri vdd * in the base directory of symbols.

 I noticed the net=Vdd thing, but in connection with something  
 weird in
 4000/.  All of these symbols include a net=VDD:?? statement.

 Does anybody use 4000 series CMOS anymore?

Yes:

Slow interfaces on noisy cables.

Simple logic on unregulated power.

Radiation tolerant circuits.

High voltage mixed signal circuits.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
[EMAIL PROTECTED]




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread John Doty

On Feb 4, 2008, at 4:44 PM, David Griffith wrote:


 They're the 4016 (Quad analogue switch) and the 4052 (Dual 1/4 CMOS  
 MUX).
 Can you can suggest suitable 74xx series equivalents?  I'm working  
 from a
 10-15 year old schematic.


There are thousands, most not 74xxx numbers, but a very wide variety  
of specs and applications. Go to:

http://search.digikey.com/scripts/DkSearch/dksus.dll? 
Cat=2556671;keywords=analog%20switch

That'll find you plenty. I can't suggest a specific one without  
understanding the requirements.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
[EMAIL PROTECTED]




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: finding shorts with gschem

2008-02-04 Thread Larry Doolittle
John -

On Mon, Feb 04, 2008 at 06:13:51PM -0700, John Doty wrote:
  Does anybody use 4000 series CMOS anymore?
 
 Yes:
 
 Slow interfaces on noisy cables.
 Simple logic on unregulated power.
 Radiation tolerant circuits.
 High voltage mixed signal circuits.

/me nods head
Right, where high voltage means more than 3.3V.

- Larry1/2 ;-)


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user