PC for Mesa 5i25T
- lukin1156
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
17 Nov 2024 22:38 #314698
by lukin1156
PC for Mesa 5i25T was created by lukin1156
Hello everyone!
I have a problem with installing the Mesa 5i25T card. I have an HP Compaq dc7900 computer. I installed Linux CNC from the official website on my computer, it was without any problems, it works. However, after inserting the card into the PCI slot, the computer will not start, it remains stuck in the bios. After removing the card, the computer works again without any problems. I also tried an HP Compaq 8200, but the same problem. I also tried putting the card in my large computer for drawing, I used a hard drive with the system from previous computers, and the card works. However, when performing Mesaflash, it writes an error: Unauthorized memory access (SIGSEGV). I assume that this is caused by the fact that I installed the system on the hard drive on another computer. The jumpers on the card are set to default. Do you have a tested PC setup on which this card works? Thanks for the advice and greetings from the Czech Republic!
I have a problem with installing the Mesa 5i25T card. I have an HP Compaq dc7900 computer. I installed Linux CNC from the official website on my computer, it was without any problems, it works. However, after inserting the card into the PCI slot, the computer will not start, it remains stuck in the bios. After removing the card, the computer works again without any problems. I also tried an HP Compaq 8200, but the same problem. I also tried putting the card in my large computer for drawing, I used a hard drive with the system from previous computers, and the card works. However, when performing Mesaflash, it writes an error: Unauthorized memory access (SIGSEGV). I assume that this is caused by the fact that I installed the system on the hard drive on another computer. The jumpers on the card are set to default. Do you have a tested PC setup on which this card works? Thanks for the advice and greetings from the Czech Republic!
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
17 Nov 2024 22:45 #314700
by PCW
Replied by PCW on topic PC for Mesa 5i25T
Sometimes updating the PC BIOS can help the issue.
Card testing is done on a H97 or D525 motherboard and I
don't think we have any motherboards that don't work
but I can get a HP 8200 SFF to see if there is a workaround
Card testing is done on a H97 or D525 motherboard and I
don't think we have any motherboards that don't work
but I can get a HP 8200 SFF to see if there is a workaround
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19801
- Thank you received: 6695
17 Nov 2024 22:59 #314701
by tommylight
Replied by tommylight on topic PC for Mesa 5i25T
Ahoj pane 
Had this issue once a few years back, try another slot.
If that does not work, remove the card, start the PC, enter the BIOS, find something like "resources" or " IRQ" or ... i forgot, but basically the part that sets the IRQ for everything is usually set to auto, so set to manually, save, power off, insert the card, it should boot OK but in some cases might have sluggish response on the desktop, and if that happens, reboot, enter BIOS, go again there and assign manually an IRQ for the Mesa, whatever just not the same one with the graphic card.

Had this issue once a few years back, try another slot.
If that does not work, remove the card, start the PC, enter the BIOS, find something like "resources" or " IRQ" or ... i forgot, but basically the part that sets the IRQ for everything is usually set to auto, so set to manually, save, power off, insert the card, it should boot OK but in some cases might have sluggish response on the desktop, and if that happens, reboot, enter BIOS, go again there and assign manually an IRQ for the Mesa, whatever just not the same one with the graphic card.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
22 Nov 2024 01:18 - 22 Nov 2024 01:47 #315013
by PCW
Replied by PCW on topic PC for Mesa 5i25T
I've narrowed this down to SERR on some machines
If you disable PCI #SERR generation in the BIOS setup
its solves the issue with the Elite 8200 at least.
I will look further into this next week.
If you disable PCI #SERR generation in the BIOS setup
its solves the issue with the Elite 8200 at least.
I will look further into this next week.
Last edit: 22 Nov 2024 01:47 by PCW.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
23 Nov 2024 00:40 - 23 Nov 2024 01:01 #315072
by PCW
Replied by PCW on topic PC for Mesa 5i25T
OK found the issue: A typo in a source file broke parity checking.
but our test CPU's don't enable parity checking by default so the bug
was missed.
As I mentioned before, on the Elite 8200 you can bypass the issue
by disabling #SERR in the BIOS setup.
This should allow you to upgrade the card with fixed bit files.
The fixed bit files (and fixed source) are downloadable from:
www.mesanet.com/software/parallel/5i25t.zip
You should also update the fallback image so for example:
sudo mesaflash --device 5i25t --write 5i25t_7i77x2d.bin
sudo mesaflash --device 5i25t --write 5i25t_16m_fallback.bin --fallback
Sorry for the problem.
but our test CPU's don't enable parity checking by default so the bug
was missed.
As I mentioned before, on the Elite 8200 you can bypass the issue
by disabling #SERR in the BIOS setup.
This should allow you to upgrade the card with fixed bit files.
The fixed bit files (and fixed source) are downloadable from:
www.mesanet.com/software/parallel/5i25t.zip
You should also update the fallback image so for example:
sudo mesaflash --device 5i25t --write 5i25t_7i77x2d.bin
sudo mesaflash --device 5i25t --write 5i25t_16m_fallback.bin --fallback
Sorry for the problem.
Last edit: 23 Nov 2024 01:01 by PCW.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- lukin1156
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
26 Nov 2024 22:35 #315324
by lukin1156
Replied by lukin1156 on topic PC for Mesa 5i25T
Thanks for the replies, finally disabling #SERR in the BIOS settings helped.
I uploaded the bin file 5i25t_7i77x2d.bin to the card
Now I am dealing with creating a configuration using PNCconf. I don't have a choice of 5i25t card here. Should I create the files for the 5i25 card and then overwrite the .hal file of the 5i25 to the 5i25t?
I uploaded the bin file 5i25t_7i77x2d.bin to the card
Now I am dealing with creating a configuration using PNCconf. I don't have a choice of 5i25t card here. Should I create the files for the 5i25 card and then overwrite the .hal file of the 5i25 to the 5i25t?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
26 Nov 2024 22:56 #315327
by PCW
Replied by PCW on topic PC for Mesa 5i25T
Yes. just create a configuration file set for the 5I25, the hal/ini files are identical
(even the name is the same in the hal file)
(even the name is the same in the hal file)
Please Log in or Create an account to join the conversation.
- lukin1156
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
08 Dec 2024 21:15 #316282
by lukin1156
Replied by lukin1156 on topic PC for Mesa 5i25T
Thanks for the answer!
I have encountered another strange problem.
I measure 3.8V power supply on the encoder connectors instead of 5V. I think there is a problem with the analog output. If I enter the maximum speed CW, the output voltage is 10V. But if I enter the maximum speed CCW, I get about 6V. The same problem is with the axes. In one direction, the maximum feed rate is not a problem, but in the other I can't get past half the maximum. On the 5i25T, W1 and W3 are set to Up On the 7i77, W5 is left hand position. 5V is supplied to the 7i77 card only via the DB25 cable. Is there a mistake in the jumper settings?
I have encountered another strange problem.
I measure 3.8V power supply on the encoder connectors instead of 5V. I think there is a problem with the analog output. If I enter the maximum speed CW, the output voltage is 10V. But if I enter the maximum speed CCW, I get about 6V. The same problem is with the axes. In one direction, the maximum feed rate is not a problem, but in the other I can't get past half the maximum. On the 5i25T, W1 and W3 are set to Up On the 7i77, W5 is left hand position. 5V is supplied to the 7i77 card only via the DB25 cable. Is there a mistake in the jumper settings?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
08 Dec 2024 21:54 #316288
by PCW
Replied by PCW on topic PC for Mesa 5i25T
As mentioned in the 7I77 manual, If your encoders have significant
current draw, it's better to supply 5V directly to the 7I77 card
(5I25T W3 down, 7I77 W5 right, 5V to TB1)
current draw, it's better to supply 5V directly to the 7I77 card
(5I25T W3 down, 7I77 W5 right, 5V to TB1)
Please Log in or Create an account to join the conversation.
- lukin1156
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
25 Dec 2024 12:55 #317346
by lukin1156
Replied by lukin1156 on topic PC for Mesa 5i25T
I connected 5V to the card and the result improved. Unfortunately, there are still problems. Now it is possible to achieve a feed of 15000mm/min in one direction, but only 10500mm/min in the other direction. This happens with all axes. The video shows a program where the table moves in a R150 circle. When moving up to 10000mm/min, the follow error is acceptable, but when moving faster, it starts to accelerate after a certain limit.
I am attaching the .hal and .ini for the X axis.
I am attaching the .hal and .ini for the X axis.
#*******************
# AXIS X JOINT 0
#*******************
setp pid.x.Pgain [JOINT_0]P
setp pid.x.Igain [JOINT_0]I
setp pid.x.Dgain [JOINT_0]D
setp pid.x.bias [JOINT_0]BIAS
setp pid.x.FF0 [JOINT_0]FF0
setp pid.x.FF1 [JOINT_0]FF1
setp pid.x.FF2 [JOINT_0]FF2
setp pid.x.deadband [JOINT_0]DEADBAND
setp pid.x.maxoutput [JOINT_0]MAX_OUTPUT
setp pid.x.error-previous-target true
net x-index-enable => pid.x.index-enable
net x-enable => pid.x.enable
net x-pos-cmd => pid.x.command
net x-pos-fb => pid.x.feedback
net x-output <= pid.x.output
# ---PWM Generator signals/setup---
setp hm2_5i25.0.7i77.0.1.analogout0-scalemax [JOINT_0]OUTPUT_SCALE
setp hm2_5i25.0.7i77.0.1.analogout0-minlim [JOINT_0]OUTPUT_MIN_LIMIT
setp hm2_5i25.0.7i77.0.1.analogout0-maxlim [JOINT_0]OUTPUT_MAX_LIMIT
net x-output => hm2_5i25.0.7i77.0.1.analogout0
net x-pos-cmd <= joint.0.motor-pos-cmd
net x-enable <= joint.0.amp-enable-out
# enable _all_ sserial pwmgens
net x-enable => hm2_5i25.0.7i77.0.1.analogena
# ---Encoder feedback signals/setup---
setp hm2_5i25.0.encoder.00.counter-mode 0
setp hm2_5i25.0.encoder.00.filter 1
setp hm2_5i25.0.encoder.00.index-invert 0
setp hm2_5i25.0.encoder.00.index-mask 0
setp hm2_5i25.0.encoder.00.index-mask-invert 0
setp hm2_5i25.0.encoder.00.scale [JOINT_0]ENCODER_SCALE
net x-pos-fb <= hm2_5i25.0.encoder.00.position
net x-vel-fb <= hm2_5i25.0.encoder.00.velocity
net x-pos-fb => joint.0.motor-pos-fb
net x-index-enable joint.0.index-enable <=> hm2_5i25.0.encoder.00.index-enable
net x-pos-rawcounts <= hm2_5i25.0.encoder.00.rawcounts
# ---setup home / limit switch signals---
net x-home-sw => joint.0.home-sw-in
net x-neg-limit => joint.0.neg-lim-sw-in
net x-pos-limit => joint.0.pos-lim-sw-in
[AXIS_X]
MAX_VELOCITY = 250.0
MAX_ACCELERATION = 500.0
MIN_LIMIT = -250
MAX_LIMIT = 225
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 250.0
MAX_ACCELERATION = 750.0
P = 6
I = 0
D = 0
FF0 = 0
FF1 = 0.04
FF2 = 0
BIAS = 0
DEADBAND = 0
MAX_OUTPUT = 0
ENCODER_SCALE = 1000
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -250
MAX_LIMIT = 225
HOME_OFFSET = 0.0
HOME_SEQUENCE = 2
HOME_SEARCH_VEL = 000000
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = YES
HOME_SEQUENCE = 1
#******************************************
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.084 seconds