Looking for 7i92 firmware to use Gecko G540 and 7i75

More
28 Dec 2022 15:15 #260470 by trainwreck
Hello everybody. I have the above mentioned boards and I'm trying to figure out what firmware to flash on the 7i92. I expect I'm just missing some very simple but critical piece of information though, because the zip file containing the prebuilt bit files from Mesa doesn't have a single one that mentions the 7i75. Is the expected action to build your own firmware for using this card? I have heard that there is a utility for doing so available but I haven't found it yet.

any guidance would be greatly appreciated!

-Trainwreck

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

More
28 Dec 2022 15:18 #260471 by PCW
You can use the G540x2 firmware

The 7I75 is just an I/O protector so has no specific firmware

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

More
28 Dec 2022 15:40 #260473 by trainwreck
Ok, that is the kind of answer I was expecting. So I can just treat every pin as a GPIO on the 7i75, rather than certain ones having stepgens, spindle analog outputs, etc?

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

More
28 Dec 2022 15:51 #260474 by PCW
Yes, you disable the special pin functions in the hal file by setting the num_xxxx
tokens so only the functions you need are enabled. Pins with their special function
disabled revert to plain GPIO.
The following user(s) said Thank You: trainwreck

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

More
28 Dec 2022 21:06 #260486 by trainwreck
I have another related (I think) question. Is it possible to configure the 7i92 so that the stepgens are on the p1 connector instead of the p2 connector? Looking at the .pin file it seems that stepgens 1-5 are always on p2, and only when you need more than 5 do they spill over onto p1. The problem for me is that I would much rather have the 7i75 connected to p2 to save a whole bunch of space in my enclosure and also avoid having to set up another cable, which means the g540 will be connected on p1.

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

More
28 Dec 2022 22:37 #260489 by PCW
Here's the same config with the connectors swapped:

File Attachment:

File Name: 7i92_g540x2rd.zip
File Size:107 KB
Attachments:
The following user(s) said Thank You: trainwreck

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

More
28 Dec 2022 22:56 #260490 by trainwreck
Thank you so much!

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

More
30 Dec 2022 03:03 #260531 by trainwreck
Sorry to bother again, and please let me know if this has gone outside the scope of this board.

It appears that there's some kind of disconnect between the pncconf wizard and the firmware you gave me. I was able to get my motors to jog successfully using it and get my Y2 limit to trigger, but the limit input is not on the same connector as the motors. As shown in the picture attached, to get it to work I had to configure it on the same connector in pncconf, so I'm quite confused.

Do I need to change something to make pncconf understand the new firmware, or is it just not possible to get it working and I'll just need to do all of the configuration manually in the Hal and in files?
Attachments:

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

More
30 Dec 2022 03:37 - 30 Dec 2022 03:40 #260535 by PCW
Yes, you will likely have to re-assign any GPIO by editing the hal file
(while looking at the pinout printed by mesaflash)

If you use pncconf to setup all the limits etc for a standard configuration,
you can fix the GPIO numbers in the hal file by adding 17
GPIO starts at 17 on P1, so if a standard config uses GPIO 11 on P2
for X limit, that same DB25 pin will be 28 (11+17) on P1.
 
Last edit: 30 Dec 2022 03:40 by PCW.
The following user(s) said Thank You: trainwreck

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

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