7i98 and 5abobx3 firmware
01 Feb 2021 20:12 #197330
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
The pinout listed by mesaflash is correct though it will not match your
breakout unless you are using the common "5 Axis Mach" breakout
(That's what 5abob in the bitfile name refers to)
breakout unless you are using the common "5 Axis Mach" breakout
(That's what 5abob in the bitfile name refers to)
Please Log in or Create an account to join the conversation.
02 Feb 2021 23:47 #197494
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
I have realised that my previous post was inaccurate. I've gone back over the mesa pin assignments using --readhmid and it should work with the bob I have. However when I try to test with a motor and drive Its still incorrect.
For example: x step should be Port1 pin 2 but no, It's actually P1 pin 4.
I have even ruled out the bob and wired P1 pin2 to the stepper drive. It stayed high so the motor just stepped as expected and held.
Then I tried pin 4 and it worked fine with the x axis jog buttons.
Truly stumped by this.
For example: x step should be Port1 pin 2 but no, It's actually P1 pin 4.
I have even ruled out the bob and wired P1 pin2 to the stepper drive. It stayed high so the motor just stepped as expected and held.
Then I tried pin 4 and it worked fine with the x axis jog buttons.
Truly stumped by this.
Please Log in or Create an account to join the conversation.
03 Feb 2021 00:37 #197499
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
Sounds like you have the x axis connected to stepgen 1
Please Log in or Create an account to join the conversation.
03 Feb 2021 01:06 #197501
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
I thought that also but y step is P1 pin6. I checked the hal and checked the bit file and the hal reads x axis is joint 0, y is1, z is 2 etc.
is that indeed referance to the particular numerical value of the axis?
The bit seems to reflects this too. I will double check though. Still very new to this so thank you for your patience.
is that indeed referance to the particular numerical value of the axis?
The bit seems to reflects this too. I will double check though. Still very new to this so thank you for your patience.
Attachments:
Please Log in or Create an account to join the conversation.
03 Feb 2021 01:15 - 03 Feb 2021 01:17 #197502
by PCW
That would make sense if you mapped
X = joint0 --> stepgen1
Y = joint 1 --> stepgen2
Replied by PCW on topic 7i98 and 5abobx3 firmware
I thought that also but y step is P1 pin6.
That would make sense if you mapped
X = joint0 --> stepgen1
Y = joint 1 --> stepgen2
Last edit: 03 Feb 2021 01:17 by PCW.
Please Log in or Create an account to join the conversation.
03 Feb 2021 10:42 #197537
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
i would agree but it doesnt explain why the dir pins are what they are
x dir = p14
y dir = p16
z dir = p17
again i found these by trial and error. i found step first by pressing jog and jumping the stepper drive step pin to the bob output pins.
then secured the step wire and jumpered the dir signal checking each pin and jogging back and forward looking for the motor reversing direction.
x dir = p14
y dir = p16
z dir = p17
again i found these by trial and error. i found step first by pressing jog and jumping the stepper drive step pin to the bob output pins.
then secured the step wire and jumpered the dir signal checking each pin and jogging back and forward looking for the motor reversing direction.
Please Log in or Create an account to join the conversation.
03 Feb 2021 10:55 #197538
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
and i have realised that x is set as stepgen1 in hal so 4 is technically correct however the breakout board normally uses pin2
if i can understand how the direction pins are going where they are i can always look into writing a new bit file to better suit my needs
if i can understand how the direction pins are going where they are i can always look into writing a new bit file to better suit my needs
Please Log in or Create an account to join the conversation.
03 Feb 2021 15:53 #197558
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
I think I would renumber the stepgens
starting with 0 first so
X=joint0=stepgen0
Y=joint1=stepgen1
Z=joint2=stepgen2
starting with 0 first so
X=joint0=stepgen0
Y=joint1=stepgen1
Z=joint2=stepgen2
Please Log in or Create an account to join the conversation.
03 Feb 2021 15:57 #197560
by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
That would indeed be much simpler, thanks
Any thoughts as to why the direction pins are not where I'd expect them?
Any thoughts as to why the direction pins are not where I'd expect them?
Please Log in or Create an account to join the conversation.
03 Feb 2021 16:10 #197562
by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
I would first renumber the stepgens and try again
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.142 seconds