7C81: I'll add it if I get a thumbs up from a Moderator

More
3 years 3 months ago #275434 by gene_weber
Attached is the private_data.py file from the 2.9 pre-release which has been updated to include the 7C81 card. It has all of the firmware choices associated with the Mesa pin files except the two that are 7i77 related. They have MuxedQCount, and it looks like the pncconf software does some special things to deal with that. So I opted to avoid it.

 

Attachment not found



I'm willing to update the github repository if a moderator, or whomever blesses such things, give that a thumbs up. Or someone who maintains pncconf could push this file.

However, I would really like one or more people to try this before pushing it to the repository. It appears to work, but...

To give it a try:
Code:
sudo mv /usr/lib/python3/dist-packages/pncconf/private_data.py /usr/lib/python3/dist-packages/pncconf/old_private_data.py sudo cp private_data.py /usr/lib/python3/dist-packages/pncconf/private_data.py

Gene

Please Log in to join the conversation.

More
3 years 3 months ago #275437 by rodw
The way to have this reviewed for inclusion would be to fork the Linuxcnc repository,
Create a new branch  maybe call it 7C81-pncconf
Make your changes to that branch and commit it to your repo under that branch.
Then you can create a pull request which the devs could review and include.

Normally, changes get pushed to master branch but I think you should work against V 2.9 in this case so it is included in the pending release of 2.9

Good luck!

Please Log in to join the conversation.

More
3 years 3 months ago #275440 by cmorley
I did a quick test - seems as if it works in pncconf.
I assume you have tested on a real card?

the tab names p1/p5/p6 p2/p5/p6 etc is that right?

Please Log in to join the conversation.

More
3 years 3 months ago #275443 by gene_weber
Attached are the manual and a pin file. 

Attachment not found

 

Attachment not found



I named the tabs p1/p5/p6, etc because some of the pin files include the sserial channels which are listed in the document as P5 and P6. This naming seems like it's arbitrary, and I almost just made the tabs P1, P2, and P7. I can make it whatever people think is the least confusing.

Gene

Please Log in to join the conversation.

More
3 years 3 months ago #275446 by gene_weber
And, yes it seems to work with my 7C81 card, but I don;t have a complete system setup yet.

Please Log in to join the conversation.

More
3 years 3 months ago #275448 by cmorley
Should it not be p1,p2,p7 and then p5,p6 - idea being a tab represents a connector?
It might be too much trouble to bend pncconf to do this though.

What about the GPIO connector?

I can push this when you are happy.

Please Log in to join the conversation.

More
3 years 3 months ago #275463 by gene_weber
All the signals are actually going through P1, P2, and P7. I'm just going to drop the P5 and P6.

Please Log in to join the conversation.

More
3 years 3 months ago #275468 by gene_weber
OK, I did what Rod suggested. I made a fork, made that slight change to the file to simplify the tabs, and created a pull request in  the LinuxCNC repository. I use github regularly, but work alone. This gave me an opportunity to learn a few new bits.

Gene

Please Log in to join the conversation.

More
3 years 3 months ago #275488 by rodw

OK, I did what Rod suggested. I made a fork, made that slight change to the file to simplify the tabs, and created a pull request in  the LinuxCNC repository. I use github regularly, but work alone. This gave me an opportunity to learn a few new bits.

Gene
Great! I am sure Chris will take it from there. :)

Please Log in to join the conversation.

More
3 years 3 months ago #275691 by gene_weber
I cancelled the pull request because I think what I submitted was incorrect I separated out P5 and P6 in this version, but still think it's not correct.
 

Attachment not found



I don't know how to handle the smart serial interface. The PIN files list TX Data, RX Data and TX Enable, but I don't understand how that aligns to the signal list in the document for P5/P6.

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum