SOLVED ! 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
28 Sep 2022 12:04 #252929
by macsddau@linuxcnc
6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin was created by macsddau@linuxcnc
Received today a MESA 6i25
Flashed with 5i25_prob_rfx.bit file :I choose this configuration because it matches my current parport pin out.
Starting linuxCNC got an error :
Looking for the begin of the error report I see :
In the file 5i25_prob_rfx the pin out is
That doesn't match
I don't want to change pinout How can I solve this ?
Attached HAL and full error report
Flashed with 5i25_prob_rfx.bit file :
sudo mesaflash --device 5i25 --write '/path_to_file/5i25_prob_rfx2.bit'
Starting linuxCNC got an error :
./r993cnc_6i25.hal:25: parameter or pin 'hm2_5i25.0.gpio.000.is_output' not found
Looking for the begin of the error report I see :
hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
In the file 5i25_prob_rfx the pin out is
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
[..]
2 2 IOPort StepGen 0 Step (Out)
[..]
3 4 IOPort StepGen 0 Dir (Out)
[..]
4 6 IOPort StepGen 1 Step (Out)
[..]
5 8 IOPort StepGen 1 Dir (Out) 6 9 IOPort StepGen 2 Step (Out)
7 10 IOPort StepGen 2 Dir (Out)
8 11 IOPort StepGen 3 Step (Out)
9 12 IOPort StepGen 3 Dir (Out)
That doesn't match
I don't want to change pinout How can I solve this ?
Attached HAL and full error report
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18547
- Thank you received: 5093
28 Sep 2022 14:53 #252943
by PCW
Replied by PCW on topic 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin
Did you power cycle after you wrote the new bitfile?
The following user(s) said Thank You: macsddau@linuxcnc
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
28 Sep 2022 15:01 #252945
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin
YesDid you power cycle after you wrote the new bitfile?
Please Log in or Create an account to join the conversation.
- macsddau@linuxcnc
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
28 Sep 2022 15:06 - 28 Sep 2022 15:07 #252947
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic SOLVED ! 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin
Last edit: 28 Sep 2022 15:07 by macsddau@linuxcnc.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18547
- Thank you received: 5093
28 Sep 2022 15:21 #252949
by PCW
Replied by PCW on topic SOLVED ! 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin
You can also do a reload to avoid a power cycle
sudo mesaflash --device 5i25 --reload
sudo mesaflash --device 5i25 --reload
The following user(s) said Thank You: macsddau@linuxcnc
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.063 seconds