On Thu, 25 Aug 2011, Viesturs L?cis wrote:

Date: Thu, 25 Aug 2011 21:40:42 +0300
From: "[UTF-8] Viesturs L?cis" <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
    <[email protected]>
To: "Enhanced Machine Controller (EMC)" <[email protected]>
Subject: Re: [Emc-users] D510 EPP problem

2011. gada 25. augusts 21:33 Viesturs L??cis <[email protected]> 
rakst??ja:

Kirk, does this mean some kind of success?

waterjet@waterjet:~$ sudo ./showport 0378 037a e
~~~~~
Base @ 0x378
Extended @ 0x37a
DPR: 4
DSR: 87
DCR: 204
EPPA: 255
EPPD: 255

CFA: 204
CFB: 255
ECR: 255
~~~~~
Setting mode to EPP
ECR: 255
~~~~~
waterjet@waterjet:~$


Dont know Kirks util but extended address should probably be the base address + 0x400 or 0x402 so 0x778 or perhaps 0x77A


Even after this dmesg still shows SPP and EMC with debug_epp=1 shows
this error message:
(debug_epp comes from this page:
http://linuxcnc.org/docs/html/man/man9/hm2_7i43.9.html)

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.5
EMC2 - 2.4.6
Machine configuration directory is '/home/waterjet/emc2/configs/hm2-servo'
Machine configuration file is '7i43-big.ini'
INIFILE=/home/waterjet/emc2/configs/hm2-servo/7i43-big.ini
PARAMETER_FILE=hm2-servo.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=1384
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
insmod: error inserting
'/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_7i43.ko': -1 Invalid
parameters
hm2-servo.hal:46: exit value: 1
hm2-servo.hal:46: insmod failed, returned -1
See the output of 'dmesg' for more information.
1384
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[  188.905349] I-pipe: Domain RTAI registered.
[  188.905364] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[  188.905370] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) .
[  188.905454] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE
(INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[  188.905460] PIPELINE layers:
[  188.905466] f9eefe20 9ac15d93 RTAI 200
[  188.905471] c085cb20 0 Linux 100
[  188.962961] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[  188.963310] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with
RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[  188.963322] RTAI[sched]: hard timer type/freq = APIC/10416768(Hz);
default timing: periodic; linear timed lists.
[  188.963331] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq
= 1666654000 hz.
[  188.963337] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[  188.963476] RTAI[usi]: enabled.
[  189.068232] RTAI[math]: loaded.
[  189.228798] hm2: loading Mesa HostMot2 driver version 0.15
[  189.239146] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[  189.239169] hm2_7i43: wrote control 0x04
[  189.239177] hm2_7i43: read status 0xD6
[  189.239189] hm2_7i43: selected address 0x7F7F
[  189.239197] hm2_7i43: wrote data 0x5A
[  189.239206] hm2_7i43: selected address 0x7F7F
[  189.239214] hm2_7i43: wrote data 0x5A
[  189.239221] hm2_7i43: selected address 0x01
[  189.239229] hm2_7i43: wrote data 0x00
[  189.239238] hm2_7i43: wrote data 0x01
[  189.241227] hm2_7i43: read data 0x00
[  189.241235] hm2_7i43: selected address 0x00
[  189.241243] hm2_7i43: read data 0x00
[  189.241288]  hm2_7i43.0: firmware: requesting hm2/7i43/SVST4_4B.BIT
[  189.269775] hm2/hm2_7i43.0: board has FPGA '3s200tq144', but the
firmware in hm2/7i43/SVST4_4B.BIT is for FPGA '3s400tq144'
[  189.269794] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778,
epp_wide ON) not found!
[  190.090900] hm2: unloading
[  190.182408] RTAI[math]: unloaded.
[  190.215243] SCHED releases registered named ALIEN RTGLBH
[  190.244487] RTAI[malloc]: unloaded.
[  190.344034] RTAI[sched]: unloaded (forced hard/soft/hard
transitions: traps 0, syscalls 0).
[  190.350246] I-pipe: Domain RTAI unregistered.
[  190.350347] RTAI[hal]: unmounted.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to