John Luciani wrote:
On 9/28/06, Jeff VR <[EMAIL PROTECTED]> wrote:
John Luciani wrote:
> On 9/28/06, Jeff VR <[EMAIL PROTECTED]> wrote:
>> John Luciani wrote:
>> > On 9/28/06, Jeff VR <[EMAIL PROTECTED]> wrote:
>> >> When I use the newlib type footprint, TSSOP-65P-640L1-20N, Luciani
>> made
>> >> to my 74HC245 schematic symbol I have problems generating a netlist
>> >> and pcb.
>> >>
>> >> I've been working with this problem for a couple of days trying to
>> find
>> >> out why this element is being treated as an M4 footprint.  Based
>> on the
>> >> error message this is what I believe is happening.  When I run
>> gsch2pcb
>> >> it generates the following error: "stdin:58: /usr/bin/m4: Bad
>> expression
>> >> in eval: /2".  If I let it keep running it will eventually print
>> to the
>> >> console "/bin/sh: line 1: 21526 Killed    /usr/bin/m4 -d -I.
>> >> -I/usr/share/pcb/m4 -I /etc/pcb -I$HOME/.pcb -I.
>> >> /usr/share/pcb/m4/common.m4 - >> caspian.pcb" before finishing the
>> rest
>> >> of the schematic.
>> >>
>> >> I'm looking for some help in debugging this problem.  Is there an
>> >> intermediate step I can run to try and figure out if the problem
>> is with
>> >> the footprint or my schematic?  What triggers the m4 library to
>> kick in?
>> >
>> > Are you sure that the footprint attribute is not misspelled in your
>> > schematic?
>> > You could try creating a schematic with a single HC245 with the
>> footprint
>> > attribute set to TSSOP-65P-640L1-20N and run the command ---
>> >
>> > gsch2pcb --elements-dir ~/projects/gaf/pcb-elements/luciani
>> > TEST_SCH_NAME.sch
>> >
>> > (* jcl *)
>> >
>> When I created the test schematic I had the same problem. However this
>> time I also added the original 74HCT245-1.sym from the gEDA symbol
>> library and assigned the desired TSSOP.. footprint from Luciani and it
>> worked fine!  So the problem is in my modified version of the
>> 74HCT245-1.sym. I modified the original version of the symbol so that I >> had the power and GND pins on the symbol rather than defaulting to the >> nets defined in the symbol. I also moved some pins around and deleted
>> the default footprint of DIP.  Thinking that every symbol must have a
>> default footprint I assigned the default to the desired TSSOP... and it >> still failed.:) I did a difference between the original and my version
>> and I don't see anything obvious.  I ran gsymfix.pl which modified it
>> but didn't fix the problem.
>>
>> So at least we have it narrowed down to the symbol.  So what could be
>> wrong with my symbol that would cause an M4 error?
>>
>> Note:
>> I attached my modified version of the 74HCT245-1.sym.
>
> I placed your symbol in a schematic, changed the footprint attribute and
> gsch2pcb ran correctly. I loaded the resultant PCB file and placed the
> part.
>
> NB: I do not have any m4 libraries and only use newlib parts that are
> stored in
> my production directory.
>
> (* jcl *)
>
>
>
>
Did you use the TSSOP-65P-640L1-20N?  I can choose other footprints and
assign them to this symbol and it works fine for me as well.  It's when
I use the TSSOP-65P-640L1-20N footprint I get this problem.

http://www.luciani.org/geda/pcb/footprints/TSSOP-65P-640L1-20N

Yes. I only use the footrpints that are on luciani.org ;-)
The makefile that I use to update the website copies all of the
footprints from my production directory.

Wow, I didn't notice it was MR. Luciani himself helping me out. :)
I only have newlib parts assigned in my schematic.  I do however have
the M4 libraries installed on my machine.

Try Stuart's suggestion of using the -v -v option.

If you post your *simple* test schematic that contains the problem I will
take a look. Make sure you use embedded symbols!

(* jcl *)


Here you go. -It took me a little bit to figure out how to embed symbols.

Thanks for the help.
v 20060123 1
C 51000 61300 1 0 0 EMBEDDED74HCT245-1_JVR.sym
[
T 51300 64750 5 10 0 0 0 0 1
device=74HCT245
P 51000 64200 51300 64200 1 0 0
{
T 51200 64250 5 8 1 1 0 6 1
pinnumber=1
T 51200 64150 5 8 0 1 0 8 1
pinseq=1
T 51350 64200 9 8 1 1 0 0 1
pinlabel=DIR
T 51350 64200 5 8 0 1 0 2 1
pintype=in
}
P 51000 63900 51300 63900 1 0 0
{
T 51200 63950 5 8 1 1 0 6 1
pinnumber=2
T 51200 63850 5 8 0 1 0 8 1
pinseq=2
T 51350 63900 9 8 1 1 0 0 1
pinlabel=A1
T 51350 63900 5 8 0 1 0 2 1
pintype=tri
}
P 51000 63600 51300 63600 1 0 0
{
T 51200 63650 5 8 1 1 0 6 1
pinnumber=3
T 51200 63550 5 8 0 1 0 8 1
pinseq=3
T 51350 63600 9 8 1 1 0 0 1
pinlabel=A2
T 51350 63600 5 8 0 1 0 2 1
pintype=tri
}
P 51000 63300 51300 63300 1 0 0
{
T 51200 63350 5 8 1 1 0 6 1
pinnumber=4
T 51200 63250 5 8 0 1 0 8 1
pinseq=4
T 51350 63300 9 8 1 1 0 0 1
pinlabel=A3
T 51350 63300 5 8 0 1 0 2 1
pintype=tri
}
P 51000 63000 51300 63000 1 0 0
{
T 51200 63050 5 8 1 1 0 6 1
pinnumber=5
T 51200 62950 5 8 0 1 0 8 1
pinseq=5
T 51350 63000 9 8 1 1 0 0 1
pinlabel=A4
T 51350 63000 5 8 0 1 0 2 1
pintype=tri
}
P 51000 62700 51300 62700 1 0 0
{
T 51200 62750 5 8 1 1 0 6 1
pinnumber=6
T 51200 62650 5 8 0 1 0 8 1
pinseq=6
T 51350 62700 9 8 1 1 0 0 1
pinlabel=A5
T 51350 62700 5 8 0 1 0 2 1
pintype=tri
}
P 51000 62400 51300 62400 1 0 0
{
T 51200 62450 5 8 1 1 0 6 1
pinnumber=7
T 51200 62350 5 8 0 1 0 8 1
pinseq=7
T 51350 62400 9 8 1 1 0 0 1
pinlabel=A6
T 51350 62400 5 8 0 1 0 2 1
pintype=tri
}
P 51000 62100 51300 62100 1 0 0
{
T 51200 62150 5 8 1 1 0 6 1
pinnumber=8
T 51200 62050 5 8 0 1 0 8 1
pinseq=8
T 51350 62100 9 8 1 1 0 0 1
pinlabel=A7
T 51350 62100 5 8 0 1 0 2 1
pintype=tri
}
P 51000 61800 51300 61800 1 0 0
{
T 51200 61850 5 8 1 1 0 6 1
pinnumber=9
T 51200 61750 5 8 0 1 0 8 1
pinseq=9
T 51350 61800 9 8 1 1 0 0 1
pinlabel=A8
T 51350 61800 5 8 0 1 0 2 1
pintype=tri
}
V 52750 63900 50 6 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
P 53000 63900 52800 63900 1 0 0
{
T 52800 64050 5 8 1 1 180 6 1
pinnumber=19
T 52800 63950 5 8 0 1 180 8 1
pinseq=10
T 52650 63900 9 8 1 1 180 0 1
pinlabel=ENABLE
T 52650 63900 5 8 0 1 180 2 1
pintype=in
}
P 52700 63600 53000 63600 1 0 1
{
T 52800 63650 5 8 1 1 0 0 1
pinnumber=18
T 52800 63550 5 8 0 1 0 2 1
pinseq=11
T 52650 63600 9 8 1 1 0 6 1
pinlabel=B0
T 52650 63600 5 8 0 1 0 8 1
pintype=tri
}
P 52700 63300 53000 63300 1 0 1
{
T 52800 63350 5 8 1 1 0 0 1
pinnumber=17
T 52800 63250 5 8 0 1 0 2 1
pinseq=12
T 52650 63300 9 8 1 1 0 6 1
pinlabel=B1
T 52650 63300 5 8 0 1 0 8 1
pintype=tri
}
P 52700 63000 53000 63000 1 0 1
{
T 52800 63050 5 8 1 1 0 0 1
pinnumber=16
T 52800 62950 5 8 0 1 0 2 1
pinseq=13
T 52650 63000 9 8 1 1 0 6 1
pinlabel=B2
T 52650 63000 5 8 0 1 0 8 1
pintype=tri
}
P 52700 62700 53000 62700 1 0 1
{
T 52800 62750 5 8 1 1 0 0 1
pinnumber=15
T 52800 62650 5 8 0 1 0 2 1
pinseq=14
T 52650 62700 9 8 1 1 0 6 1
pinlabel=B3
T 52650 62700 5 8 0 1 0 8 1
pintype=tri
}
P 52700 62400 53000 62400 1 0 1
{
T 52800 62450 5 8 1 1 0 0 1
pinnumber=14
T 52800 62350 5 8 0 1 0 2 1
pinseq=15
T 52650 62400 9 8 1 1 0 6 1
pinlabel=B4
T 52650 62400 5 8 0 1 0 8 1
pintype=tri
}
P 52700 62100 53000 62100 1 0 1
{
T 52800 62150 5 8 1 1 0 0 1
pinnumber=13
T 52800 62050 5 8 0 1 0 2 1
pinseq=16
T 52650 62100 9 8 1 1 0 6 1
pinlabel=B5
T 52650 62100 5 8 0 1 0 8 1
pintype=tri
}
P 52700 61800 53000 61800 1 0 1
{
T 52800 61850 5 8 1 1 0 0 1
pinnumber=12
T 52800 61750 5 8 0 1 0 2 1
pinseq=17
T 52650 61800 9 8 1 1 0 6 1
pinlabel=B6
T 52650 61800 5 8 0 1 0 8 1
pintype=tri
}
P 52700 61500 53000 61500 1 0 1
{
T 52800 61550 5 8 1 1 0 0 1
pinnumber=11
T 52800 61450 5 8 0 1 0 2 1
pinseq=18
T 52650 61500 9 8 1 1 0 6 1
pinlabel=B7
T 52650 61500 5 8 0 1 0 8 1
pintype=tri
}
B 51300 61300 1400 3200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 51300 65150 5 10 0 0 0 0 1
description=8 bit bus transceiver
L 51950 63925 52575 63925 3 0 0 0 -1 -1
T 51300 65350 5 10 0 0 0 0 1
numslots=0
T 51300 64540 9 10 1 0 0 0 1
74HCT245
T 51300 65550 5 10 0 0 0 0 1
documentation=http://www-s.ti.com/sc/ds/sn74hct245.pdf
P 53000 64200 52700 64200 1 0 0
{
T 52800 64350 5 8 1 1 180 6 1
pinnumber=20
T 52800 64250 5 8 0 1 180 8 1
pinseq=19
T 52650 64200 9 8 1 1 180 0 1
pinlabel=Vcc
T 52650 64200 5 8 0 1 180 2 1
pintype=pwr
}
P 51000 61500 51300 61500 1 0 0
{
T 51200 61550 5 8 1 1 0 6 1
pinnumber=10
T 51200 61450 5 8 0 1 0 8 1
pinseq=20
T 51350 61500 9 8 1 1 0 0 1
pinlabel=GND
T 51350 61500 5 8 0 1 0 2 1
pintype=pwr
}
T 51292 64900 8 10 0 0 0 0 1
footprint=TSSOP-65P-640L1-20N
]
{
T 52700 64600 5 10 1 1 0 6 1
refdes=U101
}

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

Reply via email to