- Posts: 17524
- Thank you received: 0
Mesa 7i92 bit file help
8 years 2 months ago #116906
by PCW
Replied by PCW on topic Mesa 7i92 bit file help
You can see from the pin/parameter lists that all encoder/pwmgens/stepgens are enabled
This is what happens with a missing config="blah blah blah" token
Likely this is a quoting issue
DRIVER_PARAMS="board_ip=10.10.10.10 config=num_encoders=1 num_pwmgens=1 num_stepgens=5 "
probably should be
DRIVER_PARAMS=board_ip=10.10.10.10 config="num_encoders=1 num_pwmgens=1 num_stepgens=5 "
This is what happens with a missing config="blah blah blah" token
Likely this is a quoting issue
DRIVER_PARAMS="board_ip=10.10.10.10 config=num_encoders=1 num_pwmgens=1 num_stepgens=5 "
probably should be
DRIVER_PARAMS=board_ip=10.10.10.10 config="num_encoders=1 num_pwmgens=1 num_stepgens=5 "
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
8 years 2 months ago #116913
by tommylight
Replied by tommylight on topic Mesa 7i92 bit file help
He mentioned somewhere earlier that he has that line in the ini file, not in the hal file where it should be.
Or was that a different thread ?
Or was that a different thread ?
Please Log in to join the conversation.
8 years 2 months ago #116918
by PCW
Replied by PCW on topic Mesa 7i92 bit file help
In that particular setup the driver configuration parameters are in the ini file
Actually I think this is a better way to do things as it means that the same hal file can work with
different cards/machines and as much as possible of the card/machine specific info is restricted to the ini file
Actually I think this is a better way to do things as it means that the same hal file can work with
different cards/machines and as much as possible of the card/machine specific info is restricted to the ini file
Please Log in to join the conversation.
8 years 2 months ago #116923
by Clive S
Thank you so much Peter, I could not see the wood for the trees. It was the " in the wrong place as you noted.
Replied by Clive S on topic Mesa 7i92 bit file help
PCW wrote: In that particular setup the driver configuration parameters are in the ini file
Actually I think this is a better way to do things as it means that the same hal file can work with
different cards/machines and as much as possible of the card/machine specific info is restricted to the ini file
Thank you so much Peter, I could not see the wood for the trees. It was the " in the wrong place as you noted.
Please Log in to join the conversation.
8 years 1 month ago #116947
by Clive S
Replied by Clive S on topic Mesa 7i92 bit file help
Peter.
All the i/o pins on P1 now give me 5v apart from pin I 019 HDR pin 3 which reads zero. I might have killed it putting 5V onto it
I now have 3 mpg wheels and 3 sets of limits all working fine on P1 now. I could live without the I 019 if it is broke.
Thanks
All the i/o pins on P1 now give me 5v apart from pin I 019 HDR pin 3 which reads zero. I might have killed it putting 5V onto it
I now have 3 mpg wheels and 3 sets of limits all working fine on P1 now. I could live without the I 019 if it is broke.
Thanks
Please Log in to join the conversation.
8 years 1 month ago #116954
by PCW
Replied by PCW on topic Mesa 7i92 bit file help
Putting 5V on a I/O pin _might_ kill it if it was enabled as an output (and low) but this is unlikely. As inputs, the 5I25 pins will accept -0.5V to +7V so a 5V input is fine.
Note that it's easy to exceed the -0.5V limit if you accidentally short the I/O pins to a machine frame, as frame grounds often have HF noise potentials of several volts and basically unlimited current. This will quickly destroy the input protection diodes on the bus switches/FPGAs (which have a 50 mA maximum current limit)
Note that it's easy to exceed the -0.5V limit if you accidentally short the I/O pins to a machine frame, as frame grounds often have HF noise potentials of several volts and basically unlimited current. This will quickly destroy the input protection diodes on the bus switches/FPGAs (which have a 50 mA maximum current limit)
Please Log in to join the conversation.
8 years 1 month ago #116955
by Clive S
Replied by Clive S on topic Mesa 7i92 bit file help
Thanks the the explanation. This is just on the bench at the moment so not connected to a machine.
I think it was configured as an output. I have more than enough pins to do what I want so no prob.
I think it was configured as an output. I have more than enough pins to do what I want so no prob.
Please Log in to join the conversation.
Time to create page: 0.063 seconds
