7i76e with PWM, 4 step gen AND TB5 and TB6

More
4 years 6 months ago #241429 by hoverdj
I am in need of a PWM with 4 step gen on my 7i76e. I found the 7i76e_7i76x1pD.bit file and it looked like it would fill the need, but after flashing, it seems that it doesn't have support for the TB5 and TB6 I/O connections and the 7i76 doesn't show up in the list on the I/O Connector 1 tab to enable it.
Am I out of luck or is there something I'm missing (very likely!)?
Thanks
Darryl

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

More
4 years 6 months ago #241431 by PCW
I would just run pncconf for standard 7I76E firmware
and add the PWM support by hand to the hal file

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

More
4 years 6 months ago #241560 by hoverdj
Thank you for your reply.
So I now need to get back to the stock 7i76e firmware. Which bit file should I flash for that? I saw that in another post somewhere, but try as I might, I can't conjure that up again.

Once I do that, I understand that I can add the "pwmgens=1" parameter to the hostmot2 load command in the HAL file, but how do I know what physical pins that uses on the 7i76e card? I seem to remember reading *somewhere* that it uses one of the stepgen outputs? But which one? Where is this actually documented?
Darryl

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

More
4 years 6 months ago - 4 years 6 months ago #241563 by PCW
You don't need to flash the 7I76E again (if you have installed the firmware with one pwmgen).
I was just suggesting that you tell pncconf you are using standard firmware.

pncconf doesn't care about the cards firmware (or even if the card is installed),
if you are not using its "discover" or test options.

To determine a configuration pinout, you can look at the associated pinout
file (bitfilename.pin) or run mesaflash:

mesaflash --device 7i76e --addr xxx.xxx.xxx.xxx --readhmid
Last edit: 4 years 6 months ago by PCW. Reason: reformat

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

More
4 years 6 months ago #241564 by hoverdj
Gotcha! But when I flashed that firmware with the pwm, I lost the I/O on TB5 and TB6.

Or are they still there, but just not showing up in pncconf?

I’m sorry if I’m not getting it. I’ve read so many things over the past few days trying to figure this out, everything is now a scramble in my mind.

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

More
4 years 6 months ago #241567 by hoverdj
Was able to confirm that the I/O is still there by running

mesaflash --device 7i76e --addr 10.10.10.10 --print-pd

Now on to configuring the HAL manually.
Thanks for your help.
Darryl

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

Moderators: cmorley
Time to create page: 0.060 seconds
Powered by Kunena Forum