Mesa 7i92 bit file help

More
31 Aug 2018 11:50 - 31 Aug 2018 11:52 #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 "
Last edit: 31 Aug 2018 11:52 by PCW. Reason: "probably" because not so sure about any PP driver changes...
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
31 Aug 2018 14:48 #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 ?

Please Log in or Create an account to join the conversation.

More
31 Aug 2018 17:12 - 31 Aug 2018 17:13 #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
Last edit: 31 Aug 2018 17:13 by PCW.
The following user(s) said Thank You: tommylight, Clive S

Please Log in or Create an account to join the conversation.

More
31 Aug 2018 18:24 #116923 by Clive S
Replied by Clive S 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


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 or Create an account to join the conversation.

More
01 Sep 2018 11:56 #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

Please Log in or Create an account to join the conversation.

More
01 Sep 2018 17:51 #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)
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
01 Sep 2018 18:00 #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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds
Powered by Kunena Forum