CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: EZ-USB

Posted by Jon Elson
on 2001-05-24 20:32:58 UTC
Chris Stratton wrote:

> > DOS is not a reasonable avenue for USB work, but Linux and
> > Macintosh both support USB.
> >
>
> There have been several mailing lists posts hinting at the existence
> of USB for rtlinux, but nothing definite at either rtlinux.org or
> rtlinux.com
>
> As I understand it, it is not enough for the linux kernel to be able
> to talk USB. Rather, the realtime code that runs above the kernel and
> hence can't use the kernel's drivers, is what needs to talk to the I/O
> device.

Yup, at least for EMC, it would have to be real-time, and the kernel would have
to leave that USB port completely alone. (That might help reliability, though.)

> Another option would be to port the the reatlime portion of EMC to
> actually run on the USB microcontroller and have the non-realtime
> portions (which run under the linux kernel and can use its drivers)
> feed data to the USB micro rather than to a local realtime task. The
> micro may not be fast enough to do this... but there might be one that
> is, especially if a seperate unit was used for each axis. Want to add
> a rotary table to your mill? just buy it, plug its integrated driver
> into the USB, and watch it enumerate!

If you use separate micros, then you have to keep all axes synchronized.
Not so easy.

> In my opinion, one of the really good things about EMC is that it is
> open to modification. A USB device that used code downloaded at
> runtime and built with gnu development tools would preserve this,
> although with a sharper learning curve given the need to know 8051
> assembly.

This is the wonderful thing about EMC, there is no assembly code in there.
(Actually, there is just the tiniest bit, there are C macros that put 80x86
input and output instructions inline with the code, avoiding subroutine
calls.) Also, all calculation, all the way through, is done in floating point,
making the arithmetic a lot simpler, but not so easy for an 8-bit micro.

Jon

Discussion Thread

Chris Stratton 2001-05-24 09:52:22 UTC EZ-USB Dennis Cranston 2001-05-24 10:44:12 UTC RE: [CAD_CAM_EDM_DRO] EZ-USB stevesng@n... 2001-05-24 12:47:40 UTC Re: EZ-USB Ian Wright 2001-05-24 13:35:58 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Jon Elson 2001-05-24 13:52:26 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB stevesng@n... 2001-05-24 14:43:42 UTC Re: EZ-USB Alan Marconett KM6VV 2001-05-24 15:55:28 UTC Re: [CAD_CAM_EDM_DRO] EZ-USB Alan Marconett KM6VV 2001-05-24 16:06:30 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Alan Marconett KM6VV 2001-05-24 16:07:26 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Chris Stratton 2001-05-24 16:08:06 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB stevesng@n... 2001-05-24 17:11:24 UTC Re: EZ-USB stevesng@n... 2001-05-24 17:21:06 UTC Re: EZ-USB Alan Marconett KM6VV 2001-05-24 18:24:38 UTC Re: EZ-USB stevesng@n... 2001-05-24 18:51:52 UTC Re: EZ-USB Chris Stratton 2001-05-24 19:09:04 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Jon Elson 2001-05-24 20:32:58 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Smoke 2001-05-28 10:02:00 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Jon Elson 2001-05-28 15:00:08 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Hugh Prescott 2001-05-28 16:34:00 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB Carol & Jerry Jankura 2001-05-28 17:45:19 UTC RE: [CAD_CAM_EDM_DRO] Re: EZ-USB Hugh Prescott 2001-05-28 19:59:42 UTC Re: [CAD_CAM_EDM_DRO] Re: EZ-USB