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=ipFI3Huqc42XgVIO2hmJUq3u0ikpQhkJ5Xloi+bc2CI=; b=oW27gBnnhCJB7iLJtommn3Vk09jS9WtbwabkCdFKbss4NPF4uE28DpfA4IRZOH4bRo ScFjJDRg9voM4V7o1TaL0gXAVLfguXD830fjl4OJ8lVIZJ5BPVBj5bWAv0I6FSd8uBbr /ivghV6UFt9GV+GUiGTZw05wV0C597S/813jWdDHuRjq94SGdU4BVlaH9k3us1zlASeo ujmQjiYb+r2+23xqwGknFFSiQowlbJIsx+TJk7cRPSB3VAvr9K4YpCOTVtFzXiwJv+yL s8fHMjmbetKBEgyy+Y3C5IX/cfnK2sGG4TgwdQ128zDCPPvwRL/6M+IMYGEjd6bOu3GG ckTQ== 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=ipFI3Huqc42XgVIO2hmJUq3u0ikpQhkJ5Xloi+bc2CI=; b=jIGtvyWcmmz/lrwv8FxNLakYDuI/LGibiXM3wrZmDJhGcFz4jX4oVL82G3shdFXegG dgrtdyJa1XtWmWOFnnY12+HdUVfabqD2Ja4TeySmFSNvwwXDN+/ob2ECjORhVRx7jPaE gsDRXF5tQUcDJsyQ+WMCHnn2ZVY8wiNcu1AAGN3jueAqwUJN1lytbOVJz3rzJqgJLNn4 t6CKvPlFZXImCSnljNho/mzxovNUY/70JRIdU3nzMQLjJrjV/ml35mq9tF3+4KPQ8mFV jU8GoOa0DWCVaV3h51AakSfNPKesMiRaeF0L4sCoesuoOqChXL2hiShQ3PFih8eXT34a UYmQ== X-Gm-Message-State: AJcUukfVMfWxhADhKnfhTfjJgm1o0Ze/R6c57/auhJW7SBihHcoNAsio WPRUGL+TtVYlbXQWSHA0rvjF6IJWYKSqZrO57EbeZQ== X-Google-Smtp-Source: ALg8bN6yRcAVZXlban7I3eCbAO3etxWHUAZEJ7lFBEoIz+/Zbv9J/4embVlCEDVFuBTw+o4M424aVWwyeiU72aBvt7Q= X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr21779955plb.17.1545861991213; Wed, 26 Dec 2018 14:06:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Wed, 26 Dec 2018 17:03:23 -0500 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000dbb0b1057df40a3e" Reply-To: geda-help AT delorie DOT com --000000000000dbb0b1057df40a3e Content-Type: text/plain; charset="UTF-8" Hi Torben- The second time you run gsch2pcb it looks at the differences. The first time it may not have picked up all of the elements due to footprint name errors. The second time (and all subsequent times) you run it, it produces board.*new*.pcb, which contains the new elements, so that it doesn't overwrite your original file. To get them into the layout, you have to do as it says: open the layout then go to the file menu, select "load layout data to paste buffer", and select board.new.pcb. Then you can paste them into the layout. Alternatively, if you haven't done any work on the pcb yet, you can delete board.pcb and board.new.pcb and rerun gsch2pcb. Also, make sure that you execute Select > Disperse All Elements, as sometimes the elements will overlap when they're brought into the layout. Cheers, --Chad On Wed, Dec 26, 2018 at 2:44 PM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > Hi, > It is rather confusing. When I run gsch2pcb project I get: > > ---------------------------------- > Done processing. Work performed: > 5 file elements and 0 m4 elements added to board.new.pcb. > > Next steps: > 1. Run pcb on your file board.pcb. > 2. From within PCB, select "File -> Load layout data to paste buffer" > and select board.new.pcb to load the new footprints into your existing > layout. > 3. From within PCB, select "File -> Load netlist file" and select > board.net to load the updated netlist. > > 4. From within PCB, enter > > :ExecuteFile(board.cmd) > > to update the pin names of all footprints. > > First it does not tally with the description given in the tutorial - I am > using the one that comes with Ubuntu. > > Second, when I run pcb board.pcb I get only the transistor and the > resistor on the screen with a yellow line leading nowhere. Should'nt I get > both one.sch and two.sch? If I folllow the instructions above I add the > one.sch to the screen all bundled up. Both one.sch and two.sch appear to be > OK. > > As I say, I am confused. > best ergards > torben > > On Wed, Dec 26, 2018 at 3:46 PM Torben Friis wrote: > >> It worked. >> >> On Wed, Dec 26, 2018 at 3:26 PM Chad Parker (parker DOT charles AT gmail DOT com) >> [via geda-help AT delorie DOT com] wrote: >> >>> Hi Torben- >>> >>> Welcome to the community! Please feel free to post any questions you may >>> have. >>> >>> I think the issue is that the CONNECTOR is no longer an m4 element, so, >>> it's not generating it the way the tutorial thinks it should. >>> >>> Looking through the pcb element footprints, there is, however, a >>> footprint "CONNECTOR 1 2". I suspect that will serve for your purposes. >>> Please try changing "CONNECTOR 2 1" --> "CONNECTOR 1 2" and see if that >>> fixes it. >>> >>> Thanks, >>> --Chad >>> >>> >>> >>> >>> >>> On Wed, Dec 26, 2018 at 7:00 AM Torben Friis (friistf AT gmail DOT com) [via >>> geda-help AT delorie DOT com] wrote: >>> >>>> Hi, >>>> This is my first attempt at using geda-help. >>>> >>>> When in the Bill Wilson gEDA tutorial I use: >>>> >>>> gsch2pcb project >>>> >>>> I get the following message in the log: >>>> >>>> CONN202: can't find PCB element for footprint CONNECTOR-2-1 >>>> (value=unknown). >>>> So device CONN202 will not be in the layout. >>>> >>>> The attributes of the connector are. >>>> >>>> device: BNC >>>> footprint: CONNECTOR 2 1 >>>> refdes: CONN202 >>>> >>>> I think that I have followed the instructions, so what is wrong? >>>> best regards >>>> torben >>>> >>> --000000000000dbb0b1057df40a3e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Torben-

The second time y= ou run gsch2pcb it looks at the differences. The first time it may not have= picked up all of the elements due to footprint name errors. The second tim= e (and all subsequent times) you run it, it produces board.new.pcb, = which contains the new elements, so that it doesn't overwrite your orig= inal file. To get them into the layout, you have to do as it says: open the= layout then go to the file menu, select "load layout data to paste bu= ffer", and select board.new.pcb. Then you can paste them into the layo= ut.

Alternatively, if you haven't done any= work on the pcb yet, you can delete board.pcb and board.new.pcb and rerun = gsch2pcb.

Also, make sure that you execute Select = > Disperse All Elements, as sometimes the elements will overlap when the= y're brought into the layout.

Cheers,
--Chad


<= div dir=3D"ltr">On Wed, Dec 26, 2018 at 2:44 PM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Hi,
It is rather confusing. When I run gsch2pcb project I get:

----------------------------------Done processing.=C2=A0 Work performed:
5 file elements and 0 m4 element= s added to board.new.pcb.

Next steps:
1.=C2=A0 Run pcb on your fi= le board.pcb.
2.=C2=A0 From within PCB, select "File -> Load lay= out data to paste buffer"
=C2=A0=C2=A0=C2=A0 and select board.new.p= cb to load the new footprints into your existing layout.
3.=C2=A0 From w= ithin PCB, select "File -> Load netlist file" and select
= =C2=A0=C2=A0=C2=A0 board.net= to load the updated netlist.

4.=C2=A0 From within PCB, enter
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :ExecuteF= ile(board.cmd)

=C2=A0=C2=A0=C2=A0 to update the pin names of all foo= tprints.

First it does= not tally with the description given in the tutorial - I am using the one = that comes with Ubuntu.

Second, when I run pcb board.pcb I get only the transistor and the resist= or on the screen with a yellow line leading nowhere. Should'nt I get bo= th one.sch and two.sch? If I folllow the instructions above I add the one.s= ch to the screen all bundled up. Both one.sch and two.sch appear to be OK.<= br>

As I say, I am con= fused.
best ergards
tor= ben

On Wed, Dec 26, 2018 at 3:46 PM Torben Friis <friistf AT gmail DOT com> wrote:
=
It worked.

=
Hi Torben-
Welcome to the community! Please feel free to post any question= s you may have.

I think the issue is that the = CONNECTOR is no longer an m4 element, so, it's not generating it the wa= y the tutorial thinks it should.

Looking thro= ugh the pcb element footprints, there is, however, a footprint "CONNEC= TOR 1 2". I suspect that will serve for your purposes. Please try chan= ging "CONNECTOR 2 1" --> "CONNECTOR 1 2" and see if = that fixes it.

Thanks,
--Chad
<= div>




On Wed, Dec 26, 2018 at 7:00 AM Torbe= n Friis (friistf AT gma= il.com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Hi,
This is my first attempt at using geda-help.

W= hen in the Bill Wilson gEDA tutorial I use:

gsch2pcb project

= I get the following message in the log:

CONN202: can't find PCB = element for footprint CONNECTOR-2-1 (value=3Dunknown).
So device CONN202= will not be in the layout.

The attributes of the connector are.
=
device: BNC
footprint: CONNECTOR 2 1
refdes: CONN202

I thi= nk that I have followed the instructions, so what is wrong?
best regards=
torben
--000000000000dbb0b1057df40a3e--