getting a second p/port card running on a D510M0
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 187
- Thank you received: 5
04 Apr 2011 00:00 #8438
by M4MazakUser
getting a second p/port card running on a D510M0 was created by M4MazakUser
Ive been trying to get a pair of 7i43 cards going for the last week to no avail, i have two p/port cards ive been trying, - both stated as compatible i\on the wiki site -a sunix two port card, and a cyber1000 or whatever, that have exactly the right chipset as on the site, im using (./showport 1000 1008 e) to try and set the single port into epp mode as stated, - the following appears at the terminal prompt.
Base @ 0x1000
Extended @ 0x1008
DPR: 4
DSR: 80
DCR: 12
EPPA: 12
EPPD: 255
CFA: 170
CFB: 80
ECR: 53
~~~~~
Setting mode to EPP
ECR: 149
~~~~~
but when trying to load emc, i always get this error.
[ 318.850817] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found
[ 318.850842] hm2_7i43: failed to clear EPP Timeout!
[ 318.852849] hm2_7i43: /DONE is not low after CPLD reset!
[ 318.852897] hm2_7i43.1: firmware: requesting hm2/7i43-2/SVST4_6.BIT
[ 318.858355] hm2/hm2_7i43.1: board has FPGA '3s400tq144', but the firmware in hm2/7i43-2/SVST4_6.BIT is for FPGA '3s200tq144'
[ 318.858393] hm2_7i43.1: board at (ioaddr=0x03F8, ioaddr_hi=0x07F8, epp_wide ON) not found!
[ 318.858408] hm2_7i43.0: releasing board
im using the correct firmware, and if i swap the plugs and change the ini to only 1 board, there is no cable fault. any help appreciated.
loadrt probe_parport
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_6.BIT num_encoders=4 num_pwmgens=4 num_stepgens=4,firmware=hm2/7i43-2/SVST4_6.BIT num_encoders=0 num_pwmgens=0 num_stepgens=0"
setp hm2_7i43.0.pwmgen.pwm_frequency 100000
setp hm2_7i43.0.pwmgen.pdm_frequency 100000
setp hm2_7i43.0.watchdog.timeout_ns 10000000
setp hm2_7i43.1.watchdog.timeout_ns 10000000
Base @ 0x1000
Extended @ 0x1008
DPR: 4
DSR: 80
DCR: 12
EPPA: 12
EPPD: 255
CFA: 170
CFB: 80
ECR: 53
~~~~~
Setting mode to EPP
ECR: 149
~~~~~
but when trying to load emc, i always get this error.
[ 318.850817] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found
[ 318.850842] hm2_7i43: failed to clear EPP Timeout!
[ 318.852849] hm2_7i43: /DONE is not low after CPLD reset!
[ 318.852897] hm2_7i43.1: firmware: requesting hm2/7i43-2/SVST4_6.BIT
[ 318.858355] hm2/hm2_7i43.1: board has FPGA '3s400tq144', but the firmware in hm2/7i43-2/SVST4_6.BIT is for FPGA '3s200tq144'
[ 318.858393] hm2_7i43.1: board at (ioaddr=0x03F8, ioaddr_hi=0x07F8, epp_wide ON) not found!
[ 318.858408] hm2_7i43.0: releasing board
im using the correct firmware, and if i swap the plugs and change the ini to only 1 board, there is no cable fault. any help appreciated.
loadrt probe_parport
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_6.BIT num_encoders=4 num_pwmgens=4 num_stepgens=4,firmware=hm2/7i43-2/SVST4_6.BIT num_encoders=0 num_pwmgens=0 num_stepgens=0"
setp hm2_7i43.0.pwmgen.pwm_frequency 100000
setp hm2_7i43.0.pwmgen.pdm_frequency 100000
setp hm2_7i43.0.watchdog.timeout_ns 10000000
setp hm2_7i43.1.watchdog.timeout_ns 10000000
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 187
- Thank you received: 5
04 Apr 2011 00:21 #8439
by M4MazakUser
Replied by M4MazakUser on topic Re:getting a second p/port card running on a D510M0
the boards im using (trying) are -
4018T a dual port card.
SIIG Single Parallel Port PCI Card, TK-P01E12
4018T a dual port card.
SIIG Single Parallel Port PCI Card, TK-P01E12
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 187
- Thank you received: 5
06 Apr 2011 01:44 #8626
by M4MazakUser
Replied by M4MazakUser on topic Re:getting a second p/port card running on a D510M0
SO......for all similar noobs as me who have a problem getting a pci card working in epp mode.
read the hm_7i43 man page, after i specified the "ioaddr=0x1000,0x378" all my dreams have come true....
this just told it where to look for the card (0x378 is the onboard p/port, it was fine).
i geuss it just didn't want to auto-detect them for me....
by the way, no-where did it mention that the port addresses are specified with th "0x" prefix....
read the hm_7i43 man page, after i specified the "ioaddr=0x1000,0x378" all my dreams have come true....
this just told it where to look for the card (0x378 is the onboard p/port, it was fine).
i geuss it just didn't want to auto-detect them for me....
by the way, no-where did it mention that the port addresses are specified with th "0x" prefix....
Please Log in or Create an account to join the conversation.
06 Apr 2011 11:41 #8639
by BigJohnT
Replied by BigJohnT on topic Re:getting a second p/port card running on a D510M0
Well it kind of suggests it by example...
www.linuxcnc.org/docview/html/hal_parallel_port.html#r1_1_1
John
www.linuxcnc.org/docview/html/hal_parallel_port.html#r1_1_1
John
Please Log in or Create an account to join the conversation.
06 Apr 2011 13:24 #8644
by andypugh
Replied by andypugh on topic Re:getting a second p/port card running on a D510M0
This post crept under my radar, I am afraid.
M4MazakUser wrote:
Yes, coders tend to forget that not everybody sees 0x1000 and thinks "ah, that's a number, in hexadecimal"
You might have been able to use 0 and 1 for the card addresses, and let Linux sort out finding the values in hex.
M4MazakUser wrote:
by the way, no-where did it mention that the port addresses are specified with th "0x" prefix....
Yes, coders tend to forget that not everybody sees 0x1000 and thinks "ah, that's a number, in hexadecimal"
You might have been able to use 0 and 1 for the card addresses, and let Linux sort out finding the values in hex.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds