Mesa 7i98 + 7i85 = no firmware, how do I manage the solution?

More
09 Jan 2023 23:44 #261391 by DrKnow65
Thank you for looking. I hope not pain you terribly with my inexperience.
I am using LinuxCNC 2.9 on a Dell Optiplex 780usff, 7i98 +7i85s +7i76D with the intent of reading 4x RS-422 linear scales and driving 4x stepper drivers with the expected array of home and limit switches, coolant, and a spindle VFD. 

I would like to use the 7i85s with my 7i98. The 7i85s requires firmware that muxes four encoders to function.
I can create a "generic" 7i98 config file with 7i98_5abobx3d.bit firmware within pncconf to then edit the .hal and .ini files, but this does not provide the muxing needs of the 7i85s. I cannot find any mother boards that use the 7i85s in pncconf to use as a template to modify to work with the 7i98.

How do I approach making a new firmware for a 7i98 with the provisions for a single 7i85? 

And if I want to do a 7i98 + 7i85s + 7i76D? 

The mesa site says " There are currently nine 7I98 compatible breakout cards available from Mesa, the 7I74 through 7I78 and 7I85, 7I85S, 7I88 and 7I89. The7I98 supports three breakout cards."

Can someone please help me understand how to configure a Mesa board with the various supported daughter boards when there is not a specific firmware set for the specific combination? 
I have been pouring over LinuxCNC tutorials, HAL tutorials, and Mesa documentation without much luck for this specific problem.

Searching for the 7i98 and 7i85s in the forum has also not revealed more than the requirement for firmware.

I am willing to put in the time but have very little practical experience with writing binary for FPGA's :)
Any help would be appreciated, and if you can point me to the super simple thing I'm missing I would be both humbled and grateful. 
Happy to RTFM if you can point me in the right direction.
Jeff

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

More
10 Jan 2023 00:00 #261393 by tommylight
Moved to "driver boards".
The following user(s) said Thank You: DrKnow65

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

More
10 Jan 2023 00:17 #261397 by PCW
I emailed you specific firmware for the 7I98 +7I76+7I85S
The following user(s) said Thank You: DrKnow65

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

More
10 Jan 2023 01:24 #261399 by DrKnow65
Thank you, I can see now that "driver boards" was a better place for my question.

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

More
10 Jan 2023 01:42 #261400 by DrKnow65
Thank you for the firmware file, it really pulls a barrier out from the progress of my project. 

I wish I had the capability to build a firmware configurator to graphically pair whichever compatible sets and combinations of Mesa boards a builder might choose. I presume it would be exceedingly difficult, which increases the value of the work you do all the more. Thank you again.

Jeff
The following user(s) said Thank You: tommylight

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

More
11 Jan 2023 03:31 #261533 by DrKnow65
I am getting an error trying to open any of the 7i98 configs I can put together with pncconf to modify, I do not know if I can correct this error in the .hal or .ini files.
I attached the debug and report files as .txt I hope that works... I will have to invest a moment to sort out pastebin.

hm2/hm2_7i98.0: IDROM IOPorts is 3 but MD IOPort NumInstances is 2, inconsistent firmware, aborting driver load

 

File Attachment:

File Name: linuxcnc.d...smJ2.txt
File Size:1 KB
 

File Attachment:

File Name: linuxcnc.report.txt
File Size:5 KB

 

File Attachment:

File Name: 7i98_7i76_...dout.txt
File Size:6 KB


Is there something I can change on my end? Is there more or better information I can post to help troubleshoot?

Jeff
Attachments:

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

More
11 Jan 2023 14:28 #261572 by PCW
Sorry copy/paste error, try this one:

 

File Attachment:

File Name: 7i98_7i76_7i85sd.zip
File Size:126 KB
Attachments:
The following user(s) said Thank You: DrKnow65

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

More
11 Jan 2023 15:06 #261584 by DrKnow65
Again I thank you Peter, without your help I would be stuck.

The firmware looks happy and now and the current errors are .hal related, which are in my ballpark to work to sort out.

With much gratitude I will push hard to use the provided manuals and tutorials to avoid asking any trivial questions in the build and debugging.

Jeff
The following user(s) said Thank You: tommylight

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

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