Re: gEDA-user: cannot compile gwave2

2008-10-10 Thread wing
Peter Clifton wrote:
> On Fri, 2008-10-10 at 22:35 +0800, wing wrote:
>   
>> Hi there,
>>
>> I tried to compile gwave2 (20080626) but failed in the ./configure stage.
>> The error message reads something like :
>>
>> checking for guile-tools... /usr/bin/guile-tools
>> checking libguile compile flags... 
>> checking libguile link flags...  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
>> checking if (gnome-2) is available... no
>> configure: error: required guile module not found: (gnome-2)
>>
>> And the related lines in the config.log file reads:
>>
>> configure:6511: checking libguile compile flags
>> configure:6514: result:
>> configure:6516: checking libguile link flags
>> configure:6519: result:  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
>> configure:6528: checking if (gnome-2) is available
>> configure:6535: result: no
>> configure:6540: error: required guile module not found: (gnome-2)
>>
>>
>> What exactly is the missed guile module?
>> 
>
> You might try "guile-gnome0-dev" if you're on Debian / Ubuntu.
>
>   
Hi Peter,
Thanks for quick response. Yes, guile-gnome0-dev is already installed in 
my Ubuntu, so I think it should be some problem else. Any idea?

the related lines I can find in the configure file is below:

{ echo "$as_me:$LINENO: checking if (gnome-2) is available" >&5
echo $ECHO_N "checking if (gnome-2) is available... $ECHO_C" >&6; }

  $GUILE -c "(use-modules (gnome-2)) (exit ((lambda () 0)))" > /dev/null 
2>&1
  ac_guile_module_required=$?

  if test "$ac_guile_module_required" = "0" ; then 
ac_guile_module_required=yes ; else ac_guile_module_required=no ; fi
  { echo "$as_me:$LINENO: result: $ac_guile_module_required" >&5
echo "${ECHO_T}$ac_guile_module_required" >&6; }


  if test "$ac_guile_module_required" = "no" ; then
  { { echo "$as_me:$LINENO: error: required guile module not 
found: (gnome-2)" >&5
echo "$as_me: error: required guile module not found: (gnome-2)" >&2;}
   { (exit 1); exit 1; }; }
  fi


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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Joerg
Robas, Teodor wrote:
> Hello Joerg,
> 
> 
> The analog front end is not built right now. I just feed the signal 
> thorough some resistors into the analog input. In fact most of the 
> components in the analog part have poorly calculated values. The analog 
> circuit shall have a detailed review after the digital part will do that 
> 12MHz sampling.
> 

Ok, then put the feedback resistors for the differential amps on the 
review list as well. 10K is way too high, a few hundred ohms is more 
customary.


> I tried to measure the number of samples in a bit from a serial line but 
> the length of a bit is not very stable. Anyway it seems that the number 
> of samples correspond to about the same sampling frequency of 300KHz.
> 

There is another way to test the sample rate, doesn't even require you 
to fire up the soldering iron: Put in 50Hz (divided down from a doorbell 
transformer etc.), take your 8k samples and then look how many samples 
per 50Hz cycle you've got. It's pretty easy if you feed the data into 
Excel or OpenOffice Calc where you should see a sine wave if you graph 
it. If it turns out that your clock rate is higher than you thought you 
can also use a test signal from your sound card output, just set it to a 
few kHz.


> The divider ideea is great ! My multimeter can measure up to 20KHz so 
> with a divider I can easily reach 20MHz. Seems that I will go this way 
> for now.
> 

If you can find a discarded TV set with a PLL tuner it gets even better. 
Most TV sets from the last 20 years have that and when the flyback 
transformer blows people often throw them away. Many of their tuners 
contain a divider that can take in frequencies up to 900MHz.

-- 
Regards, Joerg

http://www.analogconsultants.com/



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


Re: gEDA-user: Is there any way to cover pads with solder mask?

2008-10-10 Thread David Kuehling
>> Hello,

>> I would prefer to have the entire antenna structure completely
>> covered by solder mask.  I looked through the PCB manual to see if
>> there is a flag I can set, but I came up empty.  Is there something
>> I'm missing?

> "John" == John Luciani <[EMAIL PROTECTED]> writes:

> Set the mask clearance to zero.  

Or alternately, just create the antenna from traces and/or polyogons,
ie. not as a footprint.  This is what I have been using recently.

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40



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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Robas, Teodor
Hello Joerg,


The analog front end is not built right now. I just feed the signal 
thorough some resistors into the analog input. In fact most of the 
components in the analog part have poorly calculated values. The analog 
circuit shall have a detailed review after the digital part will do that 
12MHz sampling.

I tried to measure the number of samples in a bit from a serial line but 
the length of a bit is not very stable. Anyway it seems that the number 
of samples correspond to about the same sampling frequency of 300KHz.

The divider ideea is great ! My multimeter can measure up to 20KHz so 
with a divider I can easily reach 20MHz. Seems that I will go this way 
for now.


Best Regards,
Teodor



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


Re: gEDA-user: PCB routing question

2008-10-10 Thread Ben Jackson
On Fri, Oct 10, 2008 at 05:07:53PM -0400, Rob Butts wrote:
> 
>I auto routed a board and there were two rats that didn't get routed.
>I saw a path that would work so I drew a line from the pin to pin to
>connect the two pins and optimized and the rat went away.

That's fine.  Some people skip the autorouting step and do that with all
the rats!


-- 
Ben Jackson AD7GD
<[EMAIL PROTECTED]>
http://www.ben.com/


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


Re: gEDA-user: PCB routing question

2008-10-10 Thread DJ Delorie

> I auto routed a board and there were two rats that didn't get routed.  I saw
> a path that would work so I drew a line from the pin to pin to connect the
> two pins and optimized and the rat went away.  Is this fine to do?

Yup, very common.


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


gEDA-user: PCB routing question

2008-10-10 Thread Rob Butts

   I auto routed a board and there were two rats that didn't get routed.
   I saw a path that would work so I drew a line from the pin to pin to
   connect the two pins and optimized and the rat went away.  Is this
   fine to do?  I then went through the net list and found all the nets
   were connected to what they should be.
   I didn't see anything in the manual about doing this but it seems like
   this is how it's supposed to work or at least be fudged into working.


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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Joerg
Robas, Teodor wrote:

[...]

> I do not have another oscilloscope around so I can only
> guess that the sampling is very low by measuring average
> voltage on the CLK inputs of the converter. And that is
> quite low about 0.5V when sampling is on, and 0V when off.
> 

A trick you can use: Build a 1000:1 or 1024:1 (easier) divider from 
cheap 74HC logic D flip-flops or counters, whatever is there. Hang the 
input to your clock that you want to measure. Divide the output down so 
you get a few ten millivolts amplitude. Feed this into the sound card of 
your PC. Install a free FFT program and start it. If there is a 10MHz 
clock you'd get 10kHz out, if your clock is really only 300kHz your PC 
would show 300Hz.

Now you have one of the cheapest frequency measuring tools possible 
because the PC is already there.

-- 
Regards, Joerg

http://www.analogconsultants.com/



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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Joerg
Robas, Teodor wrote:
> Hello everybody,
> 
> 
> I need some advice if there is somebody on this list and
> has experience with ISP1581 chip or DMA buses.
> 
> Basically I made an usb based oscilloscope with the above
> mentioned usb 2.0 transceiver. This chip has a 16 bit wide
> DMA bus that I had connected directly with the outputs
> from the A/D converter. It is the DMA (master MDMA
> command 06) that drives the sampling.
> 
> The maximum sampling speed should be about 12 Msps.
>  From what I measured on the pc, it is only sampling at
> about 300Ksps. It is very frustrating: it is working, but not
> at the sampling speed the chip shall be capable of.
> 
> Now I want to know if maybe I did something stupid and I
> have conflicts on that bus, or I just forgot a setting. I tried
> other timing settings there but the sampling rate is like a
> stone, always 300 Ksps. And even with the highest timings,
> there should be at least 2 Msps.
> 
> I put the schematic here
> http://deep-blue.ro/tmp/main.pdf


Oops, possibly this is the culprit: R105 and R107 are 100K. If the 4066, 
opamp input and traces tally up to, say, 50pF then this forms an RC 
lowpass that rolls off around 500kHz. Try 10K or less and see if things 
improve.


> I do not have another oscilloscope around so I can only
> guess that the sampling is very low by measuring average
> voltage on the CLK inputs of the converter. And that is
> quite low about 0.5V when sampling is on, and 0V when off.
> 

Use other low cost "test signals" then. For example the oscillator of an 
AM radio. It usually tunes from about 1MHz to 2MHz. Over there in 
Romania your radios might also have a longwave band where it tunes from 
600kHz to 700kHz.

-- 
Regards, Joerg

http://www.analogconsultants.com/



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


Re: gEDA-user: PCB to IGES converstion?

2008-10-10 Thread Bert Timmerman
Hi Mike,

On Fri, 2008-10-10 at 09:21 -0500, Mike Crowe wrote:
>   Hi all
> 
> Another question for the group.  
> 
> Is anyone working on a tool or know how to import a pcb layout to an
> IGES file?
> 

I've made a start with a DXF exporter for pcb, not an IGES exporter :)
since the DXF file format is well known.

The sources can be found here:

http://github.com/bert/pcb-dxf-hid/tree/master

It's not in a very complete state, let's say halfway, it compiles and
sometimes segfaults.

Currently I have no time to debug the code as I'm very busy with
modifications to the house: extension, new kitchen, etc.

That will keep me busy until most of December I guess.

Kind regards,

Bert Timmerman.


> So how about it.  Anyone have this tool half built?
> 
> Thanks in advance



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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Robas, Teodor
Hello Eric,

The ISP1581 has an 8 KB of FIFO. 6KB are allocated as a double buffer 
for isochronous transfer via DMA. The DMA circuit does the job of 
getting the data from outside, put it into RAM and validating it for 
transmission. The samples does not need to reach into the ATmega162 mcu RAM.

What worries me is that the DMA may try to send something outside, 
creating a conflict with the A/D outputs (this DMA has a lot of other 
options specially for computer hard disk devices). This is my assumption 
for not getting enough speed. But until now no smoke.


Eric Winsor wrote:
> Teodor,
>
> I have not used your particular chip but have done USB with Cypress's 
> 8051 based controllers.  Are your samples going to a RAM and then sent 
> across the USB bus from there or are you sending the sampled data 
> directly to the USB bus buffer?
>
> Eric Winsor
>
>



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


Re: gEDA-user: cannot compile gwave2

2008-10-10 Thread Peter Clifton
On Fri, 2008-10-10 at 22:35 +0800, wing wrote:
> Hi there,
> 
> I tried to compile gwave2 (20080626) but failed in the ./configure stage.
> The error message reads something like :
> 
> checking for guile-tools... /usr/bin/guile-tools
> checking libguile compile flags... 
> checking libguile link flags...  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
> checking if (gnome-2) is available... no
> configure: error: required guile module not found: (gnome-2)
> 
> And the related lines in the config.log file reads:
> 
> configure:6511: checking libguile compile flags
> configure:6514: result:
> configure:6516: checking libguile link flags
> configure:6519: result:  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
> configure:6528: checking if (gnome-2) is available
> configure:6535: result: no
> configure:6540: error: required guile module not found: (gnome-2)
> 
> 
> What exactly is the missed guile module?

You might try "guile-gnome0-dev" if you're on Debian / Ubuntu.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



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


Re: gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Eric Winsor
Teodor,

I have not used your particular chip but have done USB with Cypress's 
8051 based controllers.  Are your samples going to a RAM and then sent 
across the USB bus from there or are you sending the sampled data 
directly to the USB bus buffer?

Eric Winsor



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


gEDA-user: cannot compile gwave2

2008-10-10 Thread wing
Hi there,

I tried to compile gwave2 (20080626) but failed in the ./configure stage.
The error message reads something like :

checking for guile-tools... /usr/bin/guile-tools
checking libguile compile flags... 
checking libguile link flags...  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
checking if (gnome-2) is available... no
configure: error: required guile module not found: (gnome-2)

And the related lines in the config.log file reads:

configure:6511: checking libguile compile flags
configure:6514: result:
configure:6516: checking libguile link flags
configure:6519: result:  -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
configure:6528: checking if (gnome-2) is available
configure:6535: result: no
configure:6540: error: required guile module not found: (gnome-2)


What exactly is the missed guile module?


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


gEDA-user: PCB to IGES converstion?

2008-10-10 Thread Mike Crowe
Hi all

Another question for the group.  

Is anyone working on a tool or know how to import a pcb layout to an
IGES file?

Background
I just did my second design with PCB.  Works great! Kudos to you all!  
unfortunately for me, when we assembled the prototype, one of the
components had a mechanical interference with the case.  Grrr.  With the
new artwork we'd like to be able to import an IGES image of it into
Solid Edge (a mechanical cad tool).  Before I start down the path of
writing my own tool, I want to be sure no one else has already started
down this path.
The minimum that I need it to do is:
Parse the file for elements
Look-up height information for elements from a separate file 
Convert the element description to the IGES format with the new height
info 
Optionally take an outline layer and convert it to a board outline 
Somehow provide board thickness info

So how about it.  Anyone have this tool half built?

Thanks in advance
-- 
Mike 
home of the USB-Accelerometer 
http://www.gcdataconcepts.com/xlr8r-1.html



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


gEDA-user: Trouble with an usb oscilloscope

2008-10-10 Thread Robas, Teodor

Hello everybody,


I need some advice if there is somebody on this list and
has experience with ISP1581 chip or DMA buses.

Basically I made an usb based oscilloscope with the above
mentioned usb 2.0 transceiver. This chip has a 16 bit wide
DMA bus that I had connected directly with the outputs
from the A/D converter. It is the DMA (master MDMA
command 06) that drives the sampling.

The maximum sampling speed should be about 12 Msps.
 From what I measured on the pc, it is only sampling at
about 300Ksps. It is very frustrating: it is working, but not
at the sampling speed the chip shall be capable of.

Now I want to know if maybe I did something stupid and I
have conflicts on that bus, or I just forgot a setting. I tried
other timing settings there but the sampling rate is like a
stone, always 300 Ksps. And even with the highest timings,
there should be at least 2 Msps.

I put the schematic here
http://deep-blue.ro/tmp/main.pdf
I do not have another oscilloscope around so I can only
guess that the sampling is very low by measuring average
voltage on the CLK inputs of the converter. And that is
quite low about 0.5V when sampling is on, and 0V when off.

The subject is off topic, but I can link it with gEDA because
the hardware was made with gschem and pcb :)
http://deep-blue.ro/tmp/o2.html


Thanks,
Teodor



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