Converting a 7i76e config to 7c81/7i76 pair

More
3 years 2 months ago #279027 by acondit
I have a working config for my X2MiniMill that runs on a 7i76e mesa board. I just finished a new controller that uses a 7i76 and I have a RaspberryPi4 with a 7c81 attached.

Does anyone have any suggestions on how to best create a new configuration that will run the 7c81/7i76 with the same pinouts as the 7i76e?
Ideal would be converting the 7i76e config to the 7c81/7i76. However, that may not be as easy as it would seem. I have already been trying to use pncconf but it is hard to be sure that I am assigning the same pins on the 7i76 that I am using on the 7i76e.

Thanks in advance,
Alan

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

More
3 years 2 months ago #279097 by cakeslob
What part is giving you issue? I did my setup in the reverse order. I copied the  7i76e to make my 7c81 config

The 7i76e should be about the same as the 7i76, if you wire it the same you can probably just change your hal file from " hm2_7i76e.0.7i76.0.0.output-06 " to " hm2_7c81.0.7i76.0.0.output-06 " 

or something like this 

"(BOARD).0.7i76.0.0.output-01" , then you can just change your board in the ini config

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

More
3 years 2 months ago #279126 by acondit
My controller with the 7i76e is for my PCB Mill. To use it with the X2MiniMill I have to unplug all the connections to the PCB Mill and plug in all the connections for the X2 minimill.

I have to write the bit file for the 7c81_7i76x2d to the 7c81. Since I just discovered that mesaflash won't run under Debian 12, I have created a Raspberry Pi OS Bullseye on another disk. I will have to compile LinuxCNC and mesaflash on it, then write the bit file to the 7c81. That should get me to the point of being able to see if I can run the 7c81 under Debian Bookworm with LinuxCNC.

I will try your idea of using the 7i76e config (edited to 7c81 card).

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

More
3 years 2 months ago #279128 by rodw
Did you try 
sudo apt install mesaflash?
Its definitely in the Debian 12 repos.

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

More
3 years 2 months ago #279157 by acondit
Rod,

I misspoke. I tried mesaflash under Debian 12, however, it doesn't work on the 7c81 because spidev is evidently missing. It reports No 7c81 Board Found. In the dev directory there is no spidev.

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

More
3 years 2 months ago #279171 by PCW
On a RPI, you need to enable SPI for the SPI device to be created.

(With raspi-config for example)

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

Time to create page: 0.252 seconds
Powered by Kunena Forum