Re: [Emc-users] Using hostmot2 for 7i43

2008-11-26 Thread Peter C. Wallace
On Tue, 25 Nov 2008, Jon Elson wrote:

 Date: Tue, 25 Nov 2008 23:11:02 -0600
 From: Jon Elson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Using hostmot2 for 7i43
 
 Peter C. Wallace wrote:
 On Tue, 25 Nov 2008, Jon Elson wrote:



 Same problem with my products.  If the cable doesn't say IEEE 1284
 Compliant right on the cable jacket, it WON'T WORK!
 Others ring out fine, but don't have the twisted pairs internally to
 prevent crosstalk.  Even WITH the twisted pairs, the crosstalk is pretty
 bad, without it all the signals turn into a massive jumble.

 Jon


 For the 7I43 I recommend IDC flat cables. Like you say, normal printer
 cables may not have enough grounds in the right places to prevent crosstalk.


 I have not found plain flat cables over a foot or so to work well at
 all, and especially not on PCI card parallel ports, where all the
 timings are faster.
 I have made some special 20+ foot cables for some special gear from
 twisted-pair ribbon cables, where EVERY signal has its own twisted pair.
 But, you can't mass-terminate that due to the pin assignment on the DB-25.
 With flat cables and the conservative 300 nS double edge control signal
 filters in the FPGA config we seem to be fine up to 12 feet (thats as long as
 I've tried and thats in a electrically clean environment)

 The double edge filtering is why the FPGA configs require EPP 1.9

 Interesting.  I may have to experiment some more.  but, the commercial
 cables have a grounded shell, which I think helps to avoid unpleasant
 ESD incidents when plugging it in.

The trick is that with double edged filtering and EPP 1.9, the FPGA controls 
the timing so crosstalk causes no trouble for writes because the signals are 
all quiet when the data is sampled. On reads the parallel port will sample the 
data near the edge of /WAIT.  The /WAIT line has interleaved grounds in the 
flat cable, avoiding wait/data crosstalk.




 Jon

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 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.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-25 Thread Jon Elson
Eric H. Johnson wrote:
 Peter,

 I changed the parallel port mode to EPP, no difference. How does one tell
 what the interface version is?
Most BIOS's only give an EPP/ECP/SPP etc. selection.  The only ones that 
had both versions were from a certain range of manufacturing dates 
around 1999-2000 or so, and had parallel port chips that supported BOTH 
versions of the standard.  Any MoBo made after 2000 will only have EPP 
Ver. 1.9, as that is what the physical hardware chip provides.

Jon

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-25 Thread Peter C. Wallace
On Tue, 25 Nov 2008, Jon Elson wrote:

 Date: Tue, 25 Nov 2008 11:23:40 -0600
 From: Jon Elson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Using hostmot2 for 7i43
 
 Eric H. Johnson wrote:
 The cable is a factory made cable and rings out.

 Same problem with my products.  If the cable doesn't say IEEE 1284
 Compliant right on the cable jacket, it WON'T WORK!
 Others ring out fine, but don't have the twisted pairs internally to
 prevent crosstalk.  Even WITH the twisted pairs, the crosstalk is pretty
 bad, without it all the signals turn into a massive jumble.

 Jon

For the 7I43 I recommend IDC flat cables. Like you say, normal printer 
cables may not have enough grounds in the right places to prevent crosstalk.

With flat cables and the conservative 300 nS double edge control signal 
filters in the FPGA config we seem to be fine up to 12 feet (thats as long as 
I've tried and thats in a electrically clean environment)

The double edge filtering is why the FPGA configs require EPP 1.9


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-25 Thread Jon Elson
Peter C. Wallace wrote:
 On Tue, 25 Nov 2008, Jon Elson wrote:

   

 Same problem with my products.  If the cable doesn't say IEEE 1284
 Compliant right on the cable jacket, it WON'T WORK!
 Others ring out fine, but don't have the twisted pairs internally to
 prevent crosstalk.  Even WITH the twisted pairs, the crosstalk is pretty
 bad, without it all the signals turn into a massive jumble.

 Jon
 

 For the 7I43 I recommend IDC flat cables. Like you say, normal printer 
 cables may not have enough grounds in the right places to prevent crosstalk.

   
I have not found plain flat cables over a foot or so to work well at 
all, and especially not on PCI card parallel ports, where all the 
timings are faster.
I have made some special 20+ foot cables for some special gear from 
twisted-pair ribbon cables, where EVERY signal has its own twisted pair.
But, you can't mass-terminate that due to the pin assignment on the DB-25.
 With flat cables and the conservative 300 nS double edge control signal 
 filters in the FPGA config we seem to be fine up to 12 feet (thats as long as 
 I've tried and thats in a electrically clean environment)

 The double edge filtering is why the FPGA configs require EPP 1.9
   
Interesting.  I may have to experiment some more.  but, the commercial 
cables have a grounded shell, which I think helps to avoid unpleasant 
ESD incidents when plugging it in.


Jon

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Sebastian, et al,

I recently got a 7i43 (7i43-U-4 to be specific) and am getting an error
loading the firmware.

I load the drivers / firmware as follows:

Loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1
debug_pin_descriptors=1 debug_modules=1

Loadrt hm2_7i43 config=firmware=hm2/7i43/SVST4_4B.BIT num_stepgens=2
num_pwmgens=1 num_encoders=0 enable_raw

The command line error message is:
insmod: error inserting
'/usr/realtime-2.6.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Input/output
error

I can post the output from dmesg, but I think this is the operative part:

hm2_7i43: /DONE is not low after CPLD reset!
hm2_7i43: /DONE is not low after CPLD reset!
hm2/hm2_7i43.0: failed to reset fpga, aborting hm2_register
hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not
found!

If I understand correctly, the FPGA is loaded via the USB interface. I
checked the USB and parallel port setup in the BIOS. I did not see anything
meaningful for the USB ports, but for parallel port mode, it defaults to a
mode of ECP. I changed it to Bi-directional, but that made no difference.

The BIOS does not show the address of the parallel port, but I assume it is
at the standard 0x378 address. I have both USB and parallel cables
connected.

What no doubt stupid thing am I missing.

Regards,
Eric



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Peter C. Wallace
On Mon, 24 Nov 2008, Eric H. Johnson wrote:

 Date: Mon, 24 Nov 2008 20:03:26 -0500
 From: Eric H. Johnson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net
 Subject: [Emc-users]  Using hostmot2 for 7i43
 
 Sebastian, et al,

 I recently got a 7i43 (7i43-U-4 to be specific) and am getting an error
 loading the firmware.

 I load the drivers / firmware as follows:

 Loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1
 debug_pin_descriptors=1 debug_modules=1

 Loadrt hm2_7i43 config=firmware=hm2/7i43/SVST4_4B.BIT num_stepgens=2
 num_pwmgens=1 num_encoders=0 enable_raw

 The command line error message is:
 insmod: error inserting
 '/usr/realtime-2.6.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Input/output
 error

 I can post the output from dmesg, but I think this is the operative part:

 hm2_7i43: /DONE is not low after CPLD reset!
 hm2_7i43: /DONE is not low after CPLD reset!
 hm2/hm2_7i43.0: failed to reset fpga, aborting hm2_register
 hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not
 found!

 If I understand correctly, the FPGA is loaded via the USB interface. I
 checked the USB and parallel port setup in the BIOS. I did not see anything
 meaningful for the USB ports, but for parallel port mode, it defaults to a
 mode of ECP. I changed it to Bi-directional, but that made no difference.

 The BIOS does not show the address of the parallel port, but I assume it is
 at the standard 0x378 address. I have both USB and parallel cables
 connected.

 What no doubt stupid thing am I missing.

 Regards,
 Eric



Parallel _Downloading_ firmware to the 7I43 requires:

1. Parallel port with _EPP_ interface, V1.7 or V1.9

_Accessing_ HostMot2 via Parallel port requires:

1. Parallel port with _EPP_ interface  V1.9 _only_

2. If you have older bit files, (not november of this year)
There may be a problem with accessing the card via EPP
if the 7I43 is USB powered.








Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 I load the drivers / firmware as follows:
 
 Loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1
 debug_pin_descriptors=1 debug_modules=1
 
 Loadrt hm2_7i43 config=firmware=hm2/7i43/SVST4_4B.BIT num_stepgens=2
 num_pwmgens=1 num_encoders=0 enable_raw

Looks good.


 The command line error message is:
 insmod: error inserting
 '/usr/realtime-2.6.24-16-rtai/modules/emc2/hm2_7i43.ko': -1 Input/output
 error
 
 I can post the output from dmesg, but I think this is the operative part:
 
 hm2_7i43: /DONE is not low after CPLD reset!
 hm2_7i43: /DONE is not low after CPLD reset!
 hm2/hm2_7i43.0: failed to reset fpga, aborting hm2_register
 hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not
 found!
 
 If I understand correctly, the FPGA is loaded via the USB interface. I
 checked the USB and parallel port setup in the BIOS. I did not see anything
 meaningful for the USB ports, but for parallel port mode, it defaults to a
 mode of ECP. I changed it to Bi-directional, but that made no difference.
 
 The BIOS does not show the address of the parallel port, but I assume it is
 at the standard 0x378 address. I have both USB and parallel cables
 connected.
 
 What no doubt stupid thing am I missing.

USB is not used for communication at all, only for power.  (This is 
mentioned in the hm2_7i43 manpage.)

The error you're getting is indicative of a low-level parallel port 
communication error.  You should figure out what address your parport is 
at; you can do this by loading the linux parport and parport_pc drivers 
and seeing what they say.  Also check your cables.

I know i sound like a broken record regarding EPP cables, but it really 
is the problem 99% of the time.


-- 
Sebastian Kuzminsky
sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Peter,

I changed the parallel port mode to EPP, no difference. How does one tell
what the interface version is? It is not listed in the BIOS. The BIT files I
am using are dated 11/11/08.

Regards,
Eric


Parallel _Downloading_ firmware to the 7I43 requires:

1. Parallel port with _EPP_ interface, V1.7 or V1.9

_Accessing_ HostMot2 via Parallel port requires:

1. Parallel port with _EPP_ interface  V1.9 _only_

2. If you have older bit files, (not november of this year)
There may be a problem with accessing the card via EPP
if the 7I43 is USB powered.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Sebastian,

Install the parport drivers how? I thought they were disabled in the rtai
kernel so they would not conflict with EMC.

The cable is a factory made cable and rings out.

Regards,
Eric


The error you're getting is indicative of a low-level parallel port
communication error.  You should figure out what address your parport is at;
you can do this by loading the linux parport and parport_pc drivers and
seeing what they say.  Also check your cables.

I know i sound like a broken record regarding EPP cables, but it really is
the problem 99% of the time.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Peter C. Wallace
On Mon, 24 Nov 2008, Eric H. Johnson wrote:

 Date: Mon, 24 Nov 2008 22:38:30 -0500
 From: Eric H. Johnson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Using hostmot2 for 7i43
 
 Peter,

 I changed the parallel port mode to EPP, no difference. How does one tell
 what the interface version is? It is not listed in the BIOS. The BIT files I
 am using are dated 11/11/08.

First off it would help me to know whether the firmware download succeeded

This is indicated by both red LEDS being off (only the yellow PWR led being 
on)

If both red LEDS are off, then the firmware loaded successfully

  
 Regards,
 Eric


 Parallel _Downloading_ firmware to the 7I43 requires:

 1. Parallel port with _EPP_ interface, V1.7 or V1.9

 _Accessing_ HostMot2 via Parallel port requires:

 1. Parallel port with _EPP_ interface  V1.9 _only_

 2. If you have older bit files, (not november of this year)
There may be a problem with accessing the card via EPP
if the 7I43 is USB powered.


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 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.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 Install the parport drivers how? I thought they were disabled in the rtai
 kernel so they would not conflict with EMC.
 
 The cable is a factory made cable and rings out.

They are disabled, but you can force it.  Try this:

1.  Stop realtime

2.  sudo insmod /lib/modules/$(uname 
-r)/kernel/drivers/parport/parport_pc.ko


Step 2 should be all one line, with a single space between uname and -r

Then look in the dmesg, at the end, it should tell you where the parport is.

Hm, which reminds me...  You *are* saying loadrt probe_parport before 
loadrt hm2_7i43, right?  Oops, I forgot to put that in the hm2_7i43(9) 
manpage, i'll add that now.


-- 
Sebastian Kuzminsky
sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Sebastian Kuzminsky
Peter C. Wallace wrote:
 On Mon, 24 Nov 2008, Eric H. Johnson wrote:
 
 I changed the parallel port mode to EPP, no difference. How does one tell
 what the interface version is? It is not listed in the BIOS. The BIT files I
 am using are dated 11/11/08.
 
 First off it would help me to know whether the firmware download succeeded
 
 This is indicated by both red LEDS being off (only the yellow PWR led being 
 on)
 
 If both red LEDS are off, then the firmware loaded successfully

The error message in Eric's original email indicates that the 7i43 didnt 
even come out of CPLD reset:

 hm2_7i43: /DONE is not low after CPLD reset!


This is in hm2_7i43_reset(), in hm2_7i43.c.

The driver writes address 0x7f7f, writes data 0x5A, then (when the CPLD 
has control) writes address 0x01, writes data 0x00, waits 1 us, writes 
data 0x01, and waits 2 ms.  Then it reads a byte and checks the LSb, if 
it's 1 it emits that error and refuses to go on.

In my experience it indicates total lack of communication with the 7i43.


-- 
Sebastian Kuzminsky
sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Sebastian,

The Parport is at the normal address of 0x378. I did not do a loadrt
probe_parport. I have now added it, but still get the same error.

Regards,
Eric

They are disabled, but you can force it.  Try this:

1.  Stop realtime

2.  sudo insmod /lib/modules/$(uname
-r)/kernel/drivers/parport/parport_pc.ko


Step 2 should be all one line, with a single space between uname and -r

Then look in the dmesg, at the end, it should tell you where the parport is.

Hm, which reminds me...  You *are* saying loadrt probe_parport before 
loadrt hm2_7i43, right?  Oops, I forgot to put that in the hm2_7i43(9) 
manpage, i'll add that now.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Peter,

When I connect the USB cable, one LED (left most) flashes momentarily and
goes off, the second red LED and the yellow LED are on steady. After trying
to download, there is no change.

Regards,
Eric


First off it would help me to know whether the firmware download succeeded

This is indicated by both red LEDS being off (only the yellow PWR led being
on)

If both red LEDS are off, then the firmware loaded successfully



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
 The Parport is at the normal address of 0x378. I did not do a loadrt
 probe_parport. I have now added it, but still get the same error.

Bummer.

You remembered to rmmod parport_pc or reboot after that test, right?

Can you hop on IRC?  I'm on #emc and #emc-devel.


-- 
Sebastian Kuzminsky
sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Peter C. Wallace
On Mon, 24 Nov 2008, Sebastian Kuzminsky wrote:

 Date: Mon, 24 Nov 2008 21:09:57 -0700
 From: Sebastian Kuzminsky [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Using hostmot2 for 7i43
 
 Peter C. Wallace wrote:
 On Mon, 24 Nov 2008, Eric H. Johnson wrote:

 I changed the parallel port mode to EPP, no difference. How does one tell
 what the interface version is? It is not listed in the BIOS. The BIT files I
 am using are dated 11/11/08.

 First off it would help me to know whether the firmware download succeeded

 This is indicated by both red LEDS being off (only the yellow PWR led being
 on)

 If both red LEDS are off, then the firmware loaded successfully

 The error message in Eric's original email indicates that the 7i43 didnt
 even come out of CPLD reset:

 hm2_7i43: /DONE is not low after CPLD reset!


 This is in hm2_7i43_reset(), in hm2_7i43.c.

 The driver writes address 0x7f7f, writes data 0x5A, then (when the CPLD
 has control) writes address 0x01, writes data 0x00, waits 1 us, writes
 data 0x01, and waits 2 ms.  Then it reads a byte and checks the LSb, if
 it's 1 it emits that error and refuses to go on.

 In my experience it indicates total lack of communication with the 7i43.



Oh OK I didn't look closely enough at the error message...

Heres a really basic question:

Is the 7I43 jumperered for EPP mode?

If you are using USB power, Is the USB power jumper set to ON?


 -- 
 Sebastian Kuzminsky
 sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 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.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Peter C. Wallace
On Mon, 24 Nov 2008, Eric H. Johnson wrote:

 Date: Mon, 24 Nov 2008 23:12:00 -0500
 From: Eric H. Johnson [EMAIL PROTECTED]
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Using hostmot2 for 7i43
 
 Peter,

 When I connect the USB cable, one LED (left most) flashes momentarily and
 goes off, the second red LED and the yellow LED are on steady. After trying
 to download, there is no change.

 Regards,
 Eric

That to me indicates that you have the 7I43 in USB config mode, this wont 
work for EMC...

When the 7I43 is on EPP mode and first powered on, all three status lights 
should be on




 First off it would help me to know whether the firmware download succeeded

 This is indicated by both red LEDS being off (only the yellow PWR led being
 on)

 If both red LEDS are off, then the firmware loaded successfully



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 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.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Using hostmot2 for 7i43

2008-11-24 Thread Eric H. Johnson
Peter,

Yep, that was it. Set it to parallel port and it basically worked.

Thanks,
Eric

That to me indicates that you have the 7I43 in USB config mode, this wont
work for EMC...

When the 7I43 is on EPP mode and first powered on, all three status lights
should be on



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users