Why Mesa 5i20 does not start?
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
Now I will change two boards 5i20.
Please Log in or Create an account to join the conversation.
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
LinuxCNC is 2.7.5
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
- Posts: 17905
- Thank you received: 4774
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.
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
Why?Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found
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.
- PCW
- Offline
- Moderator
- Posts: 17905
- Thank you received: 4774
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?
Please Log in or Create an account to join the conversation.
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
No, only then LinuxCNC starts.If any 7I37 outputs are on when LinuxCNC is _not_ running, that suggests a FPGA fault
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.
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
Why 65 and 67? Where did you get information?Based on the HAL file, I certainly I would expect GPIO 65 and 67 to be stuck on as you found
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
- Posts: 17905
- Thank you received: 4774
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.
- PCW
- Offline
- Moderator
- Posts: 17905
- Thank you received: 4774
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.
- pkasy
- Topic Author
- Offline
- Premium Member
- Posts: 96
- Thank you received: 5
Please Log in or Create an account to join the conversation.