#emc | Logs for 2005-02-22

[00:01:04] <paul_c> no emc-src.deb
[00:01:11] <SWPadnos> ok
[00:01:20] <paul_c> and cvs is down at the moment
[00:01:37] <SWPadnos> well - that could make things tricky
[00:02:18] <paul_c> anon access is still up from what I hear.
[00:03:04] <SWPadnos> OK - I'll try that - I don't expect to make too many changes on the computer with the lo-res screen :)
[00:03:48] <paul_c> I need to do some dev/test work on this new install....
[00:04:09] <paul_c> will ssh in from the main desktop computer
[00:04:58] <SWPadnos> well - anonymous login is rejecting all passwords
[00:06:20] <paul_c> so pserver is down too.
[00:06:27] <paul_c> bummer.
[00:06:41] <SWPadnos> I get a CVS password: prompt, but nothing seems to work
[00:06:52] <SWPadnos> (blank, email address, random garbage)
[00:07:14] <SWPadnos> I got a "Failed to open /root/.cvspass" error on the last try
[00:07:20] <paul_c> there is no passwd for anon logins - just hit return.
[00:07:44] <SWPadnos> That's what I did when I got the missing file error
[00:08:22] <gezr> thats a normal cvs behivior at first
[00:08:28] <SWPadnos> now it worked
[00:11:11] <SWPadnos> (and I even got the chips.gif file :) )
[00:12:56] <paul_c> cvsweb is showing all of yesterday's changes.
[00:14:09] <SWPadnos> cool. I just tried a configure / make, which failed
[00:14:29] <SWPadnos> The first time, it couldn't find gcc-2.95, so I installed that (apt-get install gcc-2.95)
[00:14:33] <paul_c> did you install the kernel sources ?
[00:15:09] <SWPadnos> Then, it got through ./configre, but make craps out on linklist.cc - it can't find g++
[00:15:37] <SWPadnos> not the full source, just headers
[00:15:38] <paul_c> install g++
[00:15:47] <gezr> g++-dev
[00:16:01] <paul_c> You will need to install the kernel sources from the CD
[00:16:04] <gezr> accualy g++2.95-dev I think
[00:16:29] <SWPadnos> just g++-2.95
[00:16:34] <paul_c> Use g++ 3.3 (or what ever the latest version is)
[00:17:08] <SWPadnos> Well - the installed RTAI seemed to think it was compiled with 2.95 - would that be an issue
[00:17:37] <paul_c> Only for the kernel modules
[00:18:16] <SWPadnos> OK - ./configure mentioned that it found gcc-2.95 from rtai-config
[00:19:17] <paul_c> Once you have the kernel source package installed, there are a couple of steps that you must do before compiling
[00:19:58] <SWPadnos> OK - shoot
[00:21:45] <paul_c> cd to /usr/src and unpack the tarball there.
[00:23:22] <SWPadnos> ok - it's unpacking
[00:24:03] <SWPadnos> I assume I'll need to patch it with the RTAI patches
[00:24:10] <SWPadnos> nevermind
[00:24:13] <paul_c> No
[00:24:20] <paul_c> Pre-patched.
[00:24:36] <SWPadnos> (I realized the stupidity of my statement as soon as I hit enter :) )
[00:24:53] <SWPadnos> as I see Adeos scroll by thousands of times
[00:25:23] <paul_c> when the sources have been unpacked...
[00:25:31] <paul_c> take a peek in /boot
[00:26:00] <SWPadnos> what am looking for
[00:26:26] <paul_c> config-2.6.9-adeos
[00:26:27] <SWPadnos> (config-2.6.9-adeos?)
[00:26:56] <SWPadnos> copy that to usr/src/..., make oldconfig ...
[00:26:59] <paul_c> This needs to be copied to /usr/src/kernel-source-2.6.9-adeos
[00:27:29] <paul_c> then make oldconfig
[00:27:47] <paul_c> and there is one final step to perform....
[00:28:00] <robin_sz> first
[00:28:06] <robin_sz> you need some chicken blood
[00:28:10] <robin_sz> and some bones
[00:28:16] <SWPadnos> first, cut the bloe wire
[00:28:18] <SWPadnos> no - the red
[00:28:21] <SWPadnos> blue
[00:28:25] <SWPadnos> whatever
[00:28:29] <robin_sz> <boom>
[00:29:21] <SWPadnos> ok - somehow I have no "gcc" command now.
[00:29:40] <SWPadnos> I suppose I should link that to gcc-2.95
[00:29:57] <SWPadnos> (or 3.4, which would have been ideal)
[00:30:22] <robin_sz> was it 2.95 or 2.96 that was broken?
[00:32:27] <gezr> robin_sz : megasquirt looks way way cool
[00:32:33] <robin_sz> indeed
[00:32:42] <robin_sz> best pr0n site I know
[00:32:46] <gezr> that would be one hell of a way to do things for sure
[00:33:04] <gezr> but im gonna do it right the first time
[00:33:06] <robin_sz> oh THAT megasquirt ;)
[00:33:31] <gezr> oh gosh
[00:33:34] <gezr> hahaha
[00:33:40] <robin_sz> yeah, stick with standard, one less thing to worry about
[00:34:15] <gezr> but that sure is cool
[00:34:20] <robin_sz> yip
[00:34:23] <gezr> another reason to have a win box handy
[00:34:31] <robin_sz> if you had an old injection car to play with
[00:34:54] <robin_sz> reminds me, must scrap this beemer ...
[00:34:56] <gezr> you could inject just about anything with that
[00:35:22] <gezr> that would be neat for say a rc plane or something
[00:35:38] <robin_sz> way too big for a rc thing
[00:35:48] <gezr> im talking about a big rc thing :)
[00:36:00] <gezr> or a small one to tinker with
[00:36:09] <robin_sz> inject a non injection thing ... like a boat, lawnmower
[00:36:23] <gezr> I was thinking about a lawnmower
[00:36:43] <gezr> you cant really inject a 2stroke engine can you?
[00:38:06] <robin_sz> mmm ... well, you could
[00:38:43] <robin_sz> it would be OK as a non-performance thing
[00:38:52] <paul_c> 2strokes are better off being injected
[00:39:15] <robin_sz> theve failed to get real performance out of them in racebikes with injection as far as I know
[00:39:18] <paul_c> direct injection after the exhaust port has closed.
[00:39:30] <robin_sz> oh for economy yeah
[00:40:12] <robin_sz> then youve got the "how to lubricate the innards" problem
[00:40:33] <robin_sz> maybe thats better without petrol washing it all off?
[00:41:36] <gezr> you know what, im glad I remembered this, you guys in the UK, can you own guns? the guys at work were talking about it again, and I want some real info to give them
[01:00:27] <robin_sz> ahh, theres how you interface a 3.3V xilinx to a rabbit ...
[01:00:35] <robin_sz> you use a 3.3v rabbit :)
[02:02:08] <paul_c> Evening Dave
[02:02:13] <daveland> anyone here?
[02:02:23] <paul_c> yes
[02:02:35] <daveland> good evening... Just trying out irc for the first time
[02:03:03] <daveland> paul.. I think we met at NAMES many years ago
[02:03:39] <paul_c> 'tis possible.
[02:04:06] <daveland> Do you know if the EMC source is on the 4.18 bdi iso image?
[02:05:05] <paul_c> errr.... Not up to 4.18 yet
[02:05:14] <paul_c> Latest build is 4.16
[02:06:02] <daveland> sorry 4.16 then. I installed it and could not find the source for emc. or must I download that from sourceforge?
[02:06:41] <daveland> I want to rebuild emc, but I was trying to avoid all the tedious rtlinux install stuff.
[02:07:20] <daveland> So I thought I would just install the bdi, make some emc changes and then re-compile.
[02:07:28] <paul_c> You will need to grab the latest sources from SF and also install the compiler tools
[02:08:33] <daveland> ohh.. so the bdi debian install does not have all the libraies and c code stuff.
[02:08:59] <paul_c> no - Ran out of space for gcc & friends
[02:09:28] <paul_c> BUT it does have the kernel headers, sources, and rtai-dev packages on the CD
[02:09:47] <daveland> ok.... perhaps I'll just fire up a redhat copy and do the rtlinux install. Any problems with redhat9.0 and rtlinux 3.X ?
[02:10:15] <paul_c> if you are using a 2.6 kernel, yes.
[02:11:14] <daveland> so what redhat version or kernel version should I use? I last did the compile on redhat 5.2 many years ago...
[02:12:05] <paul_c> Have you used Debian before ?
[02:12:26] <daveland> only for the bdi I just installed... Is it easier?
[02:13:09] <paul_c> For installing packages, Debian can't be beaten
[02:13:33] <paul_c> apt-get foo, and all the dependencies are installed at the same time.
[02:13:55] <daveland> So I should just read up on installing from debian and go forward from the bdi install?
[02:14:46] <paul_c> Just read the section on apt - That will be enough to start with
[02:14:59] <paul_c> BDI-4 installs Debian !
[02:15:33] <daveland> Yeah I saw that you moved to debian. OK so I can try that . Thanks a lot
[02:18:07] <daveland> paul.. I've got to go.. thanks again. I'll catch you later.. dave
[02:18:23] <paul_c> Try a bit earlier in the day please
[02:18:32] <daveland> sure ..bye
[02:32:08] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Found a couple more spots where kernel module extensions were tripping configure up.
[04:47:45] <Jymmm> Evening Folks!
[05:18:30] <Jymmm> Jymmm is now known as Red70sShow
[05:18:30] <Red70sShow> Red70sShow is now known as Jymmm
[07:51:46] <anonimasu> hello
[08:01:48] <Jymmm> hola
[10:52:29] <robin_sz> good morning young rabbits
[10:53:41] <anonimasu> good morning older rabbit
[10:53:42] <anonimasu> :
[10:53:43] <anonimasu> :)
[10:55:36] <robin_sz> heh
[13:03:57] <les> morning
[13:04:06] <les> (for me)
[13:04:42] <les> hmm sunny and 25c today...hard to work
[13:05:05] <les> could not run the cnc due to thunderstorms yesterday
[13:05:28] <les> early spring is starting here
[14:27:52] <robin_sz> hello ...
[14:28:18] <robin_sz> right .. so who understands this FPGA nonsense ...??
[14:28:25] <anonimasu> hehe
[14:28:37] <anonimasu> les: why not?
[14:28:40] <robin_sz> what exactly do you connect unwanted outputs to to stop the compiler complaining
[14:28:52] <anonimasu> null/void perhaps?
[14:29:04] <robin_sz> I get lots of "XLXI_8 has no load" warnings
[14:29:32] <robin_sz> I tried connecting pullups, pull downs, keepers .. all end in tears
[14:29:36] <anonimasu> do you have to worry about warnings?
[14:29:44] <robin_sz> well .. dunno
[14:30:00] <anonimasu> if it's not errors.. it's not like in C where all warnings are to be treated like errors..
[14:30:03] <robin_sz> I like to see little green ticks instead of little yellow exclamation marks :)
[14:30:10] <anonimasu> #pragma ;)
[14:30:16] <robin_sz> wow, snowing now
[14:30:35] <robin_sz> BIG snow
[14:30:59] <anonimasu> :)
[14:31:11] <anonimasu> isnt there anything about that on the page?
[14:33:53] <robin_sz> nah, the documentation is a bit either too little or too much
[14:34:00] <robin_sz> I tink I need an idiots guide :)
[14:35:23] <anonimasu> :)
[14:35:31] <anonimasu> I need one for what I am coding now..
[14:35:47] <paul_c> Ahh... robin_sz - Words on wiki please.
[14:36:17] <paul_c> logged in, but all the pages are shown as read only.
[14:36:32] <paul_c> I can't edit or add...
[14:37:00] <jepler> paul_c: I think there's a link at the FrontPage that tells you what you have to do before you can edit a page
[14:37:34] <jepler> """If you want to add information to this page or add a new page, follow some BasicSteps."""
[14:37:38] <jepler> http://www.redpoint.org.uk/cgi-bin/emcinfo.pl?BasicSteps
[14:38:11] <paul_c> been there..
[14:38:30] <paul_c> Doh... admin passwd.
[14:38:51] <robin_sz> paul_c: hmm?
[14:39:04] <robin_sz> ahh, solved it then :)
[14:39:54] <robin_sz> see step away from the keyboard for a moment and I miss it all :)
[14:44:07] <anonimasu> hehe
[14:48:29] <robin_sz> the other eror I get rleates to using combinational logic to drive a clock line
[14:49:01] <robin_sz> "please use the CLOCK_SIGNAL constaint" ...
[14:49:21] <robin_sz> now, if I knew how to apply a contraint ;)
[15:00:33] <robin_sz> ah ha ...
[15:18:30] <robin_sz> hmmm ... more confusion
[15:25:56] <robin_sz> im using a address decoder to drive the CE inputs of some latches, to latch incoming data ...
[15:26:43] <robin_sz> yet it complains about the signal being combinational logic rather than gated clock hmmm
[15:36:45] <websys> robin - have a chance to play with the software?
[15:42:44] <paul_c> websys: I see you've updated the package....
[15:48:13] <websys> Sorry - I should have notified you
[15:49:48] <websys> Changes were mostly for RedHat, Mandrake, Novell, Suse and Slackware distros
[15:53:32] <anonimasu> * anonimasu yawns
[15:54:21] <paul_c> But I see you fixed the permissions on the demo scripts - That will help...
[17:58:26] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/ (Makefile emc/drivers/Makefile): Started work on a driver for the Sensoray 526 PC104 card. Also added some makefile magic so that the kernel modules can be selectively compiled - In time, a config param can be used to select the modules..
[17:58:37] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/emc/drivers/sensoray/ (Makefile ext526mot.c sensoray526.c sensoray526.h): Started work on a driver for the Sensoray 526 PC104 card. Also added some makefile magic so that the kernel modules can be selectively compiled - In time, a config param can be used to select the modules..
[18:02:02] <paul_c> Evening Jymmm
[18:02:12] <Jymmm> howdy paul
[18:07:45] <Jymmm> is there some place I can post a graphic?
[18:09:20] <paul_c> what kind of graphic ?
[18:09:39] <Jymmm> pinout I want you guys to see
[18:10:13] <Jymmm> ah, I think I can past this as text.
[18:10:17] <Jymmm> paste
[18:11:27] <paul_c> you could try dcc..
[18:13:44] <Jymmm> almost have it as text, reformating now
[18:14:50] <paul_c> * paul_c has to disappear for food.
[18:21:38] <Jymmm> Oh No Mr Paul! lol
[18:39:01] <Jymmm> Jymmm is now known as Red70sShow
[18:39:01] <Red70sShow> Red70sShow is now known as Jymmm
[18:57:59] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/emc/drivers/ (6 files in 2 dirs): Move the card model string in to the body of the driver code instead of in the extintf wrapper.
[18:59:39] <paul_c> * paul_c is back
[19:01:02] <Jymmm> wb
[19:03:28] <Jymmm> any pastebin?
[19:04:48] <Jymmm> ok, missing ## are no connection.
[19:05:10] <Jymmm> Does this look like the pinout of a controller board ?
[19:05:11] <Jymmm> http://pastebin.com/245048
[19:06:43] <paul_c> It sure does - However, one pin triggers alarm bells....
[19:07:07] <Jymmm> 58 you mean
[19:08:13] <paul_c> Pin 57 DCV24
[19:08:41] <Jymmm> Yeah, I saw that... kinda weird on a PCI controller card.
[19:08:42] <paul_c> It could indicate the board uses 24V logic levels (or 15V).
[19:09:10] <Jymmm> unless it's used as a pass-thru for convienance
[19:09:52] <Jymmm> I suspect teh +24 comes from the machine to the controller card for some odd reason.
[19:10:01] <paul_c> got a picture of the hardware in question ?
[19:10:23] <Jymmm> no, it took me 4 days just to get the manual
[19:10:47] <paul_c> What's the hardware ??
[19:10:52] <Jymmm> the pinout was the MOST technical thing in it too =(
[19:11:04] <Jymmm> a laser engraver.
[19:11:20] <Jymmm> this is suppose to be the pinout from the machine to the controller card.
[19:12:09] <paul_c> the card plugs in to a PC ?
[19:12:10] <Jymmm> do you think ORGx is home/limit signals ?
[19:12:23] <Jymmm> yeah, it's a PCI card.
[19:12:48] <paul_c> you planning on using it with EMC ?
[19:13:03] <Jymmm> I'm considering it
[19:13:12] <paul_c> Hmmmm.....
[19:13:32] <paul_c> You will need loads more "technical data" then..
[19:13:39] <alex_joni> yo paul_c
[19:13:48] <paul_c> register map of the card, etc...
[19:13:49] <Jymmm> The machine is a china import. and I'd like to create a turn-key solution.
[19:14:08] <Jymmm> paul_c: I think they would be willing to give up the source code.
[19:14:39] <Jymmm> Right now, communications is lacking. I'm not sure if it's language barrier or just flacky person.
[19:14:50] <paul_c> Register maps are a pain in the **** to decipher from src code.
[19:15:10] <paul_c> Hi alex_joni - New BDI uploaded.
[19:15:23] <alex_joni> on sherlines?
[19:15:29] <Jymmm> Since I have pinouts, do yo uthink it would be better to use/create/ a different controller or stick with this one?
[19:15:33] <paul_c> got a url for the machine ?
[19:15:57] <Jymmm> paul_c: no, all info is via email
[19:16:00] <paul_c> alex_joni: www.sherline.com/emc
[19:16:22] <alex_joni> paul_c: finished to install a machine to change dsplabs.utt.ro (still needs a little configuring), once changed there will be around 40 Gigs available
[19:16:28] <alex_joni> so I can mirror all the ISO's
[19:17:25] <alex_joni> what release info for 4.16 ?
[19:17:29] <paul_c> great - That will help releave some of the load and means there is a backup should Sherline go down again.
[19:17:42] <alex_joni> that was my thinking
[19:17:53] <paul_c> Synergy updated - No other change.
[19:18:01] <alex_joni> ok
[19:18:18] <alex_joni> paul_c: wanna see some nice machines?
[19:18:27] <paul_c> sure
[19:18:39] <alex_joni> http://www.robcon.ro/emc/bigmachines/
[19:18:40] <Jymmm> paul_c: If I can get the register maps, what else should I ask for?
[19:20:21] <paul_c> initialisation sequences for the encoder counters, IO ports... Basically all the sort of information someone would need to write a low level driver.
[19:21:12] <Jymmm> paul_c: Ok. Well, do you think it would be "better" to use their board, or to use/create an alternative?
[19:22:46] <paul_c> see http://www.vitalsystem.com/motion/mtref.pdf and any 8255 data sheet for examples.
[19:24:02] <Jymmm> that's kinda nice. is EMC aware of it?
[19:24:25] <paul_c> It really depends on what sort of signals need to be passed to the machine.... If it is standard +/-10V control with encoder feedback, we could use the Vital card..
[19:24:48] <paul_c> EMC has a driver for the Vital card, yes.
[19:24:57] <Jymmm> ah cool.
[19:25:17] <Jymmm> curious... how much $$$ ?
[19:26:02] <paul_c> 'bout the $500 mark as I recall.
[19:26:40] <Jymmm> doh... 'EMC REady' lol I missed that
[19:26:51] <Jymmm> pg 2
[19:27:01] <Jymmm> err pdf pg 4
[19:27:24] <Imperator_> Hi all
[19:27:36] <alex_joni> hey Martin
[19:28:09] <Imperator_> Hi Alex. I have searched in the farnell catalog but they don't have the LS7266 !
[19:28:17] <paul_c> http://www.vitalsystem.com/motion/index.htm for basic details & prices.
[19:28:36] <paul_c> * paul_c has a few LS 7266 chips..
[19:29:12] <Imperator_> * Imperator_ has two samples
[19:30:46] <Imperator_> paul_c: Do you know where I can buy them in small amounts ?? Specialy I want to have the SMD version !
[19:31:40] <Imperator_> minimum order quantity is about 50 peaces at the distributors
[19:32:44] <paul_c> Probably the only place you'd be likely to get small quantities is from US Digital, but their shipping charge is way expensive.
[19:33:26] <paul_c> Alternative suggestion: Ask on list and see if someone could shop @ US Digital on your behalf.
[19:33:29] <alex_joni> Imperator_: I got some LS7166 from farnell (wasn't cheap ... about 16 quid/piece)
[19:33:44] <alex_joni> don't know about LS7266 though :(
[19:33:53] <alex_joni> I thought they should have them too...
[19:33:54] <Imperator_> jep, they have the LS7166 but not the LS7266
[19:34:06] <alex_joni> bummer...
[19:34:17] <alex_joni> paul_c: seems that pc104 board is for you only ;)
[19:34:23] <Imperator_> how many do you need for your PC104 board ??
[19:35:16] <alex_joni> 2 pcs ;)
[19:35:21] <Imperator_> hmm
[19:35:32] <alex_joni> first I need some way to use them ;)
[19:36:00] <alex_joni> right now I ain't got the time to do that
[19:36:24] <Imperator_> to bild a machine ?
[19:36:26] <alex_joni> I just got home about (8:30 PM), was at a customer the whole day :)
[19:36:27] <Imperator_> build
[19:36:37] <Imperator_> ok
[19:36:44] <alex_joni> probably this is how it'll look the next few weeks :((
[19:36:46] <Imperator_> btw. good design
[19:37:02] <paul_c> Imperator_: USD list the LS7266R1-SOIC
[19:38:19] <Imperator_> jep
[19:38:30] <Imperator_> * Imperator_ hangs on the phone
[19:38:35] <alex_joni> paul_c: started the download
[19:38:44] <alex_joni> hope it won't hang
[19:40:31] <paul_c> hey alex_joni - If you are only using an 8-bit interface, you can do away with half the PC104 connector...
[19:41:16] <alex_joni> paul_c: what I am thinking about: wouldn't it be more usefull to make an emc-approved HW card?
[19:41:34] <alex_joni> I don't think I'll have use for the LS7266 card right now...
[19:42:21] <alex_joni> maybe you have some thoughts about the card (IO, AIO, enc-feedback...?)
[19:42:48] <alex_joni> should be something easy & cheap for the users who don't want to buy a STG
[19:43:00] <alex_joni> or anything like that
[19:43:05] <alex_joni> e.g. < 100$
[19:44:43] <anonimasu> iab
[19:44:52] <alex_joni> hey an0n
[19:46:14] <anonimasu> h
[19:46:15] <anonimasu> hi
[19:46:33] <alex_joni> * alex_joni will have a great night...
[19:46:42] <alex_joni> * alex_joni was busy welding today...
[19:46:43] <anonimasu> howcome?
[19:46:49] <paul_c> alex_joni: http://www.freeio.org/library/grits.htm
[19:46:54] <alex_joni> and I'm afraid sh&t happened :(
[19:47:00] <anonimasu> :(
[19:47:01] <anonimasu> ouch
[19:47:16] <anonimasu> you should head back to work to check it out if it's not too far away
[19:47:17] <alex_joni> 2 x 400 Amps was too much for my eyes
[19:47:28] <anonimasu> ah
[19:47:38] <anonimasu> :/
[19:47:42] <anonimasu> didnt you use a good screen?
[19:48:58] <anonimasu> or didnt it help?
[19:50:17] <anonimasu> I am writing a stupid function for the PLC's at work now..
[19:50:18] <anonimasu> :/
[19:51:09] <alex_joni> paul_c: where do you get that CPLD from? I wouldn't be able to find it...
[19:51:54] <anonimasu> wouldnt a purpose built card be even better? although not cheaper..
[19:54:54] <paul_c> I'm trying to find a link for a "Do anything" card that had an fpga on it...
[19:55:18] <anonimasu> :)
[19:55:56] <alex_joni> an0n: the screen I used was 11, usually I use 14 for this job :(
[19:56:20] <anonimasu> alex_joni: I found somthing strange my stepper isnt missing steps, emc seems to add a offset in the middle of the program causing me to loose my position
[19:56:31] <anonimasu> alex_joni: ouch
[19:57:29] <anonimasu> I'll try updating my emc2 in a bit..
[19:57:49] <SWPadnos> alex_joni: do you run one of the mirrors for BDI?
[19:59:48] <alex_joni> SWPadnos: yes, right now .. no :)
[20:00:04] <alex_joni> I'm just downloading the new BDI, so there isn't anything to download :(
[20:00:25] <alex_joni> an0n: did you use tool compensation?
[20:00:25] <SWPadnos> OK. I'm trying to get a sense of the total amount of bandwidth used on the mirrors
[20:00:41] <alex_joni> I got plenty of bandwidth
[20:00:46] <alex_joni> it's at the local college
[20:00:54] <alex_joni> about 155 MBit in/out
[20:01:00] <SWPadnos> I have the new image (4.16) on my website, but I want to be sure that I don't go over my 7.68GB/month
[20:01:06] <SWPadnos> (transfer limits, I mean)
[20:01:09] <alex_joni> usually up to 60% load
[20:01:13] <alex_joni> right
[20:01:30] <SWPadnos> do you know roughly how many people download monthly?
[20:01:38] <alex_joni> no idea ;)
[20:01:47] <alex_joni> I should add some stats...
[20:01:49] <websys> alex_joni - I did make a doze zip file of 2D Synergy if you want to pick it up
[20:01:54] <SWPadnos> OK - I'll keep asking around :)
[20:02:01] <alex_joni> websys: cool
[20:02:16] <alex_joni> I do want to try it out
[20:02:30] <alex_joni> how big did it grow?
[20:02:37] <alex_joni> errr.. shrink ;)
[20:02:56] <SWPadnos> (oops - I mean 192GB/month :) )
[20:03:02] <websys> ftp.webersys.com/Synergy2D.zip - 43 Mb
[20:03:10] <alex_joni> SWP: sounds more like it ;)
[20:03:20] <SWPadnos> I'd assume that there are fewer than 250 or so downloads per month from each mirror :)
[20:03:27] <SWPadnos> (7.68GB storage)
[20:04:00] <alex_joni> I agree
[20:04:20] <alex_joni> 200/mirror/month is pretty much
[20:04:21] <alex_joni> I'd say 20 ?
[20:04:33] <SWPadnos> that would fit nicely
[20:04:43] <SWPadnos> I'll probably add my location as a mirror
[20:05:35] <alex_joni> nice... sherline is pretty loaded
[20:05:39] <alex_joni> any mirror will relief them
[20:06:24] <SWPadnos> I just (finally) signed up for hosting - $16/month gets 7680MB storage, 192GB/mo transfer, 15 domains, unlimited subdomains, etc.
[20:06:43] <SWPadnos> I should now add text other than "This will eventually be cool" to my sites :)
[20:07:12] <alex_joni> cool
[20:07:23] <alex_joni> lol
[20:07:56] <alex_joni> get your favorite html editor and do it (I use mc usually)
[20:08:24] <SWPadnos> I used notepad for these :)
[20:08:28] <SWPadnos> (then Mozilla)
[20:08:41] <SWPadnos> I should get my (graphic designer) wife involved
[20:08:52] <alex_joni> that helps ;)
[20:09:12] <alex_joni> if you're a doze user.. you'll find 1st Page 200 interesting
[20:09:16] <alex_joni> 2000
[20:09:23] <alex_joni> I use it pretty much
[20:09:24] <SWPadnos> I'm breaking the habit :)
[20:09:45] <SWPadnos> I'd be strictly Linux if the development tools would work properly (and have interchangeable data)
[20:09:47] <alex_joni> that's nice too ;)
[20:10:27] <alex_joni> right...
[20:10:53] <alex_joni> I'm more the office man (at work) so I need (because of my customers) word&excel
[20:11:07] <SWPadnos> yeah - I know the situation.
[20:11:11] <alex_joni> tried a few versions of OpenOffice... not very there yet
[20:11:24] <SWPadnos> OpenOffice is getting much better these days, but you're right - not quite there yet.
[20:11:25] <alex_joni> works.. kinda.. on a fast machine (lots of mem)
[20:11:35] <alex_joni> still pretty away...
[20:12:00] <alex_joni> but then.. I have about 20 Gigs of tar.gz's packed with word, excel, ppt, etc.
[20:12:09] <alex_joni> don't wanna think about converting those
[20:12:26] <alex_joni> ahh.. and adjusting after an automatic conversion
[20:12:35] <SWPadnos> well - you can load most any Office files with OOO (1.1.4, I think)
[20:12:50] <SWPadnos> 2.0 should be a nice upgrade
[20:14:32] <alex_joni> load is one thing
[20:14:38] <alex_joni> actually use them is another
[20:14:49] <SWPadnos> Well - you have a point.
[20:15:00] <alex_joni> what I have seen so far, there are still minor problems with headers, images, tables, etc
[20:15:13] <SWPadnos> I've been able to transfer in both directions, but the types of documents I use are not macro-laden, etc.
[20:15:18] <alex_joni> minor.. but I won't have time to fix those on every document
[20:15:22] <alex_joni> no macro here too
[20:15:29] <SWPadnos> header / footer things got a lot better in 1.1.4 (vs. 1.1.2)
[20:15:36] <SWPadnos> tbles and images as well.
[20:15:41] <alex_joni> I might try it again some day ;)
[20:16:03] <alex_joni> right now I got 10 M$Office licences :(
[20:16:09] <alex_joni> that's a lot of $$$
[20:16:12] <SWPadnos> I think it's better than different versions of Word, but one single version of word works much with itself much better than anything else :)
[20:16:31] <alex_joni> right
[20:16:33] <Jymmm> alex_joni: I'll buy em from your for $0.99 USD each.
[20:16:47] <alex_joni> Jymmm: don't think you would pay 0.99 for them
[20:16:55] <alex_joni> hint: they are in romanian ;)
[20:17:03] <Jymmm> alex_joni: Did I say USD, sorry I meant pesos
[20:17:41] <SWPadnos> i Lire, that's my final offer :)
[20:17:44] <SWPadnos> (1)
[20:18:05] <Jymmm> alex_joni: Ok, you can pay ME $0.99 each and I'll take em off your hands
[20:18:15] <alex_joni> lol
[20:18:38] <alex_joni> * alex_joni shall give it a thought
[20:19:01] <Jymmm> you guys were talking about pc104 boards earlier... how do they work in respect to I/O and things like HDD's etc?
[20:19:15] <alex_joni> PC104 = ISA
[20:19:19] <SWPadnos> you need PC/104 I/O cards
[20:19:25] <alex_joni> only different board layout and connectors
[20:19:35] <SWPadnos> PC/104+ = PC/AT, or is it PCI???
[20:19:48] <alex_joni> usually they are used on SBC's (Single Board Computers)
[20:19:51] <Jymmm> so is it one hdd per card?
[20:19:56] <alex_joni> and they can be stacked
[20:20:01] <SWPadnos> no - it's a standard chipset, usually
[20:20:13] <alex_joni> PC104+=PCI
[20:20:17] <alex_joni> Jymmm: nothing to do with hdd
[20:20:20] <SWPadnos> you plug in a cable, and you can have the same two devices you would plug into a normal IDE connector
[20:20:31] <Jymmm> ok, so what does the backplane provide other than power?
[20:20:48] <alex_joni> you might have an hdd-controller on a pc104, but more likely a network card, a graphics card, or a IO-card
[20:22:00] <Jymmm> * Jymmm is confused.... isn't pc104(+) a SBC just sharing I/O thru a backplane?
[20:22:23] <alex_joni> SWPadnos: what are you talking about?
[20:23:42] <SWPadnos> what do you mean?
[20:24:10] <alex_joni> Jymmm: pc104 is actually ISA (power+ISA signals)
[20:24:11] <SWPadnos> the "no" wasn't intended for your statement, it was in response to "one hdd per card"
[20:24:37] <SWPadnos> It's also a physical spec (4.5" square, or something like that)
[20:24:53] <alex_joni> Jymmm: pc104+ is actually PCI (power+PCI signals)
[20:24:53] <alex_joni> SWPadnos: what hdds are you talking about?
[20:25:16] <SWPadnos> Many PC/104 embedded PC's have IDE connectors (or some provision for getting one)
[20:25:29] <SWPadnos> Pluse VGA, serial, parallel, etc.
[20:25:44] <SWPadnos> Those have the same IDE connector you'd find on a standard MB
[20:25:47] <alex_joni> SWP: right... but I still don't see what pc104 has to do with hdds ;)
[20:25:58] <anonimasu> alex_joni: no
[20:26:09] <SWPadnos> Jymmm was asking if you could plug a hard drive into a PC/104 computer (I think)
[20:26:17] <anonimasu> alex_joni: it just started doing it in the middle of a program..
[20:26:52] <anonimasu> alex_joni: it was at -13...
[20:26:56] <Jymmm> ok, is there a PC104 for dummies somewhere?
[20:27:14] <SWPadnos> http://www.pc-104.org
[20:27:32] <anonimasu> alex_joni: it thought 0 was at -13
[20:27:35] <alex_joni> you can't plug an hdd to an isa connector...
[20:27:54] <Jymmm> SWPadnos: I dont think so =)
[20:28:21] <SWPadnos> no, but PC/104 isn't just the bus description, it's the full spec for the electrical connections (ISA signals on a DIL header), physical size, etc.
[20:28:42] <SWPadnos> If you have a computer module with an IDE connector, you can plug a HDD into a PC/104 card.
[20:29:19] <SWPadnos> (it's like saying "can I plug a HDD into a PCI computer - probably, but you don't plug it into a PCI slot)
[20:29:42] <SWPadnos> Jymmm: try the FAQ (though it's not quite for dumies :) )
[20:31:58] <Jymmm> so BASICALLY PC104 is just a different form factor alternative to AT/ATX ?
[20:32:22] <SWPadnos> kind of, yes
[20:32:49] <SWPadnos> There are environmental issues that PC manufacturers don't care about, that industrial board designers do care about.
[20:33:05] <Jymmm> Could I put 4 cards in a sngle box sharing a single video and kybd as example?
[20:33:17] <SWPadnos> Not really meant for that
[20:33:40] <SWPadnos> There are cases that are meant to hold a stack of cards
[20:33:52] <SWPadnos> I don't think the spec is meant for multiple CPU cards though
[20:34:01] <SWPadnos> (in a single stack)
[20:34:01] <Jymmm> oh
[20:34:27] <SWPadnos> check out http://www.ampro.com - they have a large selection of embedded cards
[20:50:07] <anonimasu> * anonimasu yawns
[20:50:36] <Imperator_> paul_c: http://www.fpga4fun.com/
[20:51:47] <Imperator_> alex_joni: your PC104 board is ecactly what I want to do on a ISA Board, but with a adidional 4x16bit DAC
[20:52:21] <Imperator_> and I have planned to use a CPLD for IO, but maybe the 8055 are also not that bad
[20:52:35] <Imperator_> 8255
[20:54:00] <paul_c> Put the counters & IO in a single fpga, and there would be plenty of space for a D/A converter
[20:54:47] <Imperator_> jep, but I have no skills in FPGA programming
[20:55:55] <anonimasu> I am test running another program to see if emc does the same as last time..
[20:59:30] <Jymmm> has anyone done any robotic part's pickers sorta thing?
[21:00:47] <paul_c> no, but I did find some in a surplus store a little north of you.
[21:01:02] <Jymmm> paul_c: Yeah? Where by chance?
[21:01:21] <paul_c> Gizmos in Beaverton, OR.
[21:01:33] <Jymmm> ah, a LOT north of me =)
[21:03:22] <Jymmm> I'm trying to figure out how to "pick up" flat materials (12" x 12" max) thickness ranging from 1/8" to 1/2" in wood or plastic
[21:04:00] <anonimasu> vaccum..
[21:04:23] <anonimasu> i dont think there's any better way :)
[21:05:23] <SWPadnos> I'm quite interested in the robotics thing as well.
[21:05:43] <SWPadnos> I may suggest adding come independent axis moves to EMC (possibly at fest)
[21:05:48] <SWPadnos> some
[21:06:31] <Jymmm> anonimasu: that should work, but it's the accurate placment of the piece that bothers me.
[21:06:48] <Jymmm> kinda like those claw vending machines with the stuffed animals
[21:06:58] <Jymmm> less the claw =)
[21:08:00] <anonimasu> yeah but that depends on how you build your machine..
[21:08:11] <anonimasu> you can have a L to align the pices with..
[21:12:45] <anonimasu> if you have your piece in place before you pick it up there's no reason for it to move
[21:46:40] <Jymmm> It would be stacks of raw materials being placed on the table, then routed, then removed
[21:47:32] <Jymmm> Think coffee vending machine.... you load up the stack of empty cups, drop one down, fill it with coffee, then let the person grab the cup.
[21:48:36] <Jymmm> or think of a cd bruning machien that can be loaded with 500 blanks.
[21:48:50] <Jymmm> or think of a cd burning machine that can be loaded with 500 blanks.
[21:49:18] <SWPadnos> I prefer bruning machines :)
[21:49:27] <Jymmm> shush you =)
[21:49:38] <SWPadnos> (machiens)
[21:50:10] <SWPadnos> I shouldn't talk (type) - I've been Mr Typo the past few days.
[21:50:20] <Jymmm> no biggy =)
[21:52:06] <SWPadnos> Vacuum (or magnets, depending) can work - you just need to be sure you're properly aligned first.
[21:52:28] <SWPadnos> The other possibilities are dependent on your "blanks"
[21:52:52] <SWPadnos> If there are holes, you can make a jig with pins to align it properly.
[21:55:21] <Jymmm> no holes
[21:55:35] <SWPadnos> can you make some :)
[21:55:48] <Jymmm> not until AFTER it's been placed =)
[21:55:56] <SWPadnos> I see
[21:56:47] <Jymmm> think vending machine
[21:59:12] <SWPadnos> who cares if there's a hole in the candy bar? (or coffee cup) :)
[22:03:54] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Add an explicit test for CXX and abort if nothing found.
[22:04:07] <paul_c> That should take care of SWPadnos' comments about g++ not being found.
[22:04:36] <paul_c> configure tested for it, but didn't abort - It does now !
[22:05:44] <SWPadnos> cool.
[22:05:58] <SWPadnos> Of course, now that I tried logging as non-root, I can't run EMC :)
[22:06:10] <paul_c> didya check the wiki pages ?
[22:06:18] <SWPadnos> no - not yet
[22:06:24] <SWPadnos> * SWPadnos goes to check the wiki pages
[22:07:44] <SWPadnos> looks like a few CRs or && / ; are missing
[22:08:01] <paul_c> * paul_c quickly updates something before SWPadnos sees it.
[22:08:22] <SWPadnos> * SWPadnos isn't looking :)
[22:10:53] <paul_c> do a refresh.
[22:11:08] <SWPadnos> much better
[22:12:08] <SWPadnos> That looks like the series I had to do
[22:12:30] <SWPadnos> What is the process for installing the newly compiled version as "the" emc on the system
[22:12:38] <SWPadnos> (in /usr/local/emc)
[22:18:04] <paul_c> did you do "make modules_install" ?
[22:20:59] <CIA-4> 03paul_c 07bdi-4 * 10emc2/src/ (configure configure.in): Added a test for sudo and print a warning if it isn't found.
[22:22:27] <paul_c> Or do you mean via the build instructions ?
[22:23:26] <SWPadnos> I did a modules_install
[22:23:45] <SWPadnos> I may have had a problem with the USC not being powered on
[22:24:23] <paul_c> If the USC isn't detected, the kernel module won't load.
[22:24:40] <SWPadnos> right - I"m trying to get the GSI to work, so things are moving around a bit.
[22:24:49] <SWPadnos> I might actually move a motor today!
[22:24:57] <paul_c> dmesg is your freind
[22:25:07] <SWPadnos> yes, it is :)
[22:26:18] <paul_c> if/when you get a little further with it, I'll show you how to use the proc interface to print loads of diagnostic info.
[22:29:13] <SWPadnos> Cool - I hadn't checked for /proc entries
[22:29:27] <paul_c> /proc/emc
[22:30:17] <SWPadnos> debug and status - great
[22:30:37] <SWPadnos> I see the heartbeat going up and up - that's good
[22:30:57] <paul_c> and raw data from the encoders
[22:31:14] <SWPadnos> well - that's the problem I'm trying to rectify right now.
[22:31:16] <paul_c> and axis enable/disable status
[22:31:45] <SWPadnos> I have the Gecko Servo interface, and it's supposed to provide a fault manager and encoder power supply
[22:31:54] <SWPadnos> but I don't seem to get any power to the encoder.
[22:33:36] <paul_c> G3XX ?
[22:34:59] <SWPadnos> yep - G320
[22:35:23] <SWPadnos> I haven't hooked the gecko up yet - I'm still working on the encoder interface
[22:35:39] <paul_c> Is there a +5V terminal for the encoder ?
[22:35:52] <SWPadnos> On which board?
[22:35:59] <paul_c> G320
[22:36:46] <SWPadnos> yes. I'm using the Gecko Servo Interface though, so things get hooked up a little differently
[22:36:58] <SWPadnos> http://www.pico-systems.com/gecko.html
[22:37:20] <SWPadnos> I see now - I'm going in the wrong direction :)
[22:38:07] <SWPadnos> the wiring for this thing is a little weird - I'll have it in a minute
[22:38:14] <SWPadnos> * SWPadnos goes to get wire cutters
[22:43:12] <SWPadnos> On another note: the run script(s) may need to be changed for non-root use.
[22:43:36] <SWPadnos> the script complains of not being able to create a backup .ini file, or the .var file
[22:44:55] <paul_c> sudo chmod +x /usr/local/emc
[22:46:14] <SWPadnos> OK - then the BDI default install may need to be changed for non-root EMC use :)
[22:48:08] <paul_c> There are a couple of small tweaks that need to be made - At present, the icons use sudo to execute generic.run.
[22:49:58] <SWPadnos> I'm seeing the errors when I do ./generic.run in the /usr/local/emc dir
[22:50:31] <SWPadnos> works OK when I do sudo ./generic.run
[23:16:06] <A-L-P-H-A> SWPadnos, hey, got an avr design question. I've made a two stepper motors step/dir driver (166 bytes :D ), I'm wondering during a pulse, should I disable interrupts... but I'm think it's only going to be like 30 cycles from the trigger of the interrupt to completeion of the phase change.
[23:16:31] <A-L-P-H-A> should I disable interrupts while in the middle of a phase change...
[23:21:35] <SWPadnos> depends on what a phase change is
[23:21:51] <SWPadnos> if you just use sbi/cbi instructions, then the change is atomic
[23:22:14] <SWPadnos> if youneed to change both axes simultaneously, then you may need to think about cli/sei
[23:22:50] <SWPadnos> sorry - are you outputting phases or step/dir?
[23:27:02] <A-L-P-H-A> actually, bad... as then the other motor couldn't increment phase changes.
[23:27:13] <A-L-P-H-A> I'm outputting phase changes... input is step/dir.
[23:27:26] <SWPadnos> OK.
[23:27:46] <SWPadnos> Use a table of phase outputs and LPM
[23:28:01] <A-L-P-H-A> SWPadnos, I'll show you what I wrote already
[23:28:15] <SWPadnos> OK - feel free to email it to me
[23:28:28] <A-L-P-H-A> http://www.pastebin.com/245185
[23:29:38] <A-L-P-H-A> I'm thinking as long as the pulses are long enough, I shouldn't really have that much of a problem.
[23:31:32] <SWPadnos> (funny - 166 bytes is slightly larget than the interrupt table on a Mega162 :) )
[23:31:38] <SWPadnos> smaller, I mean
[23:31:48] <SWPadnos> Isn't an eseg in eeprom?
[23:31:55] <A-L-P-H-A> yeah.
[23:32:04] <A-L-P-H-A> I could have put it in cseg, or eseg.
[23:32:06] <A-L-P-H-A> no real diff.
[23:32:11] <A-L-P-H-A> even dseg.
[23:32:12] <SWPadnos> so the phases are in EEPROM, and therefore not accessible with LPM
[23:32:30] <A-L-P-H-A> hmm... they seem to be working in the simulator. :(
[23:32:34] <SWPadnos> dseg wouldn't work, you'd have to initialize it yourself
[23:32:48] <SWPadnos> simulator == crap (for some stuff)
[23:33:00] <A-L-P-H-A> I'll just leave them in cseg.
[23:33:08] <SWPadnos> good plan :)
[23:33:39] <SWPadnos> your Modulus_Phase routine could be rewritten as andi A, $07
[23:34:11] <SWPadnos> (ie, don't use a subroutine)
[23:34:54] <A-L-P-H-A> I don't understand.
[23:35:05] <A-L-P-H-A> how does andi help me in this situation.
[23:35:22] <SWPadnos> an AND instruction can be used as a modulo instruction when the base is a power of 2
[23:35:22] <A-L-P-H-A> A representing the position in the array.
[23:35:53] <SWPadnos> if you and a value with 7, then it will be clipped to the range 0-7
[23:36:10] <A-L-P-H-A> oh!
[23:36:20] <SWPadnos> (lights just came on :) )
[23:37:05] <SWPadnos> this only works with 2^n-1 numbers (1,3,7,15,31,63,127,255 (255 is useless though))
[23:37:06] <A-L-P-H-A> So what happens when ldi a, $08; ANDI A, $07; A = $00?
[23:37:12] <SWPadnos> yes
[23:37:26] <A-L-P-H-A> So what happens when ldi a, $03; ANDI A, $07; A = $03?
[23:37:28] <A-L-P-H-A> no.
[23:37:39] <SWPadnos> or if a=0, you DEC A, then ANDI A, $07, you get 7
[23:37:51] <SWPadnos> yes, if A=3 and you ANDI A, 7, you get 3
[23:39:04] <SWPadnos> do you want me to chop up the code on pastebin.com?
[23:39:08] <A-L-P-H-A> really? how's that work? 0b00000011 and 0b0000
[23:39:10] <A-L-P-H-A> nm
[23:39:16] <A-L-P-H-A> I'm usint windows calculator to varify.
[23:39:17] <A-L-P-H-A> NEAT.
[23:39:29] <SWPadnos> bit operations are wonderful things
[23:40:22] <A-L-P-H-A> Modulus_Phase:
[23:40:22] <A-L-P-H-A> ANDI A, $07; modulus of $07
[23:40:22] <A-L-P-H-A> ret; rjmp Get_Phase
[23:40:34] <A-L-P-H-A> why am I making it a rcall now. :)
[23:40:35] <A-L-P-H-A> it's 1 line.
[23:40:40] <SWPadnos> or just dump the calls, and do an ANDI ...
[23:40:41] <SWPadnos> right
[23:42:30] <SWPadnos> I noticed you have a comment "r26-r31 are taken by the processor"
[23:42:34] <SWPadnos> that's not quite true
[23:43:16] <SWPadnos> on the 2313, only the low bytes of the pointer registers are used (except Z, which can aaddress flash)
[23:43:28] <A-L-P-H-A> 148 bytes! :)
[23:43:38] <SWPadnos> words or bytes?
[23:43:53] <A-L-P-H-A> bytes.
[23:43:59] <SWPadnos> great!
[23:44:09] <SWPadnos> Next thing: the phase code
[23:44:26] <A-L-P-H-A> Segment Begin End Code Data Used Size Use%
[23:44:26] <A-L-P-H-A> ---------------------------------------------------------------
[23:44:26] <A-L-P-H-A> [.cseg] 0x000000 0x000094 140 8 148 2048 7.2%
[23:44:27] <SWPadnos> change the phases array so that the top and bottom nybbles have the same bit pattern
[23:44:47] <SWPadnos> nevermind - swap is easier
[23:44:56] <A-L-P-H-A> heh. :)
[23:45:00] <A-L-P-H-A> swap was so neat to me.
[23:45:20] <SWPadnos> yeah - that's one that a colleague of mine asked "WTF is this good for?"
[23:45:30] <SWPadnos> then it was the first instruction he was glad to have
[23:45:42] <SWPadnos> (doing decimal arithmetic)
[23:46:36] <A-L-P-H-A> 144 used now... removed an unused function. :)
[23:50:55] <A-L-P-H-A> SWPadnos, anything to perhaps enhance this?
[23:53:10] <SWPadnos> sorry - was away at the dorr
[23:53:11] <SWPadnos> door
[23:53:35] <SWPadnos> did you modify the code on that site?
[23:55:39] <SWPadnos> One thing you can do to decrease the size of the Get_Phase routine.
[23:56:07] <SWPadnos> use an ORG statement to put it on a 256-byte (128-word) boundary
[23:56:50] <SWPadnos> then load ZH once, and put the index (A) into ZL (you can probably just rename ZL to A)
[23:57:28] <SWPadnos> also, you can use R0 in bit operations (just not with immediates), so you can directly OR it into the output byte
[23:57:50] <SWPadnos> (so you can then put Get_Phase inline like Modulus)
[23:58:09] <SWPadnos> the rcall / ret takes 6 or 7 clock cycles, so it's a real performance killer
[23:59:02] <SWPadnos> Also, the INT0/INT1 routines:
[23:59:21] <robin_sz> argh .... assembly language ..!!
[23:59:26] <robin_sz> * robin_sz runs off and hides
[23:59:50] <SWPadnos> First, they need to save and restore the status register (the main loop uses breq, etc. you don't want the flags changing in mid-stream)