theorb is now known as theorbtwo
NTU: Nobody knows more than you about EMC2 on Arch. Really, you are the World expert, what you don't know is not known.
this happens on ubuntu live cd too
nothing to do with arch. i thought upgrading rtai would be the fix, in other words, arch
NTU_live: Do you have Ye Olde 8,04(?) LiveCd?
not in front of me no
oem: You still there? The answer is "no" but I am intrigued by the question
I am curious if the problem was there on the old liveCD
im thinking about making a gentoo live cd too
The new LiveCD is very nice on the old Ubuntu, but I think the chaps might have been a but undermined by the new one.
Talking of Gentoo, did I see this here, or elsewhere? http://www.youtube.com/watch?v=SJaMtBKnN-I
i recall mozmck or cradek having the same issue as me on one of their boards. i was given the suggestion to try the latest RTAI code. no luck however.
(dull till 2min)
what language are they speaking?
i wonder if latency-test doesnt work on radeon 4200s.
i can make out english and a second
hmm norwegian probably
snakke om flax!
I think I hear Japanese
(talk about lucky) :)
Yes, and something nordic
It's Antarctica _everyone_ is a tourist
pingvinen är i bååten
except the penguin
He's a Marion Island penguin visiting South Thule Disney
i'd like to visit antarctica some day
Serendipity++ I spent much of today Googling Southern Ocean islands as I am about to sign on to part of a round-the-world yacht race
(I want to do the whole race, anyone care to sponsor me / give me 40k?)
depends on currency
And that, unfortunately is 40k of one of the world's "biggest" currencies. I
I can do 40k Lei
I have 40k Yen too,
i love that photo
im going to try some stuff regarding the kernel command line and see if that fixes it. brb
I could probably manage $40k (with a lot of selling stuff)
it has a distinct remote research outpost-feel to it
(which of course is exactly what it is)
And I, too, have always fancied working in Antarctica
I don't like being too hot.
(As a datapoint the first stage training for the race was a couple of weeks ago. Most folk were in their full base layer, mid layer, foul weather layer. And a hat. I was happy in foul weather bottoms and base layer top, except on the night crossing, where I put on a top layer to keep the spray off.
what kind of boat will you crew?
68' cutter-rigged sloop
[01:15:18] <andypugh> http://www.polaroidsunglasses.co.uk/blog/wp-content/uploads/2009/06/ns-racing_mg_0099-copy-1.jpg
i saw a tv series a while back called three norwegians in a boat, three students bought a smal sail boat together and sailed around the world for a few years
Captain Bligh did 3700 nm (6700km) in a 23' (7m) boat with 19 aboard.
Though not b choice.
19 people on 23' is abit crowded
3700 nanometers isn't very far is it? ;)
Hollywood rather altered the public perception: criminal mutineers led by Marlon Brando or Clarke Gable. Captain Bligh played by Charles Laughton or Trevor Howard
[01:21:55] <DaViruz> http://en.wikipedia.org/wiki/File:The_arrest_of_Bligh_propaganda_cartoon_from_around_1810.jpg
appearantly he liked sleeping under his bed
Anyone who can sail 6700km in an open boat with a compass and a sextant and hit Timor attracts my admiration rather than approbation.
andypugh yeah, Im here.
I've forgotten the question now :-)
I have this http://www.servodynamics.com/Br_Brs.html
and the 5120 + 7i33t
however the controller asks for two wires, one for - and one for +, the 7133t only outputs on a single wire.
it just swings from negative to positive.
Just connect the -wire to 7i33 gnd
oh, thats it?
Pins 9 and 10, at a guess
pcw_home might wake up if mentioned by name, he knows the Mesa cards inside-out
We shall see then aye =D
But skimming the manual, what I said seems right.
Try it, if you have limit switches you won't break anything
i agree. most servo amps have differential input like that
well, the motor is sitting on the desk..
It just jumps all around right now.
You are aware that tuning a servo system is a fun game all of its own?
How is it connected at the moment?
either +.040 when I ask it to do +0.001 or nothing at all
yeah, I used to have this all rigged by printer port drawing on an etch a sketch
Where are the multimeter probes during that measurement?
in the drawer.
OK, so where is that 0.04 seen>
gimme a second im slow to think and type.
oem: you used the etch a sketch for tuning? :)
that's pretty nifty
I really just wanted to see the picture on the screen in reality so I used the etch-a-sketch. Now I have to make this work properly on a machine.
okay yeah... I am clueless andy.
current situation is this, I told the motor to move .001 and it moved about .040
servo on Y axis, and a second servo on X-axis acting as a sweep generator i imagine it would be quite usable for tuning. except you have to shake it after each trace..
it only moves one way.
andypugh, 40k Lei < vechi ?
Hmm. It's 0240 here, and I have not one but two 0830 meetings. Hopefully there are enough folk here to help but I need to log. I think you need to Google PID loops and read the emc2 integrator manual ( http://www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf
) and HAL manuals (http://www.linuxcnc.org/docs/HAL_User_Manual.pdf)
I needed to know how to wire it correctly and I know zero lingo or background any of it really works other than I was able to do this http://www.myspace.com/index.cfm?fuseaction=vids.individual&videoId=54858884
thank you andypugh
You seem to have got the concept of motors and encoder sorted.
Tuning the ID is where the fun starts
just tell me where the "ON" button is.
I repeat "fun"
Well, F1 then F2 in emc2
now it goes CW regardless of which direction I tell it :(
haha I need to just KNOW what to do..
No offence, but your etch-a-sketch looked to be performing fairly poorly for speed and accuracy. You might find entertainment in tuning the PID (and FF1, FF2 FF0 etc) parameters to get that faster and tighter.
DaVirus here's that Etch-a-Sketch http://www.myspace.com/index.cfm?fuseaction=vids.individual&videoId=54858884
That was with an LPT port
Servo or stepper?
Nice. Not many p-port servo systems out there
well, i scrapped that plan, now I have these mesa cards and am farther behind than I was when I was using the LPT
Fun, isn't it?
Im not too foolish when It comes to such work, I just have zero knowledge and just dont "get it"
If you are not learning then you might as well have been created as a rock
Im more like a rolling stone
This looks good http://www.ecircuitcenter.com/circuits/pid1/pid1.htm
Ignore the section "The control system"
crap I dont even know what a polynomial is
It's just a lot of mononomials
qq Not rally
LoL that website means nothing to me lol
a,b,c are constants ,
a + bx + cx^2 + d x^3
Let me try to find a better one
I wonder if listening to PHISH will make this easier..
Imagine you have a bath but have lost the plug.
Well, I feel like before I learn anything about PID, I just want to know how to wire it.
Fortunately the plug hole is unususally small (this is a hypothetical bath)
Your job is to fill the bath to a constant level, and keep it there
creates a polynomial of the form V(6,0) = 0 + 10 ∙ V(3,0) + 2 ∙ V(4,0) + 1 ∙ V(5,0) ,or more generally, VO = k0 + k1∙V1 + k2∙V2 + k3∙V3
so, with the printer port, I made both axis work and two encoders, now that I have these mesa cards, only the encoder side of the system is doing what it is supposed to.
qq, that doesnt make any sense to me man.
oem, wasn;t for you
P-port PWM is "how much" and "which way" as it can't do negative
oem, you go back to school
qq- Shut up ?
andypugh, yes Sir
The Mesa card does negative and positive voltages so its a different control system
how do i make this control system work on the to control the servo drive that I have.
The HAL PID component also does -ve and +ve outputs, so it is likely that your problem is un-connected "direction" pins in the HAL
You probably need a direction from the PID output to the 7i33 driver (though I am not at all sure what that looks like in HAL)
I have just read that last sentence, and it made no sense.
Also the direction might be reversed relative to your lpt setup so you may need to reverse your encoder leads (if the counts go the wrong way)
Probably bets way to start with the Mesa hardware is the EMC sample config, and then you still may need to swap encoder leads or analog inputs on your drive
Phew! pcw arrived.
the 7i33 only has one pin out which does a range of -10v to +10v the servo driver asks for two separate wries one for negative and one for positive.
how would I wire this correctly?
Thats standard, drives usually have differential inputs
IN+ to AOUT in- to GND pin adjacent to AOUT
Yes, so you can either wire 7i33 Gnd to -ve and output to +ve, or switch them to reverse things (but doing that in software is a much better idea)
okay so the 7i33 pin labeled "dr0">command- of servo amp? 7i33 common>common of servo amp?
Right, time to log off (and this time I mean it). If anything I said earlier conflicts with PCW than I am the one to ignore.
Regardless thank you man
What I would do first is start emcs HM2-servo sample config but disconnect your drives from the motor
DR0 the servo +in 7I33 gnd to servo -in
had to stop reading the hal manual...my brain hurts hehe
If the encoders work and you have EMC started you should get -10 to +10 when you rotate the motor by hand
(on the DR0 pin)
pcw_home: thanks for the clarification earlier btw
okay, I now have it wired as DR0>+command and 7i33 gnd> -command
got a NICEE yaskawa quote, only snafu: spindle motor lead time: 12-16 weeks :/
Turning the motor causes a voltage increase on DR0
it does not create a negative voltage
What hal file are you using (should be hm2-servo)
yeah thats the 1
so going th other way with the motor just make the voltage go to 0?
motor stopped voltmeter reads 4v, hand turned CW = 2v, hand moved CCW 2v also.
when you start emc it reads 4V?
it reads 4v even when its off
Well then its busted (or your voltmeter is)
should i kick it?
If you disconnect all wires from the 7I33 except the flat cable from the 5I20, and then restart the computer (dont start emc)
DR0 through DR3 should all read close to 0 V, If not something s really wrong
all LEDS on?
stupid question : my laptop has no parallel port, emc wont start because of missing parallel port ?
and still 0v after emc started
OK thats better So if you connect one encoder and nothing else you shoul dbe able to do the output test again
now, both clockwise and coutnerclockwise on the encoder causes the voltage to jump +4v
hm2-servo-5i20 or some such file right?
Have you editied the HAL file?
however telling it to go + or - with the emc controller does create a negative V on the dr0
negative/postive depending which I click
Does the encoder count correctly both ways?
currently when I tell it to move .001 it will send -v to the terminal. and telling it to move -.001 will output +v. however I need to tune the servo now.
eh, it seems to.
how much v- and V+?
will it go to +- 10V with larger than .001 moves?
I had it moving in .001 increments forward earlier but would jump about .040 if I tried to go backwards
Wait a sec This testing is with motors disconnected right?
k, testing with motor d/c occuring now
okay, w/ motor d/c it reads a constant +4v and causes it to jump down to +2v regardless of direction motor is turned
one quick question, torque mode correct?
you may have to set the following error larger to do these tests
what exact wirea are connected to the 7I33 (other than the 5I20 cable)
encoder abz and +v5 for encoder and dr0, gnd
OK is you stop EMC is the output still 4V?
What does the 5V eocoder power measure?
NOT 4v ;)
this is a rather cheap voltmeter
between 4.8-5 it looks like
What EMC version?
pcw_home, my laptop has no parallel port, that will prevent to start emc ?
Pretty strange, 2.3 should be fine My guess is that either you have a bad 7I33, bad 5I20 or a bad cable
qq not in sim mode ,,,,
Well, I just got the cards in today
You might try updating EMC to the latest, maybe your 2.3,? version (which is pretty old) has some bugs
pcw_home, I just downloaded it off the website, the new version wouldnt show my desktop so I went to the last supported distro
Currently, if I hold the motor REALLY TIGHT I can make it go both forward and backwards, however letting go of it makes it do this rebounding effect and it will oscillate back n forth till its momentum forces a fault
[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
W3 should be up (so I/O are pulled up before the FPGA is configured)
elmo42 is now known as elmo40
skunkwork: great - last night I got the feedback all wired up and working
I have some nice water tight cables and connectors that I'm reusing
now I just have to mount and wire up the servo amp - the table itself is done
any plans for what 4-axis work to do? :)
I am seeing the following error hm2/hm2_7i43.0: firmware hm2/7i43/SVST4_4B.BIT not found I have linked as per instructions in the hal file ln -s /home/emc/emc2-dev/src/hal/drivers/mesa-hostmot2/firmware/ /lib/firmware/hm2. I am using the 2.4 branch.
a gear head :)
Did you download the firmware? its not included with the EMC distribution
(download with the package manager)
I did see a branch with some mention of mesa do I need that one?
yes you need the one with firmware for the 7I43 (if you are running 2.3 or >)
pcw_home: download with the package manager?
Yes, And I dont think you need to touch the example HAL files
I know the 5i20 sample configs worked great.
bbl dog needs walkies
pcw_home: did you see - http://www.youtube.com/watch?v=KplU8hkI0AQ
Sorry I am little confused. What package manager do you mean?
skunkwork: what collet does that thing use? looks HUGE!
it is thier own.
it is about 2.25" strait shank
oh. do you have many of them? I like the full 3-axis helix :)
we have a few hundred or more
I want to hack together a mini-horizontal. I work on them every day, would be nice to have one at home.
weird collet, though. very long taper. kinda like a morse.
elmo40: neat - and thanks
I have drawings to make a casting of the Z column. now to build the foundry ;)
Als: I can not see anything relating to 7i43 BTW iam using Ubuntu 6.06.2 LTS : is this what I need? git origin/mesa-configtools?
6.06??? wow, old school
not interested in using 10.04LTS?
yep, have not got around to upgrading it. I use git to download branches.
You know what I should upgrade!
[15:03:35] <elmo40> http://www.linuxcnc.org/lucid/ubuntu-10.04-linuxcnc1-i386.iso
elmo40: Thanks for the link.
Just tar'ing up all my old stuff as we speak!
i'll try again... anyone using gladevcp?
I am interested in seeing how it embeds in touchy, though.
i have some gladevcp improvements but without external review :(
cmorley acked on merge but i need at least somebody to discus them...
I'd like to help but I have not tried gladevcp yet
I trust your judgement if you want me to merge them for you
i'm working on gladevcp cleanup so using it will be more simple
for example it's not needed to make symlinks for .py files etc
I hadn't heard about that - does sound weird
if I wanted to try it, do I just use the instructions on that wiki page?
to use gladevcp in a run in place environment one must add system links to these files.
in usr/lib/glade3/modules add links for hal_pythonplugin.py hal_widgets.py and led.py
in usr/share/glade3/catalogs add link for hal_python.xml
in usr/share/glade3/pixmaps/hicolor/22x22/actions add link for widget_hal_pythonplugin-hal_led.png
but it seem that *.py links are not needed if python files are somewhere in search path
yes that can't possibly be the right way to do it
[15:53:29] <psha> http://grid.pp.ru/cgit/psha/emc2.git/log/?h=gladevcp-modules
i've fixed catalog file and added __init__.py into gladevcp
so now it may be installed with other python modules and it'll work
let me try to run it
my server at psha.org.ru has corrupted memory module so i don't trust it until it's changed :)
so using one from work
by the way gladevcp is great thing...
it's very easy to create nice hal interfaces with it
[15:59:18] <cradek> http://wiki.linuxcnc.org/uploads/gladevcp_in_axis.png
heh that theme looks completely ridiculous in AXIS
ya,just a little, eh
only ubuntu could pick a default theme that makes it impossible to tell whether buttons are in or out
... which makes touchy unusable
you may override gtk theme by placing .gtkrc file
cradek: now to use gladevcp you need to install only hal_python.xml catalog link
on the linuxcnc cd, moses made the default theme a sane one
led icon is nice but not important to use
what I want to see when running a machine are a few items: the code, the location of machine, amount of travel left to go, simulation visual, speed/feed and overides(speed/feed). If I want anything else I will go to a tab but that is my main viewing requirements.
ok, I made that symlink
(there ought to be a way to add a catalog without root access)
cradek: is share/ directory in emc2 source has layout of real /usr/share?
is lib/python in your python search path?
psha: not sure if that's true for everything in there
psha: not sure - emc-environment doesn't seem to do that
emc-environment does this
oh! that's a much better solution
I don't need the symlink in /usr/share?
at line 60
seem to be
but i've not tested it yet :)
ok I'm adding that to emc-environment
maybe it's better to move hal_plugin.xml to usr/share/glade3/catalogs first?
so with properly installed emc file will be in correct location?
do you mean debian/extras/usr/share/...?
what is glade? visual development tool?
elmo40: google hit 3: http://en.wikipedia.org/wiki/Glade_Interface_Designer
I wonder if I could use it to make Pidgin look better ;)
cradek: is think ./share/... since it's needed not only for debian :)
as axis tcl file is living in ./share/axis/tcl/axis.tcl
on 5i20 outputs, how to make an unused gpio pin to be output?
setp hm2_[HOSTMOT2](BOARD).0.gpio.026.is_output 1
setp hm2_[HOSTMOT2](BOARD).0.gpio.026.is_opendrain 0
net my-out <= hm2_[HOSTMOT2](BOARD).0.gpio.026.out
i ask because awallin & casaFrogs dont in theier test panels
my test panels were/are for the old m5i20 firmware, not for hostmot2
yes np problem, just wondering how to do it now
that looks right to me
re psha's new gladevcp, does it resize? ( tkinter didnt play nice )
in touchy - yes :)
i gotta try that, i have a touchscreen coming, thx for all the work you've been doing
hey, i'm only glueing great things created by cradek and cmorley :)
:) of course thx to cradek cmorley jepler et al, if i make it to the fest at Stuarts at least I can buy y'all some beers
MarkusBec is now known as MARUSBEC
good evening. a question about tool change.when call tool cgange m6 t1 the axis go in tool change position the x,y,z simultanely.Can move when have tool change first z axis and after y and again x ?
I always make a G0 G53 G28 Z0 before my tool change
then call M6 T1
elmo40, but don't is correct, i don't can remember very tool change write before another code for only tool change.!
not can specification in some file the axis sequenze the tool change ?
it should be a setting somewhere... if it is I don't know, sorry
I'm new to this, but I read about M programs...
so, maybe you can make a custom M code for tool change
that does what he said... so instead of M6, you use like M66 and it runs a macro of code
[18:17:55] <Tired_2> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?M100-199
M100-M199 that is
it are custom m code
like I said, I'm new
just got first motion last week
MARUSBEC is now known as MARKUSBEC
I have a strange issue... A couple of weeks ago I was playing around with the pluto-p. EMC loaded the firmware and started up axis ok then all of a sudden emc could only load the firmware but crashed out with communication error when attempting EPP. I was not sure if the pluto-p was at fault or the paraport. In the meantime I orded a 7i43 which I have just managed to get working (I think)...
...on the same paraport. I also received a replacement pluto-p. The replacement pluto-p also fails after the firmware has loaded with the same error as the original pluto-p. Does anyone have any ideas why this would be so?
mrsunshine_ is now known as MrSunshine
[19:32:00] <Jymmm> http://cgi.ebay.com/Brand-New-1500w-4ftx-4ft-CNC-Engraver-Router-Cutter-CE-/130436700103?pt=LH_DefaultDomain_0&hash=item1e5ea217c7&x=42&y=7
[19:37:24] <DaViruz> http://vimeo.com/16097849
now if i can only get the stupid spindle to work..
alex_joni: whats happening?
Where does one set define the paraport that the 7i43 uses?
I have an oxford pci para card.
on the loadrt hm2_7i43 command line
Do I need to add this to hal file? loadrt hm2_7i43 [ioaddr=N] [ioaddr_hi=N] [epp_wide=N] [config="str[,str...]"] [debug_epp=N]
see the hm2_7i43 manpage for help: http://linuxcnc.org/docs/2.4/html/man/man9/hm2_7i43.9.html
There are three loadrt lines in the default hal file do I just add this line after loadrt trivkins?
if you have an existing 7i43 config, it will already have this loadrt; you should find it and add the ioaddr= argument that you need
Probably after loadrt motmod
loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG)
it's slightly hidden with all these substitutions from the ini file, but this is the one to modify
Oh OK... so I should add the ioaddr... after (DRIVER) before config= ?
yep, I think that's the ticket
Personally I skip all the substitutions from the INI file and edit the HAL file directly
Great thanks Chaps... Just got try and work out which port numbers to use. lspci -v comes back with a bunch!
I/O ports at d480 [size=8]
I/O ports at d400 [size=8]
I/O ports at d080 [size=32]
I predict you'll get it in 3 or fewer tries
I am no expert, but I reckon 400, with the 480 being the extra EPP address
The driver will fail to load if it doesn't find a 7i43 to talk to
I thought they were 0x400 apart
are there others or just those three?
d080 then :-)
yep I bet so, d080 + d480
Sorry for my ignorance but what is the low and hi part of the address?
You don't need to worry about it.
Just those three are showing
due to historical silliness, EPP ports have two addresses 0x400 apart
Oh I see.
beware if this is a netmos-based card, it won't work in EPP mode - that chip is defective
He said it was Oxford
sadly they are the most popular pci parports
oh ok, good
It's a pity about the mos cards! There easy to get and much cheaper!
The card I purchased = OX16PCI954
Which I beleive is the one that is recommended.
great, good job reading before buying
Do the Moschip cards work?
Lot's of info in the news thread I was reading. SUN cards are good to go as long as the para cable is less than two foot long. ;-)
andypugh: not according to man hm2_7i43
andypugh: netmos = moschip apparently
Can I ignore the ioaddr_hi... directive?
In that case I have a breakout cable for the D510MO p-port and an insubstantial paperweight upstairs. Not a problem as I have mesa cards
paragon-wkshop: yes it will default to the right behavior if the port have the standard spacing
Oh I jusr read 0 = + 0x400 ;-)
OK going with this ... loadrt [HOSTMOT2](DRIVER) ioaddr=0x400 config=[HOSTMOT2](CONFIG)
nope, you probably want ioaddr=0xd080
Oh OK thanks
System crashed EMC mentioned -1 device resource busy!
what do you mean crashed?
It hung frozen mouse etc
It logged itself out of IRC too
EMC was cleaning up and it just froze.
rebooting it now
OK I started it again and the following message : -1 Device or resource busy (the system did not freeze)
better errors will be found in dmesg
It doesn't like 0x80 ... PARPORT: ERROR: request_region(0x80) failed
did you correctly type ioaddr=0xd080
Should there be a d in there?
Arrr missed the d
The manual does not show the d does it?
your lspci output shows 0xd080
an example in the manual is only an example
cradek: it does indeed :-)
I think you ought to be able to refer to the p-ports by number now, rather than addr?
andypugh: I think that's true too - you can use either method.
OK starting emc ... Hopefully I still be here ;-)
Ah, so 0xd means "Decimal"?
0x means hex
d means d
I'm still here but got the following ... PARPORT: ERROR: request_region(0xd480) failed ... Not sure were the 4 came from it's not in the hal file ioaddr=0xd080?
(d is a number digit in hex)
It's been a long day. But I still feel I ought to shoot myself.
That's the EPP-high address
do it with a salad shooter then or a jerky cannon
Oddly enough, I do actually know that D is a hex digit, writing this driver rather depends on knowing that sort of thing.
I wonder how you set the card to EPP mode?
I'm surprised that region doesn't work, since lspci shows it
does emc use EPP for steppers?
I know you can turn on EPP in the bios, but I guess there is a way to turn it on via the linux os even if its not on in the bios?
Chaps I just found some other stuff relating to the oxford card but it mentions serial controller etc. I have posted the output of the lspci to http://pastebin.ca/1970369
k, I dont know much about epp
Tired_2: Only for communicating with external hardware
just that our cnc plasma uses it
I imagine that the BIOS only enables it on the onboard parallel port, not the PCI ones
our "plasmacam" sucks.
always gets comm error
paragon-wkshop: you have 5 possible combinations of ports if you manually define the epp_hi addr too (it has to be higher than the base one, so you can exclude some of the combinations)
comm errors hint at actual communications, so yes you would be using epp
andypugh: you've confused me :-)
You could try manually defining ioaddr_hi
andypugh: What numbers would I pick?
There are 5 combinations...
How did you arive at that number Andy?
yea, crappy windows software too
probably doesnt help
we are hopefully going to convert it to emc2 here soon
we being me
paragon-wkshop: d080 & d400, d080 & d480, d400 & d480. Three. There are three combinations :-)
Right I see...
default is d400 right?
for the hi address that is
default is 0x380 I think
does the kernel detect this card as a parport when it boots?
cradek: Not sure
It's loaded the parport_pc module automaticaly
andypugh: Thats the default ioaddr but if am reading the doc correctly the ioaddr_hi is + 400 by default
I think it is low + 0x400
I think so too
so ive tried d080 & d400
starting emc again with ioaddr=0xd080 ioaddr_hi=0xd480
0xd080 is 32 bits wide, so that might be an epp-wide address, meaning that standard epp is 0xd400 and 0xd480
You could try ioaddr=0xd080 epp_wide=1
andypugh: thats what I tried originally as per cradek instructions.
epp_wide [default: 1]
try epp_wide=0 then
There is a more comfortable way to do this. You could ssh to your workshop and mess about with configs at the command line with halrun
ok ill try that. I just tried ioaddr=0xd080 ioaddr_hi=0xd480 and got the same message PARPORT: ERROR: request_region(0xd480) failed
ssh ; halrun ; loadrt hostmot2 ; loadrt hm2_7i43 ioaddr=XXXX config=YYYY
andypugh: I have the computer workshop computer next me plugged into the secon vga source of my warm monitor in my computer den :-)
Ah, in that case carry on
I have a feeling that your working config will end up as 0xd400 and 0xd480 with epp_wide=0
I'm logged on #emc twice because my day to day pc is on the other vga source but it takes a litlle while to keep switching sources... if that makes sense!
andypugh: what is the expanded string for config=[HOSTMOT2](CONFIG) ?
try loadrt hm2_7i43 config="firmware=hm2/7i43/SVST4_4B.BIT num_encoders=2 num_pwmgens=1 num_stepgens=4"
That is copied straight from my config
(Drop the B from the end of the bit file if you have a 200k gate version)
andypugh: I have the 400k... I executed halrun ; loadrt hostmot2 ; loadrt hm2_7i43 ioaddr=0xd080 config="firmware=hm2/7i43/SVST4_4B.BIT num_encoders=2 num_pwmgens=1 num_stepgens=4" and now I have a halcmd: prompt
halcmd: show pin
Owner Type Dir Value Name
It did't load then
You can open another terminal and look at dmesg
And in halcmd you can up-arrow to the last command, change the addresses and try again
I assume you don't have an onboard parallel port then?
I do but I suspect it is faulty.
im not seeing anything with dmesg that stands out as before.
last line of dmesg =
Try working through the combinations of ioport, ioport_hi and epp_wide in halrun until show funct shows something?
3280.363966] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1800219000 hz.
[ 3280.363969] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 3280.364110] RTAI[usi]: enabled.
[ 3280.468921] RTAI[math]: loaded.
ok will do.
Maybe you need halrun -V
Try exiting halrun and re-starting with -V to get more feedback
loadrt: command not found
Yes, it seems that -V exits halcmd immediately. Bother
I do appear to have loadrt in path as the command is not found!
halrun -I -V looks good
loadrt is a halcmd function, if you look you will find you are in bash...
halrun -I -V leaves you in halcmd
yes it does. shall i post the output here ot pastbin?
Is it meaningful?
Not sure it exits... http://pastebin.ca/1970398
It's something odd about the -V option in halcmd. I think you might have to not bother with it. If you look you are still in halcmd: at the end
Incidentally, I wasn't really expecting you to put in the semicolons.
I am not even sure that halcmd sees the loadrt command with it all on one line like that
halrun is a way to run hal commands directly without the complications of loading the rest of emc2
That's what I was thinking, the ; is a shell command delimiter.
I removed the ; and now i am getting <commandline>:0: insmod failed, returned -1
halcmd: loadrt hm2_7i43 ioaddr=0xd400 ioaddr=0xd480 config="firmware=hm2/7i43/SVST4_4B.BIT num_encoders=2 num_pwmgens=1 num_stepgens=4"
hm2_7i43.0: board at (ioaddr=0xD480, ioaddr_hi=0x0000, epp_wide ON) not found!
at end of dmesg.
oopps my fault should be ioaddr_hi=480
ok got PARPORT: ERROR: request_region(0xd480) failed
Only a few more combos to try
And it is ioaddr_hi=0xd480
andypugh: Tried the combo's Could you take a look at http://pastebin.ca/1970399
please. What do you think? the first one is different from the last two!
The first one looks quite good.
Is there a 5V supply to the 7i43?
Im running from usb supplied power.
Try that one with epp_wide=0
Possibly time to rattle the cage of pcw_home. I have forgotten what peculiar circumstance can cause that /DONE not low message.
hm2_7i43.0: board at (ioaddr=0xD080, ioaddr_hi=0xD400, epp_wide OFF) not found!
Same /DONE stuff?
What does the "not ready" led on the card say?
andypugh: the jumpers I have set are .. w1 w2 w3 w6 w7 high w4 w5 low
sorry, "NOT DONE" LED
I have leds on power, done and init green, red and red
w4 and w5 are correct for p-port programming.
Cycle the power on the 7i43 and try again
I suppose you might as well try the other combos with epp_wide off too, as it is just a case of pressing the up-arrow in halcmd.
andypugh: the box restarted when I pulled the power of 7i43. I restarted it but networking failed. I running through another restart
Blimey! That pasebin is already the number 3 google hit for the error code.
That's very odd.
[22:48:10] <andypugh> http://firstname.lastname@example.org/msg10781.html
I just thought of something.
You might need "loadrt probe_parport" before loadrt hostmot2
Very true. I remeber reading that in the hostmot2 man page from memory!
andypugh: could you paste the last pastbin link i posted. I lost the history of the command!
[22:52:19] <andypugh> http://pastebin.ca/1970399
NTU is now known as NTU_brb
Receiving the same message. Nothing was displayed in dmesg when loadrt probe_parport was issued is this correct?
andypugh: should the 7i43 w3=up, pull up resister enabled?
Probably correct, and the pull-ups don't matter at this point
you guys are having way too much fun
I am.... Not sure if andypugh is ;-)
andypugh: But your help is very much appreciated :-)
I have just thought of something I shouldhave thought of ages ago...
go back the shell, and type pncconf
ok I have Conf Wizard up!
Yeah. Perhaps that can find it?
What shall I do with it andypugh ?
I have no idea
I have never used it, but it is a wizard for configuring mesa card machines
im licking the screen of the conf wizard... it has a strange taste!
Arrr Yes IO control ports Messa pci/ paraport card...
I don't know if the pci parport search thing is any help?
I need to invent a sizing machine... tell it the material and final size and toss in a chunk of material... out comes a squared sized block :0
JT-Hardinge: A lathe and a 4-jaw chuck comes close, especially with a facing macro
andypugh: the search is the same as the output from lspci -v
andypugh: I'll have to try that...
* JT-Hardinge thinks about that...
The 4-sided clamping helps to square things up in a way that a milling vice doesn't.
yes, the saw cut edge is the first and second cut and is square to the other 4 sides :)
as they say in England Brilliant!
I need to get some spiders for my 4 jaw chuck then...
when running test it cannot find firmware hm2/7i43/SV4_4B.BIT not found
Where is your firmware?
Have a look in /lib/firmware/hm2
Yes it appears to be there but conf gui is not finding it
* JT-Hardinge changes from machinist hat to chef hat
good night all
Odd. Mayhaps that is the error it comes up with when it can't load the firmware for any reason?
Lots of tooling etc for auction here. I can buy/collect if anything takes anyone's fancy (the stuff in Basildon at least). I have an auction account. http://www.ppauctions.com/online/index.php?a=1005&b=605&c=
IN the config gui it asks for first para port address would that be 0x080
I am not entirely sure
no worries andypugh you have been a great help and I have learnt some more EMC command lines :-)
Are you making any progress?
not really... but Ill keep plugging away at it!
Have you tried every combination with epp_wide off yet?
cant remember now ... trying it...