gEDA-user: Gschem to PCB pin names to numbers

Terry Barnaby terry1 at beam.ltd.uk
Wed Jan 10 11:47:47 EST 2007


Dan McMahill wrote:
> Terry Barnaby wrote:
>> Hi,
>>
>> I am trying my first board with Geda.
>> I have entered a schematic including the symbols: nmos-3.sym and
>> npn-1.sym. These symbols define the pinnumbers as G,S,D and B,E,C etc.
>>
>> I have set the footprint to TO220STAND. This footprint defines the 
>> pinnumbers as 1,2,3.
>>
>> When I use gsch2pcb it generates a *.cmd file containing lines like
>> ChangePinName(Q3, E, E)
>> ChangePinName(Q3, C, C)
>> ChangePinName(Q3, B, B)
>>
>> When I use: "ExecuteFile(motorControl.cmd)" within pcb I get error 
>> messages like:
>>
>> "WARNING! Pin number ending with 'G' encountered in netlist file
>> Probably a bad netlist file format
>> Can't find XM3 pin G called for in netlist."
>>
>> So what's wrong ?
>> 1. Should I change the gschem symbols to use pin numbers ?
>> 2. Should I change PCB footprints to use pin names ?
>> 3. Do I need a pinnumber to name translation file for gsch2pcb ?
>> 4. Is there a problem with "gsch2pcb" ?
> 
> could you send what is in motorControl.net?
> 
> Did motorControl.net load correctly?
> 
> Hopefully I can take a look tonight (eastern us tonight) and figure out 
> whats going on.  Offhand though I think you want to use pinlabel for the 
> names in your symbols instead of pinnumber.  pinnumber needs to match 
> the numbers in the footprint.
> 
> -Dan
> 
> 
> 
> 
> 
> 
> _______________________________________________
> geda-user mailing list
> geda-user at moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Yes, I believe motorControl.net loaded correctly.
Its content is:

unnamed_net14	J1-8
unnamed_net13	J1-4
unnamed_net12	J1-2 C4-1 L1-1 XU1-1
unnamed_net11	R5-2 XM3-G
unnamed_net10	J1-10 R1-1 R2-1
unnamed_net9	C1-1 R2-2
unnamed_net8	C1-2 R3-1 Q1-C Q2-B
unnamed_net7	C2-2 R3-2 C3-1 XU1-3 R1-2 R4-2 Q3-C
unnamed_net6	R4-1 Q2-C Q4-B Q3-B
unnamed_net5	J2-1 J2-2 L1-2 C5-1 XM1-D
unnamed_net4	R7-1 XM1-G
unnamed_net3	R5-1 Q3-E Q4-E R6-1
GND	Q1-E J2-4 J1-7 J1-5 J1-1 J1-3 J1-9 C2-1 C4-2 XU1-2 C3-2 XM3-S C5-2 
Q2-E Q4-C XM2-S
unnamed_net2	J2-3 XM3-D R7-2 XM1-S XM2-D
unnamed_net1	R6-2 XM2-G

Cheers

Terry


More information about the geda-user mailing list