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

More
26 Aug 2024 19:16 #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
26 Aug 2024 19:18 - 26 Aug 2024 21:31 #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: 26 Aug 2024 21:31 by PCW.

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

More
27 Aug 2024 15:54 #308819 by acondit
Couple more questions/observations
I see this line in both the 5i25 .hal file and the 7i76e .hal file
sets spindle-at-speed true

Is sets correct or should it be setp?

In the 5i25 configs it starts the x-axis with stepgen.05
but in my 7i76 config it starts the x-axis with stepgen.00
What should I use with the 7c81 configs?

To answer your last question, yes
it reports boardname 7c81
9k gates
FPGA pins 144 and the rest of the info looks good to me (10 stepgens)

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

More
27 Aug 2024 16:00 #308820 by PCW
Is the 7I76 connected to P1?
Did you check the stepgens?
 (stepgens on P1 would be 0..4)

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

More
27 Aug 2024 16:45 #308826 by acondit
Yes, the 7i76 is on P1 on both the 5i25 and the 7c81.

I ran pncconf on the 5i25 again. I don't know what I did earlier but now the stepgens are back on 0..2. So, obviously I screwed up something earlier.

What about the "sets" vs "setp" in
" sets spindle-at-speed true"

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

More
27 Aug 2024 17:57 #308837 by PCW
sets is for signals, setp is for pins and parameters
spindle-at-speed is a signal so sets is appropriate

 

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

More
27 Aug 2024 23:38 - 28 Aug 2024 00:53 #308856 by acondit
I updated my amd64 from linuxcnc 2.9.0pre to 2.9.2. (same thing I’m running on my rpi4). Then I ran pncconf on the 5i25 config. Interestingly linuxcnc would not run until I commented out the first few “[HMOT](Card0).7i76…” lines.
I’ll try editing the config again with pncconf to be sure it is not just some dumb mistake on my part.

Try turning on the cnc power dummy!!!
Last edit: 28 Aug 2024 00:53 by acondit. Reason: Answer my own dumb question

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

Time to create page: 0.455 seconds
Powered by Kunena Forum