X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=o8zUC3d78ngaH9RpcqlShHoOMvPJ70hyiVyi+OnKQhM=; b=uQfZfmm9OdLQPUfR4b0OIrW9a5lG+gmzQUSSwpSM39sLBNFiNxWz59x9MPMSudswjP ucqEitpmxPWrRGjqVlYQ+dcCfVj2oqFXCQsgjJhvod1GvzEQ/6ASWdpc6EPv1NqEZp9M guiJB4tdz5bS+WLakywnVJ2Fa9gYjASLBHGb5BN1a0XKI33s9eTMuesNV5Zc7jFFGutu 0QvCcYaPCqG2ekSinSKqEnhbRkh8ciVAHuAT3aa5pnvE+xCkPHbmHX0+nZ4lueeqf2GG KaLefYZ4T/p7AiRoZDjk7n1SF2+gBA7aH2PhMe8StpW4r51tH3ZF05hlen1ku/KggSqY FMDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=o8zUC3d78ngaH9RpcqlShHoOMvPJ70hyiVyi+OnKQhM=; b=EyxsbOkX7bDZX4/x9QNLxwEGeRyXg8adwo8bJozZBOS4r4C55C6rjnAUpOBpvgxYnL JqPvVYLJxPnXjJ2z/RFYvjD6aRf63zstJwd0TuKAdaauVTBr/JjjCrqrR9aDAiThrrxH iCjcimYjsjxYEkhE+AoKfG7EdqzZgVW3rOkwSs8TXR7tRvtjym/TAChGt9xUFJttGCso ho6NLeRCahzIA1jlhaLqNvUDu0nHUib+R85QjzsnmaA/Bi8AXX9XyYJD4gqAwqaqnEG3 UOxDeVOBkqv+o8/sTUimYi9Z2LUVM5OpN4ybHjwp7d2r8A/Hz7eDPGpjIvTDB1NibWL+ ws5A== X-Gm-Message-State: APjAAAUvsBhunM1xpLR0soQN9p8hBRkIlrqBVXX4bO95+AqIkzwujDt0 6ISNcR2aFS+boiW5YrwAjP7Mzvv75ZE4UQ4d6CpNqQ== X-Google-Smtp-Source: APXvYqxJyIY5wl6sBlbWRGPkd+DeeOujzpMIqiB/o09F5M67HsPICNZ+fm3uwiZoGljd3Zde8Jmd6Jkn0RJisUp3GZI= X-Received: by 2002:a25:683:: with SMTP id 125mr31823512ybg.94.1563576324319; Fri, 19 Jul 2019 15:45:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Sat, 20 Jul 2019 08:15:11 +0930 Message-ID: Subject: Re: [geda-help] Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="00000000000063ef35058e107bd5" Reply-To: geda-help AT delorie DOT com --00000000000063ef35058e107bd5 Content-Type: text/plain; charset="UTF-8" Most users, myself included, set up a template, for a per-project directory, which has the needed gafrc etc files, and subdirectories with their local foorprints and symbols. This keeps a given design safe from filesystem changes or changes to elements subsequently. It also means that once set up, it doesn't need to be thought about much. Here are some examples on github which should show you how to aim the layout editor at a partucular directory, i.e. "fp" or "packages" in these examples https://github.com/miloh/gEDA-git-template https://github.com/nocko/gEDA-template https://github.com/wojciechk8/geda-sym These examples should show you how it can be done Erich. On Sat, 20 Jul 2019 01:16 Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com], wrote: > Hi Erich Heinzie, > I think so. If I may reformulate it to show that I understand: > The PICAXE14M.sym file contains a statement: footprint unknown. When I > enter the symbol on the schematic I add the footprint attribute DIP14. The > PCB program then picks it up from tha Symbol file and find the DIP14 > footprint from /home/gaf/pcb-elements. > > Then the files: > /home/gaf/gschem-sym > (ls /home/gaf/gschem-sym > PICAXE-14M.sym) > > /home/gaf/pcb-elements > (ls /home/gaf/pcb-elements > DIP14.fp) > > /home/.gEDA/gafrc > (cat /home/.gEDA/gafrc > (component-library-search "/home/gaf/gschem-sym") > > should do the job? > > But then, when I have filled in the files, how do I make the PICAXE14M.sym > appear correctly in the add->component list?: > > > Basic devices > > Connectors (generic) > . > . > . > > I want to understand the stuff completely and really appreciate your help. > best regards > torben > > On Fri, Jul 19, 2019 at 12:41 PM Erich Heinzle (a1039181 AT gmail DOT com) [via > geda-help AT delorie DOT com] wrote: > >> In general, gschem is unaware of footprint file names, or the details of >> any other attributes you attach to a symbol from a symbol library >> >> The usual procedure, after adding your symbol to the schematic from a >> library, is to add an "attribute" to the symbol, in this case a "footprint" >> attribute, equal to "DIP14" >> >> The schematic file will end up with an ectra attribute within the picaxe >> instance, along the libes of >> >> "footprint=DIP18" >> >> The PCB layout editor, when you proceed to lay out uour design, is the >> software that has an understanding of footprint attributes, and will search >> its library paths for a DIP18 >> >> Does that help? >> >> Erich >> >> >> >> On Fri, 19 Jul 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via >> geda-help AT delorie DOT com], wrote: >> >>> Hi Erich Heinzie, >>> It should have been: >>> >>> /home/gaf/DIP14.fp >>> >>> and >>> >>> (component-library-search "/home/gaf/gschem-sym") in the /home/.gEDA/gafrc file >>> >>> I still have the problem of having PICAXE14M not showing up in the libraries list. >>> >>> When in http://www.gedasymbols.org/ i search for screw terminal I get a lot of .fp files, but no .sym files. How should they be handled? >>> >>> It is rather confusing. >>> >>> best regards >>> >>> torben >>> >>> >>> >>> >>> On Thu, Jul 18, 2019 at 11:44 AM Torben Friis wrote: >>> >>>> Hi Erich Heinzie, >>>> After following your advice (a long time ago) I have the following: >>>> >>>> /home/gaf/gschem-sym/PICAXE-14M.sym >>>> /home/gaf/pcb-elements/SIP3.fp >>>> >>>> (component-library-search "../gschem-sym") in the /home/.gEDA$/gafrc file >>>> >>>> Should not PICAXE-14M show up in Libraries when I click Add->Component in gEDA schmatic? >>>> >>>> best regards >>>> >>>> torben >>>> >>>> >>>> On Fri, Feb 15, 2019 at 9:19 PM Erich Heinzle (a1039181 AT gmail DOT com) >>>> [via geda-help AT delorie DOT com] wrote: >>>> >>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.sym?dl >>>>> >>>>> The above link will download the raw symbol file as a .sym for use in >>>>> the gschem schematic editor >>>>> >>>>> The DIP14 footprint required in the pcb layout editor will be a .fp >>>>> file and the raw file can be downloaded from >>>>> >>>>> http://www.gedasymbols.org/footprints/m4lib/DIP14.fp?dl >>>>> >>>>> You can place the respective files in the same directory as your >>>>> schematic and pcb layout, but most people will use dedicated directories in >>>>> their project directory for symbols and for footprints. >>>>> >>>>> Regards, >>>>> >>>>> Erich >>>>> >>>>> >>>>> On Fri, 15 Feb 2019 02:34 Torben Friis (friistf AT gmail DOT com) [via >>>>> geda-help AT delorie DOT com] >>>> >>>>>> Hi, >>>>>> I found DIP14: >>>>>> >>>>>> torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym >>>>>> http://www.gedasymbols.org/footprints/m4lib.cgi?geda >>>>>> >>>>> >>>>>> http://www.gedasymbols.org/cvs.html >>>>>> >>>>>> It looks different from your file if I view it.. >>>>>> >>>>>> Where should I store the file you sent (if it is the file I should >>>>>> store)? >>>>>> torben >>>>>> >>>>>> On Thu, Feb 14, 2019 at 3:26 PM Chad Parker (parker DOT charles AT gmail DOT com) >>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>> >>>>>>> >>>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.sym >>>>>>> >>>>>>> It looks like the package is a 14-pin DIP, so "DIP14" should work as >>>>>>> the footprint. >>>>>>> >>>>>>> Cheers, >>>>>>> --Chad >>>>>>> >>>>>>> >>>>>>> On Thu, Feb 14, 2019 at 9:11 AM Torben Friis (friistf AT gmail DOT com) >>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>> >>>>>>>> Hi , >>>>>>>> I have been looking fo the above element, but I cannot find it. I >>>>>>>> have been looking for .../newlib and found it in two places, but neither >>>>>>>> one appeared to provide it. >>>>>>>> Is there anywhere else I can look for it? >>>>>>>> torben >>>>>>>> >>>>>>> --00000000000063ef35058e107bd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Most users, myself included, set up a t= emplate, for a per-project directory, which has the needed gafrc etc files,= and subdirectories with their local foorprints and symbols.

This keeps a given design safe from f= ilesystem changes or changes to elements subsequently.

It also means that once set up, it doesn'= ;t need to be thought about much.

Here are some examples on github which should show you how to aim= the layout editor at a partucular directory, i.e. "fp" or "= packages" in these examples


<= div dir=3D"auto">https:/= /github.com/nocko/gEDA-template

https://= github.com/wojciechk8/geda-sym

These examples should show you how it can be done

Erich.

Hi Erich Heinzie,
I think so. If I may reformulate it to sho= w that I understand:
The PICAXE14M.sym file contains a statement: footpr= int unknown. When I enter the symbol on the schematic I add the footprint a= ttribute DIP14. The PCB program then picks it up from tha Symbol file and f= ind the DIP14 footprint from /home/gaf/pcb-elements.

Then the files:=
/home/gaf/gschem-sym
(ls /home/gaf/gschem-sym
PICAXE-14M.sym)
=
/home/gaf/pcb-elements
(ls /home/gaf/pcb-elements
DIP14.fp)
/home/.gEDA/gafrc
(cat /home/.gEDA/gafrc
(component-library-search = "/home/gaf/gschem-sym")

should do the job?

But then= , when I have filled in the files, how do I make the PICAXE14M.sym appear c= orrectly in the add->component list?:

> Basic devices
> = Connectors (generic)
.
.
.

I want to understand the stuff c= ompletely and really appreciate your help.
best regards
torben
<= /div>
O= n Fri, Jul 19, 2019 at 12:41 PM Erich Heinzle (a1039181 AT gmail DOT com) [via= geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:<= br>
In general, gschem is unaware of footprint file names, or the details of = any other attributes you attach to a symbol from a symbol library

The usual procedure, after adding you= r symbol to the schematic from a library, is to add an "attribute"= ; to the symbol, in this case a "footprint" attribute, equal to &= quot;DIP14"

The sch= ematic file will end up with an ectra attribute within the picaxe instance,= along the libes of

&quo= t;footprint=3DDIP18"

The PCB layout editor, when you proceed to lay out uour design, is the so= ftware that has an understanding of footprint attributes, and will search i= ts library paths for a DIP18=C2=A0

Does that=C2=A0help?

Erich



On Fri, 19 Jul 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via ged= a-help AT delorie DOT com], <geda-help AT delorie DOT com> wrote:
Hi Erich Heinzie,
It should have been= :

/home/gaf/DIP14.fp

and
(component-libra=
ry-search "/home/gaf/gschem-sym") in the /home/.gEDA/gafrc file
I still have =
the problem of having PICAXE14M not showing up in the libraries list.
When in http://www.gedasymbols.org/ i search for screw terminal I get a l=
ot of .fp files, but no .sym files. How should they be handled?
It is rather confusing.
=
best regards
torben



<= div class=3D"gmail_quote">
On Thu, Jul= 18, 2019 at 11:44 AM Torben Friis <friistf AT gmail DOT com> = wrote:
Hi Erich Heinzie,
After= following your advice (a long time ago) I have the following:

/home/gaf/gschem-sym/PICAXE-14M.sy= m
/home/gaf/pcb-elements/SIP3.fp
(component-library-=
search "../gschem-sym") in the /home/.gEDA$/gafrc file

Should not PICAXE-14M =
show up in Libraries when I click Add->Component in gEDA schmatic?
best regards
torben

http://www.gedasymbols.org/user/erich_heinzle/symbols/P= ICAXE-14M.sym?dl

The above= link will download the raw symbol file as a .sym for use in the gschem sch= ematic editor

The DIP14 = footprint required in the pcb layout editor will be a .fp file and the raw = file can be downloaded from


You can place the respective files in the same directory as your = schematic and pcb layout, but most people will use dedicated directories in= their project directory for symbols and for footprints.

Regards,

=
Erich


Hi,
I found DIP14:

torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym
http://www.gedasymbols.org/foot= prints/m4lib.cgi?geda=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &l= t;here

http://www.gedasymbols.org/cv= s.html

It looks di= fferent from your file if I view it..

Where should I store the file you sent (if it is the file I= should store)?
torben

On Thu, Feb 1= 4, 2019 at 3:26 PM Chad Parker (parker.charles@= gmail.com) [via geda-help AT delorie DOT com] <= ;geda-help AT delorie DOT com> wrote:


It looks like the= package is a 14-pin DIP, so "DIP14" should work as the footprint= .

Cheers,
--Chad


On Thu, Feb 14, 2019 at 9:11 AM Torben Friis = (friistf AT gmail DOT com) [via = geda-help AT delorie DOT com] <geda-help AT delorie DOT c= om> wrote:
Hi ,
I have b= een looking fo the above element, but I cannot find it. I have been looking= for .../newlib and found it in two places, but neither one appeared to pro= vide it.
Is there anywhere else I can look for it?<= /div>
torben
--00000000000063ef35058e107bd5--