3 Servos and 1 Stepper on a 7i77 +5i25
21 Mar 2014 22:54 #45032
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
This error is probably because you have a 7I77x2 config loaded in the 5I25
Since this config has no stepgen hardware, you get the hal error
You can probably use 5i25_7i77_7i76.bit file to get your stepgen(s) if you do not need a specific pinout
You use mesaflash to update the 5I25 firmware:
sudo ./mesaflash --device 5i25 --write 5i25_7i77_7i76.bit
(assuming mesaflash and the bitfile are in the current directory)
When this completes, you must power cycle the CPU to load the new firmware into the FPGA
(a reboot is not enough)
Since this config has no stepgen hardware, you get the hal error
You can probably use 5i25_7i77_7i76.bit file to get your stepgen(s) if you do not need a specific pinout
You use mesaflash to update the 5I25 firmware:
sudo ./mesaflash --device 5i25 --write 5i25_7i77_7i76.bit
(assuming mesaflash and the bitfile are in the current directory)
When this completes, you must power cycle the CPU to load the new firmware into the FPGA
(a reboot is not enough)
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
21 Mar 2014 23:05 #45033
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Thanks for the feedback, but I had selected 7i77_776 from the pncconf page. I have done an update to the 5i25 firmware using a script from a sticky placed by CMorley (sorry I don't have a link to it at the moment) which now gives me the option 7i77_7i76. By the way, the fourth axis is being driven with a Long's motor DM542A which should be optically isolated, so no breakout board is involved. Does this shed any more light on what might be going wrong?
Thanks,
Mr. Technical
Thanks,
Mr. Technical
Please Log in or Create an account to join the conversation.
21 Mar 2014 23:07 - 21 Mar 2014 23:13 #45034
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Can you post your hal, ini, and dmesg files here?
There is no reason you should have the reported error with
7i77_7i76 firmware, unless there is a hal,ini or firmware issue.
To make a clean dmesg report do this in a terminal window:
sudo dmesg -c
(start linuxcnc)
dmesg > dmesg.txt
and post dmesg.txt here
There is no reason you should have the reported error with
7i77_7i76 firmware, unless there is a hal,ini or firmware issue.
To make a clean dmesg report do this in a terminal window:
sudo dmesg -c
(start linuxcnc)
dmesg > dmesg.txt
and post dmesg.txt here
Last edit: 21 Mar 2014 23:13 by PCW.
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
21 Mar 2014 23:14 #45035
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Something just clicked. You're talking about actually upgrading the firmware residing on the 5i25 board, which is different than getting the PNCConf to see other possibilities. Is that correct? If so, I'll try what you suggested in the last post. Sorry if I misunderstood what you meant, and thanks again.
Mr. Technical
Mr. Technical
Please Log in or Create an account to join the conversation.
21 Mar 2014 23:20 #45036
by andypugh
If you see stepgens and analogouts, then you have 7i77_7i76 loaded in the 5i25. If you see only one or the other, then you have a dual 7i76 or dual 7i77 config loaded.
Replied by andypugh on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Just to be sure that the firmware change has worked try this in a terminal with LinuxCNC not open.I have done an update to the 5i25 firmware using a script from a sticky placed by CMorley
halrun
loadrt hostmot2
loadrt hm2_pci
show pin *5i25*
exit
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
21 Mar 2014 23:27 - 21 Mar 2014 23:39 #45037
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Peter,
Here's the dmesg.txt file that you asked for.
Andy, thanks, for the help too. I will give this a shot if it doesn't interfere with the path I'm already heading down.
Mr. Technical
Here's the dmesg.txt file that you asked for.
Andy, thanks, for the help too. I will give this a shot if it doesn't interfere with the path I'm already heading down.
Mr. Technical
Last edit: 21 Mar 2014 23:39 by Mr. Technical. Reason: Added more files
Please Log in or Create an account to join the conversation.
21 Mar 2014 23:41 - 21 Mar 2014 23:42 #45041
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
OK thats pretty clearly a 7i77x1 config not a 7i77_7i76 config
so I would download the 5i25.zip file from mesa and reflash the 5i25 with
5i25_7i77_7i76.bit, cycle the CPU power and try again.
so I would download the 5i25.zip file from mesa and reflash the 5i25 with
5i25_7i77_7i76.bit, cycle the CPU power and try again.
Last edit: 21 Mar 2014 23:42 by PCW. Reason: sp
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 00:38 - 22 Mar 2014 00:53 #45043
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
That's good to know.
I downloaded the 5i25 zip file and extracted it to the linuxcnc folder. When I open a terminal and do a cd to the linuxcnc/5i25 folder and type in what you wrote in your post #45032, I get the following message: sudo: ./mesaflash: command not found. If I dig deeper into the 5i25 folder using the GUI and try to run mesaflash that way, I get the following message: "Could not display /home/****/linuxcnc/5i25/utils/linux/mesaflash. There is no application installed for executable files."
Where should I extract the 5i25 files to, and when you mention the bitfiles, where should they be?
Mr. Technical
I downloaded the 5i25 zip file and extracted it to the linuxcnc folder. When I open a terminal and do a cd to the linuxcnc/5i25 folder and type in what you wrote in your post #45032, I get the following message: sudo: ./mesaflash: command not found. If I dig deeper into the 5i25 folder using the GUI and try to run mesaflash that way, I get the following message: "Could not display /home/****/linuxcnc/5i25/utils/linux/mesaflash. There is no application installed for executable files."
Where should I extract the 5i25 files to, and when you mention the bitfiles, where should they be?
Mr. Technical
Last edit: 22 Mar 2014 00:53 by Mr. Technical.
Please Log in or Create an account to join the conversation.
22 Mar 2014 01:05 #45045
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
The simplest way would be to unzip the 5i25.zip file to a temporary directory
and just copy yourtempdir/utils/mesaflash and yourtempdir/configs/hostmot2/5i25_7i77_7i76.bit
to your home directory and run mesaflash from there
and just copy yourtempdir/utils/mesaflash and yourtempdir/configs/hostmot2/5i25_7i77_7i76.bit
to your home directory and run mesaflash from there
Please Log in or Create an account to join the conversation.
22 Mar 2014 01:06 #45046
by andypugh
When files are zipped they tend to lose their execute bit (the flag that they are a runable program).
You can use chmod, or right-click the mesaflash file in the GUI to make it executable.
Replied by andypugh on topic 3 Servos and 1 Stepper on a 7i77 +5i25
. There is no application installed for executable files
When files are zipped they tend to lose their execute bit (the flag that they are a runable program).
You can use chmod, or right-click the mesaflash file in the GUI to make it executable.
The following user(s) said Thank You: Mr. Technical
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds