Firmware File for 7i76e + 7i78

More
19 Feb 2023 11:28 #264802 by scda
Hello all,

I am running a 7i76e in a cnc milling machine with an atc. To add a sinkEDM feature to the machine I want to use the adaptive feed function and a "virtual encoder" (Stm32 generated sqare wave signal) for controlling the forward and reverse of the GCode.
For this I decided to add a second encoder input. There are no free inputs left on the 7i76e. So I went with the 7i78.

What kind of firmware does the 7i76e require to run with the 7i78? I can see that there is a 7i76e_7i78x1PD.bit but also a 7i76e_7i76x1_7i78x1D.bit file. Which one should I use? I tried the first firmware but the card was not recognized. Do I have to change anything in the .hal file (since it it as passive extension card)?

When I used the 7i76e_7i76x1_7i78x1D.bit firmware, my spindle encoder on the 7i76e did not work anymore....

Thanks for any tipps or hints.
 

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

More
19 Feb 2023 15:40 #264809 by PCW
Replied by PCW on topic Firmware File for 7i76e + 7i78
The 7I78 card is passive so "7I78" will not show up anywhere in hal
the new encoder on the 7i78 will be hm2_7i76e.0,encoder.01.xxxxx

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

More
19 Feb 2023 15:45 #264812 by scda
Replied by scda on topic Firmware File for 7i76e + 7i78
Hi

Thanks for the help.
Just modified my HAL file accordingly.
This fixed it :-)

Had to change "num_encoders =" to 2 and now the encoder is recognized.

Cheers,
D

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

More
10 Mar 2023 22:13 #266343 by shogan50
I'm trying to set up the same thing for a 6th stepgen.  Would you mind sharing your .hal file.  When I set num_stepgens=6, it says only 5 available.

Thanks

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

More
10 Mar 2023 23:17 #266348 by PCW
Replied by PCW on topic Firmware File for 7i76e + 7i78
Did you update the 7I76E firmware with 7i76e_7i76x1_7i78x1D.bit?

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

More
10 Mar 2023 23:30 #266351 by shogan50
No. Trying to figure out how to do that with 7i76e_7i78x1PD.bit. AFAICT there is mesaflash or you can specify the firmware to load in the hal file. The former isn't available on my (mint) installation and not available on apt-get, so I assume obsolete. Trying to figure out where to place the file so the loadrt hm2_eth config can find it.

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

More
11 Mar 2023 00:59 - 11 Mar 2023 00:59 #266363 by PCW
Replied by PCW on topic Firmware File for 7i76e + 7i78
You must update the 7I76E flash memory with mesaflash.
Only on very old cards (5I20, 7I43 etc) can you specify the
firmware on the driver command line.

mesaflash --device 7i76e --addr [card_IP_address] --write 7i76e_7i76x1_7i78x1D.bit
Last edit: 11 Mar 2023 00:59 by PCW.

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

More
11 Mar 2023 08:46 #266389 by scda
Replied by scda on topic Firmware File for 7i76e + 7i78
If you flash the correct firmware with mesaflash (make sure you use the latest mesaflash tool) you can just add it in the hal file as you have written in the post above. I changed my hal file: num_encoders=1 to num_encoders=2. That is it (if you use the right firmware on the card).

There is a nice overview for the mesaflash tool. www.mankier.com/1/mesaflash

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

More
19 Mar 2023 01:52 #267049 by shogan50
Thanks for your help. I had something weird going on were apt couldn't find mesaflash on my linux mint machine. I built from git and it worked. Subsequently I decided to do a fresh install of the iso and mesaflash is no available on apt.

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

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