www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2019/03/13/17:55:34

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Picaxe 14M2
In-reply-to: <CAMw9acCGFnK8RLdk8ZRK27wLeSyp-0fQ+8ZU_PuoQa0oJsHCzA@mail.gmail.com>
References: <CAJZxidC+HAZWw4TO2qp9-gVOojGbL=V+otOgmZ_Ep4d7tJTSVA AT mail DOT gmail DOT com> <CAMw9acCR7UbzzugNSnWhKtvHQqzgF_XLyLcagJpoK8Oi7aeEzw AT mail DOT gmail DOT com> <CAHUm0tMy4eP2csZEqsbfbvGQop2Awb2XwiPkO7_n25iJ1pusVA AT mail DOT gmail DOT com> <CAMw9acAwJvOyi3By2QRKFe-uFmOsbJw8cMrZ-P12dORxPft0kg AT mail DOT gmail DOT com> <CAMw9acCV78=pKXEwfZ2J+-gh5rU8KaY4nSGrwLX8vvjKfKfw_Q AT mail DOT gmail DOT com> <CAMw9acAqL71=kvMzgS-jKv-ceYayfYeTExKt_b0WQRm-+oojSw AT mail DOT gmail DOT com> <CAHUm0tMGB2nxTx8PgT14OFTw1mRtsCeUDv2CWC0sbiwhFPcWbA AT mail DOT gmail DOT com> <CAMw9acBexncH7muW0N_hJ-pfY89Db6g_5H388DjXs606xtmYmA AT mail DOT gmail DOT com> <20190304154059 DOT 5stzub6hlzpcootc AT newvzh DOT lokolhoz> <CAMw9acCHQD3t8K3uPRA5LjvLj4SvJYcyUaymT0uMi47Hzd7p0A AT mail DOT gmail DOT com> <CAMw9acA1Mj0vgm0J6neqOGhbyhGOP6kA=2yz-iSKcRactk+DkA AT mail DOT gmail DOT com> <CAMw9acDYQfg5egZDxMOUD_EC9PcF7X8xYcnuaSE8G4o+A1=+HQ AT mail DOT gmail DOT com> <20190306225226 DOT 6abca7f1 AT demon> <CAMw9acB98dh53zWeM5sZVABw30RaAb4vw1SJDJd=beX=nRVfpw AT mail DOT gmail DOT com> <20190306235442 DOT 4bfd285e AT demon> <CAMw9acAA5qw4Hstpm0gWGqh7LNuz-sdYiXBDuwkR-L
n8VVXBbA AT mail DOT gmail DOT com> <CAMw9acCGFnK8RLdk8ZRK27wLeSyp-0fQ+8ZU_PuoQa0oJsHCzA AT mail DOT gmail DOT com>
Comments: In-reply-to "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
message dated "Wed, 13 Mar 2019 20:10:11 +0100."
Mime-Version: 1.0
Message-Id: <20190313215510.052F681F9EFE@turkos.aspodata.se>
Date: Wed, 13 Mar 2019 22:55:09 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Torben Friis:
> I have a screen as attached. The file one.sch after saving the screen looks
> alright to me - all elements on the screenshot are there.
> 
> When I run "gsch2pcb project" I get:
> 
> ----------------------------------
> Done processing.  Work performed:
> 3 file elements and 0 m4 elements added to board.new.pcb.
> .
> .
> .
> 
> and the "cat board.new.pcb" does only show 3 elements. How come?
> Is it not so that every time I run "gsch2pcb project" I run it on the saved
> one.sch?

The board.new.pcb only contains the new elements, which you already 
have verified. The second step is to add them to board.pcb.

To add them to your board, run "pcb board.pcb" and then click the menu 
item "File->Load layout data to the paste-buffer", it will then open a 
file selection window. In its "Files" box, click board.new.pcb, and 
then ok. You now in "buffer" tool mode, to place the components, click 
somewhere where there is free space and then press F11 to get into 
"arrow" tool mode so can move the newly placed components.

> I tried to resdef two like connectors the same and give the second one
> slot=2, but only one connector of each pair then appeared as a result of
> "pcb board.pcb". How come?

Using slot=2 only works for symbol files that has numslots and slotdef 
attributes.

To see how it works, open an empty design like:
 gschem &
 press i to open the component browser
 in the box down left named "Filter:", enter 7400-1.sym
 in the bigger box above the filter, click on the file 7400-1.sym
 then you will se the symbol in the "Preview" box to the right
 below the preview box is an "Attributes" box
 in it you can see the attributes:
  slot=1
  numslots=4
  slotdef=1:1,2,3
  slotdef=2:4,5,6
  slotdef=3:9,10,8
  slotdef=4:12,13,11
 as you know, at least if you work with them, a 7400 contains four nand 
  gates, but the preview only shows you one
 to use all four gates you need to have four of thoose symbols, but 
  each with a different "slot=" number, and thoose four need to have 
  the same refdes
 the number you can use the slot number is "1" to a the maximum stated
  by numslots, "4" in this case, and you also need to have that many
  "slotdef" attributes

. So to use slot=2 for your connector you need learn from the 
  7400-1.sym, and remake the connector symbol into a slotted symbol
. the reason you only get one connector, is that the connector symbol 
  doesn't have thoose slot things that 7400-1 have, and because the two 
  symbols have the same refdes; same refdes == same physical package

> When I run "pcb board.pcb", the curser moves to next line and waits. When I
> then enter "ExecuteFile(board.cmd)" the curser moves to next line and I
> have to break to move to next prompt.

I cannot help you with that since I don't have your file board.pcb, 
sorry.

Regards,
/Karl Hammar

- Raw text -


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