Why Mesa 5i20 does not start?

More
02 Aug 2016 00:33 #78269 by pkasy
Replied by pkasy on topic Why Mesa 5i20 does not start?
I already changed the cables. nothing changed.
Now I will change two boards 5i20.

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

More
02 Aug 2016 00:35 #78270 by pkasy
Replied by pkasy on topic Why Mesa 5i20 does not start?
Here are configs.
LinuxCNC is 2.7.5
Attachments:

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

More
02 Aug 2016 01:12 #78271 by PCW
Replied by PCW on topic Why Mesa 5i20 does not start?
The outputs are close to what is expected with those configs

Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found

( Because 7I37 outputs are active low, if you enable FPGA GPIO outputs without setting the invert attribute,
the 7I37 output will be enabled as soon as LinuxCNC starts up)

If any 7I37 outputs are on when LinuxCNC is _not_ running, that suggests a FPGA fault

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

More
02 Aug 2016 01:52 #78272 by pkasy
Replied by pkasy on topic Why Mesa 5i20 does not start?

Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found

Why?

And setp ...065.out 1 or 0 does not make anything. These keys are just in open state.

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

More
02 Aug 2016 02:52 - 02 Aug 2016 03:00 #78274 by PCW
Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found

Why?


Because 7I37 outputs are active low, if you enable FPGA GPIO outputs without setting the invert attribute,
the FPGA output will be low so the 7I37 output will be enabled as soon as LinuxCNC starts up

And setp ...065.out 1 or 0 does not make anything. These keys are just in open state.


are any GPIO pins low when LinuxCNC is not running?
Last edit: 02 Aug 2016 03:00 by PCW.

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

More
02 Aug 2016 04:53 #78275 by pkasy
Replied by pkasy on topic Why Mesa 5i20 does not start?

If any 7I37 outputs are on when LinuxCNC is _not_ running, that suggests a FPGA fault

No, only then LinuxCNC starts.

Anyway, I can't change output at 64-71 or 40-47 pins.
I tried open_drain too.
No luck.

On the other machine, I have not been able to obtain from the mesa 7i37 any outputs. Instead, I set card for LPT port. And it worked.

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

More
02 Aug 2016 04:55 #78276 by pkasy

Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found

Why 65 and 67? Where did you get information?

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

More
02 Aug 2016 05:15 #78277 by PCW
Replied by PCW on topic Why Mesa 5i20 does not start?

No, only then LinuxCNC starts.


This strongly suggests that the problem is configuration, bitfile or OS/PC related, not a bad 5I20

What PC hardware, linuxCNC version, OS , and md5sum of svst8_4.bit do you have?

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

More
02 Aug 2016 05:18 #78279 by PCW

Why 65 and 67? Where did you get information?


They are not set in hal file, therefore will start up at a 0 level, turning the 7I37 outputs on as soon
as they are set to is_output

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

More
02 Aug 2016 05:51 #78280 by pkasy
Why 69 and 71 are OFF?

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

Moderators: PCWjmelson
Time to create page: 0.382 seconds
Powered by Kunena Forum