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

More
2 years 2 months ago - 2 years 2 months ago #308566 by acondit
In setting up the 5i25 uses the line:
loadrt hm2_pci config="num_encoders=1 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxxxx"
For setting up the 7c81 Is the line:
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
Or is there something missing?
Last edit: 2 years 2 months ago by acondit. Reason: Corrected line about load_rt for 5i25

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

More
2 years 2 months ago #308567 by PCW
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"

I would have probably set  num_encoders=1 to support the 7I76 encoder input.

num_pwmgens=0 doesn't do anything because the configuration has no pwmgens.

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

More
2 years 2 months ago #308623 by acondit
I edited num_encoder to be 1.
I just used pncconfig to create a new 5i25 file set and then made the changes for the 7c81.
I am still getting the error message on "hm2_7c81.0.7i76.0.0.output-00" that this pin doesn't exist.
I think I will order a new 40 pin cable to see if that fixes the problem.
Is it possible that the 7i76 could have been damaged when the power jumper was misconfigured?
The other thing that I could try would be to take the 5i25 files over to my machine that actually has a 5i25/7i76 pair and see if it will load there.
If I sent you the .ini file and the .hal file could you see if there is anything obviously wrong?

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

More
2 years 2 months ago - 2 years 2 months ago #308625 by PCW
A bad 40 pin cable would cause different types of errors
(the 7C81 itself would cause errors)

Might be bad 7C81, bad 7I76, or bad 26 pin cable.
mis-jumpering is unlikely to cause damage.

Do the 7I76 step/dir outputs work? That would be a quick test
of the firmware, cable, 7C81 and 7I76
 
Last edit: 2 years 2 months ago by PCW.

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

More
2 years 2 months ago #308730 by acondit
Maybe I am having a senior moment, but how do you test the step/dir with a 7c81 when you can’t get LinuxCNC to run?

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

More
2 years 2 months ago - 2 years 2 months ago #308731 by PCW
Comment out any line with "7i76" in the hal file

(Make copy of the hal file first so you wont need to uncomment them when things are working)


also did you:

sudo mesaflash --device 7c81 --spi --addr /dev/spidev0.0 --readhmid

To verify that you have the correct firmware loaded?

 
Last edit: 2 years 2 months ago by PCW.

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

Time to create page: 0.267 seconds
Powered by Kunena Forum