SOLVED ! 6i25(5i25) 5i25_prob_rfx2.pin doesn't match flashed bin

More
4 years 1 month ago #252929 by macsddau@linuxcnc
Received today a MESA 6i25

Flashed with 5i25_prob_rfx.bit file :
Code:
sudo mesaflash --device 5i25 --write '/path_to_file/5i25_prob_rfx2.bit'
I choose this configuration because it matches my current parport pin out.

Starting linuxCNC got an error :
Code:
./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 :
Code:
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
Code:
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

Attachment not found


Attachment not found

Please Log in to join the conversation.

More
4 years 1 month ago #252943 by PCW
Did you power cycle after you wrote the new bitfile?

Please Log in to join the conversation.

More
4 years 1 month ago #252945 by macsddau@linuxcnc

Did you power cycle after you wrote the new bitfile?
 
Yes

Please Log in to join the conversation.

More
4 years 1 month ago #252947 by macsddau@linuxcnc
..............NO. only restart
Power OFF / power ON. pin out is ok

Please Log in to join the conversation.

More
4 years 1 month ago #252949 by PCW
You can also do a reload to avoid a power cycle

sudo mesaflash --device 5i25 --reload

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum