gEDA-user: reload library directories while in gschem

2007-08-28 Thread Duncan Drennan
I have the following line in my system-gafrc,

(component-library-search ${HOME}/projects/sym)

which searches that directory for symbols and symbol directories when
starting gschem. If I add a directory when working in gschem (e.g. I
did not have any opamps, and then made a new opamp directory for
those) I have to exit gschem and restart to see the symbols from that
directory.

Is there any way to reload the directories while in gschem, or is
restarting the only option?

Thanks,
Duncan

-- 
Engineer Simplicity, create better products - http://www.engineersimplicity.com
The Art of Engineering - http://blog.engineersimplicity.com


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


Re: gEDA-user: PCB: Easy way to auto route different size traces ?

2007-08-28 Thread Kai-Martin Knaak
On Mon, 27 Aug 2007 18:42:15 -0400, DJ Delorie wrote:

 Open up the netlist window.  It has options for including or excluding
 nets from the ratlist.  Make sure only the nets you want are enabled.
 Optimize the rats.  Autoroute all rats.

I put this tip into the wiki...

---(kaimartin)---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



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


gEDA-user: pcb build problem

2007-08-28 Thread Peter Baxendale
Anyone know what the following means when running configure for pcb? :

config.status:742: creating Makefile
config.status:877: WARNING:  Makefile.in seems to ignore the
--datarootdir setting

I'm using:
./configure --prefix=/home/des0prb/geda --enable-maintainer-mode

under Fedora 7 on pcb checked out from cvs today. I get a similar
message in config.log for the other Makefiles as well, and make install
fails because it tries to install to /pcb (ie it really does ignore
datarootdir).

I've a feeling I'm doing something daft, but I can't see what. Be
grateful for any advice.

-- 
Peter Baxendale [EMAIL PROTECTED]



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


gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread armdeveloper

I spent the morning making 4 new elements.  PCB worked great.  I saved
my work every 5 minutes.

I closed PCB.  I regenerated the netlist from the schematic due to a
change.  I used gsch2pcb myfile.sch to regenerate the netlist.  

I opened myfile.pcb with PCB.  My custom elements are missing.  Where
did they go ?  This actually happened to me yesterday as well.

Thanks




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


Re: gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread armdeveloper
On Tue, 2007-08-28 at 10:39 -0600, armdeveloper wrote:
 I spent the morning making 4 new elements.  PCB worked great.  I saved
 my work every 5 minutes.
 
 I closed PCB.  I regenerated the netlist from the schematic due to a
 change.  I used gsch2pcb myfile.sch to regenerate the netlist.  
 
 I opened myfile.pcb with PCB.  My custom elements are missing.  Where
 did they go ?  This actually happened to me yesterday as well.

myfile.pcb.bak0 has the custom elements in it.  Why did this happen ?



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


Re: gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread Peter Clifton

On Tue, 2007-08-28 at 10:39 -0600, armdeveloper wrote:
 I spent the morning making 4 new elements.  PCB worked great.  I saved
 my work every 5 minutes.
 
 I closed PCB.  I regenerated the netlist from the schematic due to a
 change.  I used gsch2pcb myfile.sch to regenerate the netlist.  
 
 I opened myfile.pcb with PCB.  My custom elements are missing.  Where
 did they go ?  This actually happened to me yesterday as well.
 
 Thanks

gschem2pcb removed them because it didn't believe they were part of the
net-list.

Were they named correctly in PCB?

If it removes correctly named elements which should be part of the
netlist, and in the schematic have the correct footprint= attribute,
then its probably a bug.

gsch2pcb behaves the way it does this because of the case where you may
change a footprint in the schematic, and you'll then need to delete and
re-place it in PCB, or if you delete a component completely from the
schematic.

You really need to save your custom footprints in a file which gsch2pcb
can find by looking at the footprint= attribute. It should then not
delete these components.

Before you re-create the work, take a look for the backup files gsch2pcb
makes when altering your schematic. You may be able to find the elements
you just lost.

Regards,

Peter C




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


Re: gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread Peter Clifton

On Tue, 2007-08-28 at 10:55 -0600, armdeveloper wrote:
 On Tue, 2007-08-28 at 10:39 -0600, armdeveloper wrote:
  I spent the morning making 4 new elements.  PCB worked great.  I saved
  my work every 5 minutes.
  
  I closed PCB.  I regenerated the netlist from the schematic due to a
  change.  I used gsch2pcb myfile.sch to regenerate the netlist.  
  
  I opened myfile.pcb with PCB.  My custom elements are missing.  Where
  did they go ?  This actually happened to me yesterday as well.
 
 myfile.pcb.bak0 has the custom elements in it.  Why did this happen ?

myfile.pcb.bak0 has the custom elements in it because gsch2pcb saves a
backup before modifying your design ;)


I've had it happen to me to, occasionally for no apparent reason - that
gsch2pcb doesn't think the footprint on your PCB matches the one it
should be.

In your case, its probably because gsch2pcb didn't insert those
elements. You should save each element to a .fp file and set the
footprint=... attribute in your schematic to match the filename (no .fp
needed).

Put the .fp files in a subdir, packages from your working directory.
Alternatively, pass -d PATH on the gsch2pcb command line, then gsch2pcb
will be able to find and insert them for you. You may like to play with
changes such as the following in your .pcb file to avoid having gsch2pcb
delete your existing footprints and replace them:

As a test, I just tried it on one of my designs. If you break a
footprint to pieces, make it an element again, give it the right refdes,
gsch2pcb will replace it.

This is the difference after breaking it up and replacing:

After breaking up / re-pasting:
Element[  CONN4  6 12 0 0 0 100 ]

What gsch2pcb inserts:
Element(0x00 25m CONN4 unknown 1000 2566 1 150 0x00)

NB: By changing the above line in the .pcb file after re-pasting,
(ignoring the coordinates, thats not the point), gsch2pcb no-longer
replaces my footprint. This is probably because its trying to match the
footprint=25m in my schematic.

Try setting the right footprint name in the argument list before the
refdes, and see if that makes gsch2pcb happy.

Regards,

Peter C.




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


Re: gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread DJ Delorie

Make sure the description field of the element matches the footprint
name, and that the refdes is the same.  Those are the fields gsch2pcb
uses to determine if an element doesn't match the schematic.

You can change the description by View-Description then n to rename
it.

Save that .bak0 file somewhere safe while you figure this out ;-)


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


Re: gEDA-user: PCB: Lost custom element data when file is reopened ? Bug ?

2007-08-28 Thread Steve Meier
I suspect that gsch2pcb overwrote your project file.

Did you save the custom elements individually?

Have you looked to see if you have a backup project file?
myproject.pcb- for example.

Steve Meier



On Tue, 2007-08-28 at 10:39 -0600, armdeveloper wrote:
 I spent the morning making 4 new elements.  PCB worked great.  I saved
 my work every 5 minutes.
 
 I closed PCB.  I regenerated the netlist from the schematic due to a
 change.  I used gsch2pcb myfile.sch to regenerate the netlist.  
 
 I opened myfile.pcb with PCB.  My custom elements are missing.  Where
 did they go ?  This actually happened to me yesterday as well.
 
 Thanks
 
 
 
 
 ___
 geda-user mailing list
 geda-user@moria.seul.org
 http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



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


gEDA-user: Further polygon fun in PCB

2007-08-28 Thread Steve Meier
Anybody know why these two polygons in layer 2 causes PCB to crash?

again this is a cvs version from aug 10th time frame.

Steve Meier


# release: pcb 1.99v
# date:Tue Aug 28 16:17:32 2007
# user:steve (steve)
# host:linux.site

# To read pcb files, the pcb version (or the cvs source date) must be = the 
file version
FileVersion[20070407]

PCB[ 60 50]

Grid[1000.00 0 0 0]
Cursor[0 0 0.00]
PolyArea[2.00]
Thermal[0.50]
DRC[449 400 499 399 1500 1000]
Flags(nameonpcb,uniquename,clearnew,snappin)
Groups(1,c:2:3:4:5:6:7:8,s)
Styles[Signal,1000,3600,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,600,2402,1181,600]

Symbol(' ' 18)
(
)
Symbol('!' 12)
(
SymbolLine(0 45 0 50 8)
SymbolLine(0 10 0 35 8)
)
Symbol('' 12)
(
SymbolLine(0 10 0 20 8)
SymbolLine(10 10 10 20 8)
)
Symbol('#' 12)
(
SymbolLine(0 35 20 35 8)
SymbolLine(0 25 20 25 8)
SymbolLine(15 20 15 40 8)
SymbolLine(5 20 5 40 8)
)
Symbol('$' 12)
(
SymbolLine(15 15 20 20 8)
SymbolLine(5 15 15 15 8)
SymbolLine(0 20 5 15 8)
SymbolLine(0 20 0 25 8)
SymbolLine(0 25 5 30 8)
SymbolLine(5 30 15 30 8)
SymbolLine(15 30 20 35 8)
SymbolLine(20 35 20 40 8)
SymbolLine(15 45 20 40 8)
SymbolLine(5 45 15 45 8)
SymbolLine(0 40 5 45 8)
SymbolLine(10 10 10 50 8)
)
Symbol('%' 12)
(
SymbolLine(0 15 0 20 8)
SymbolLine(0 15 5 10 8)
SymbolLine(5 10 10 10 8)
SymbolLine(10 10 15 15 8)
SymbolLine(15 15 15 20 8)
SymbolLine(10 25 15 20 8)
SymbolLine(5 25 10 25 8)
SymbolLine(0 20 5 25 8)
SymbolLine(0 50 40 10 8)
SymbolLine(35 50 40 45 8)
SymbolLine(40 40 40 45 8)
SymbolLine(35 35 40 40 8)
SymbolLine(30 35 35 35 8)
SymbolLine(25 40 30 35 8)
SymbolLine(25 40 25 45 8)
SymbolLine(25 45 30 50 8)
SymbolLine(30 50 35 50 8)
)
Symbol('' 12)
(
SymbolLine(0 45 5 50 8)
SymbolLine(0 15 0 25 8)
SymbolLine(0 15 5 10 8)
SymbolLine(0 35 15 20 8)
SymbolLine(5 50 10 50 8)
SymbolLine(10 50 20 40 8)
SymbolLine(0 25 25 50 8)
SymbolLine(5 10 10 10 8)
SymbolLine(10 10 15 15 8)
SymbolLine(15 15 15 20 8)
SymbolLine(0 35 0 45 8)
)
Symbol(''' 12)
(
SymbolLine(0 20 10 10 8)
)
Symbol('(' 12)
(
SymbolLine(0 45 5 50 8)
SymbolLine(0 15 5 10 8)
SymbolLine(0 15 0 45 8)
)
Symbol(')' 12)
(
SymbolLine(0 10 5 15 8)
SymbolLine(5 15 5 45 8)
SymbolLine(0 50 5 45 8)
)
Symbol('*' 12)
(
SymbolLine(0 20 20 40 8)
SymbolLine(0 40 20 20 8)
SymbolLine(0 30 20 30 8)
SymbolLine(10 20 10 40 8)
)
Symbol('+' 12)
(
SymbolLine(0 30 20 30 8)
SymbolLine(10 20 10 40 8)
)
Symbol(',' 12)
(
SymbolLine(0 60 10 50 8)
)
Symbol('-' 12)
(
SymbolLine(0 30 20 30 8)
)
Symbol('.' 12)
(
SymbolLine(0 50 5 50 8)
)
Symbol('/' 12)
(
SymbolLine(0 45 30 15 8)
)
Symbol('0' 12)
(
SymbolLine(0 45 5 50 8)
SymbolLine(0 15 0 45 8)
SymbolLine(0 15 5 10 8)
SymbolLine(5 10 15 10 8)
SymbolLine(15 10 20 15 8)
SymbolLine(20 15 20 45 8)
SymbolLine(15 50 20 45 8)
SymbolLine(5 50 15 50 8)
SymbolLine(0 40 20 20 8)
)
Symbol('1' 12)
(
SymbolLine(5 50 15 50 8)
SymbolLine(10 10 10 50 8)
SymbolLine(0 20 10 10 8)
)
Symbol('2' 12)
(
SymbolLine(0 15 5 10 8)
SymbolLine(5 10 20 10 8)
SymbolLine(20 10 25 15 8)
SymbolLine(25 15 25 25 8)
SymbolLine(0 50 25 25 8)
SymbolLine(0 50 25 50 8)
)
Symbol('3' 12)
(
SymbolLine(0 15 5 10 8)
SymbolLine(5 10 15 10 8)
SymbolLine(15 10 20 15 8)
SymbolLine(20 15 20 45 8)
SymbolLine(15 50 20 45 8)
SymbolLine(5 50 15 50 8)
SymbolLine(0 45 5 50 8)
SymbolLine(5 30 20 30 8)
)
Symbol('4' 12)
(
SymbolLine(0 30 20 10 8)
SymbolLine(0 30 25 30 8)
SymbolLine(20 10 20 50 8)
)
Symbol('5' 12)
(
SymbolLine(0 10 20 10 8)
SymbolLine(0 10 0 30 8)
SymbolLine(0 30 5 25 8)
SymbolLine(5 25 15 25 8)
SymbolLine(15 25 20 30 8)
SymbolLine(20 30 20 45 8)
SymbolLine(15 50 20 45 8)
SymbolLine(5 50 15 50 8)
SymbolLine(0 45 5 50 8)
)
Symbol('6' 12)
(
SymbolLine(15 10 20 15 8)
SymbolLine(5 10 15 10 8)
SymbolLine(0 15 5 10 8)
SymbolLine(0 15 0 45 8)
SymbolLine(0 45 5 50 8)
SymbolLine(15 30 20 35 8)
SymbolLine(0 30 15 30 8)
SymbolLine(5 50 15 50 8)
SymbolLine(15 50 20 45 8)
SymbolLine(20 35 20 45 8)
)
Symbol('7' 12)
(
SymbolLine(0 50 25 25 8)
SymbolLine(25 10 25 25 8)
SymbolLine(0 10 25 10 8)
)
Symbol('8' 12)
(

Re: gEDA-user: PCB: Rat's nest to best routing... strategies ?

2007-08-28 Thread gene
Hey Steve -

Is that you who also posts onto the SI-list?

gene


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


gEDA-user: the Embedded Muse

2007-08-28 Thread gene
If anyone reads Embedded Systems Magazine, you may already know of Jack 
Ganssle. If not, he writes a monthly column for the magazine. I 
subscribe to his somewhat monthly newsletter. Well, last month he wrote 
about a bunch of freeware tools. I noticed that he didn't mention 
anything about gEda, so I dropped him a note. He wrote back to say he 
hadn't heard of it, but would look into it. To my surprise, he quoted me 
in this months newslettter. Have a look - the entire newsletter is 
attached below (search for 'geda' if you don't feel like reading the 
whole thing)


gene





Embedded Muse 148 Copyright 2007 TGG August 27, 2007



You may redistribute this newsletter for noncommercial purposes. For
commercial use contact [EMAIL PROTECTED] 


EDITOR: Jack Ganssle, [EMAIL PROTECTED]

CONTENTS:

- Editor's Notes

- Secure Software

- Tools and Tips

- Jobs!

- Joke for the Week

- About The Embedded Muse

Editor's Notes

--

Did you know it IS possible to create accurate schedules? Or that
most projects consume 50% of the development time in debug and test,
and that it's not hard to slash that number drastically? Or that we
know how to manage the quantitative relationship between complexity
and bugs? Learn this and far more at my Better Firmware Faster class,
presented at your facility. See http://www.ganssle.com/classes.htm .

I'll be speaking at the new Embedded Systems Conference in Bangalore,
India in October, the always-fun East coast show in Boston in
mid-September, and at Oredev in Malmo, Sweden in November. In
addition, Omniscient International is sponsoring the class in
Singapore and Malaysia in October (see http://omniscient-intl.com/).

I'm always peppered with email from companies looking for
consultants. A lot of Muse subscribers are. Why not send me your
profile so I can connect folks based on their services? Send your
specialties and geographic region.

The sheer number of blogs is overwhelming. It's hard to find any
worth following. But Steve Leibson's at
http://www.edn.com/index.asp?layout=blogblog_id=98298 is always
interesting. He's also a big fan of the history of this industry, and
serves as a docent at The Computer History Museum
(http://www.computerhistory.org/ ) in Mountain View, CA. When he gave
me a tour he told me that for most folks it's only an hour. But for
us, figure on three. And what a tour it was. If you're out there it's
a must-see.

I enjoyed an article in the August 2007 issue of IEEE Computer. Les
Hatton, noted software researcher wrote The Chimera of Software
Quality. A particularly noteworthy excerpt: Computer Science
regrettably operates in a largely measurement-free zone. Researchers
do few experiments, and even fewer publish their results. . As a
result, software development isn't an engineering industry, but a
fashion industry populated by unquantifiable statements and driven by
marketing needs. We are exhorted to develop using JavaBeans, OO, or
UML because these technologies will supposedly fulfill our wildest
dreams.

Secure Software

---

It's hardly novel to say software security is important. What hasn't
gotten much mind-share is secure embedded software. We talk a lot
about reliable designs but usually security takes a back seat. Yet so
many of our creations are linked to the Internet, and are subject to
all of those threats.

In fact, last week Forbes magazine had an article
(http://www.forbes.com/security/2007/08/22/scada-hackers-infrastructure-tech-security-cx_ag_0822hack.html
) about hacking the SCADA systems that control all sorts of industrial
processes, including nuclear power plants. These are all traditional
embedded systems, some of quite of ancient heritage. Some are
connected to the Internet. 


A few companies, like Green Hills, are aggressively creating products
positioned to deal with these threats, but they are in the minority.
Clearly, secure embedded technology will become a huge issue in the
next few years.

Rod Chapman of Praxis and SPARK fame sent me a link to a new report
called Software Security Assurance
(http://iac.dtic.mil/iatac/download/security.pdf ). It's very long
(396 pages) but is absolutely topical. Like all of these things it's
wordy and full of acronym soup, but does make some interesting and
important points. A lot is less useful, but everyone should read the
section starting on page 170 about design principles for secure
software. There's nothing startling there, but somehow these ideas
continue to be neglected. 


The table on pages 139-140 offers a great summary of what makes good
requirements.

The report is really a compendium of pointers to other sources. I
recommend at least a quick look at it.

Tools and Tips

--

Greg Bollendonk and I corresponded about his search for a SEC/DED
EDAC algorithm. He found some useful 

Re: gEDA-user: the Embedded Muse

2007-08-28 Thread DJ Delorie

 Gene Glick sent this: Regarding free tools, are you aware of the
 gEda stuff? Although it's all Linux based, there's a ton of goodness

Thanks for the plug, but next time, please be accurate.  gEDA runs on
Linux, Unix, Windows, and Mac, with varying levels of effort.  PCB
only recently was tainted with Linux; it was on Unix before that,
and Amiga before that.


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


Re: gEDA-user: the Embedded Muse

2007-08-28 Thread gene

 Thanks for the plug, but next time, please be accurate.  gEDA runs on
 Linux, Unix, Windows, and Mac, with varying levels of effort.  PCB
 only recently was tainted with Linux; it was on Unix before that,
 and Amiga before that.
   
I knew about windows port, but honestly not much about the others.  If I 
knew he'd be quoting me, maybe I'd have been more complete.  He's a good 
guy, and I was just giving him a pointer to some cool stuff.


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


Re: gEDA-user: the Embedded Muse

2007-08-28 Thread DJ Delorie

 I knew about windows port, but honestly not much about the others.  If I 
 knew he'd be quoting me, maybe I'd have been more complete.  He's a good 
 guy, and I was just giving him a pointer to some cool stuff.

Don't get me wrong; we appreciate the evangelism.  I've just learned
over the years to be very careful about what I say in public, because
you never know when it might be quoted.

Plus, I've been trying to dispel the linux only misconception for a
while now, so I bring this up whenever someone mentions it.


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


Re: gEDA-user: the Embedded Muse

2007-08-28 Thread Steve Meier
Since the future is dependent upon the past I always try to be very
carefull about what I did in the past.


DJ Delorie wrote:
 I knew about windows port, but honestly not much about the others.  If I 
 knew he'd be quoting me, maybe I'd have been more complete.  He's a good 
 guy, and I was just giving him a pointer to some cool stuff.
 

 Don't get me wrong; we appreciate the evangelism.  I've just learned
 over the years to be very careful about what I say in public, because
 you never know when it might be quoted.

 Plus, I've been trying to dispel the linux only misconception for a
 while now, so I bring this up whenever someone mentions it.


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

   



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


Re: gEDA-user: the Embedded Muse

2007-08-28 Thread Dave McGuire
On Aug 28, 2007, at 10:23 PM, Steve Meier wrote:
 Since the future is dependent upon the past I always try to be very
 carefull about what I did in the past.

   Somebody's drinking tonight. ;)

 -Dave

-- 
Dave McGuire
Port Charlotte, FL
Farewell Ophelia, 9/22/1991 - 7/25/2007





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