Mesa 6i25 not working?

More
10 months 4 days ago #340538 by tommylight
Replied by tommylight on topic Mesa 6i25 not working?
The config generated by PncConf, edit the .hal file with a text editor (not libreoffice) and omit or delete the line containing DPLL timer, savem start the config again.

Please Log in to join the conversation.

More
10 months 4 days ago #340543 by PCW
Replied by PCW on topic Mesa 6i25 not working?
If you launch LinuxCNC from the command line, you will get a list as the hardware is discovered
which should help with debugging

The timer issue is possibly  that the installed firmware lacks a DPLL timer
(and pncconf always puts DPLL timer boilerplate in the hal file)
 You can work around this by deleting (or commenting out)  any lines that
mention "dpll" in the hal file
 

Please Log in to join the conversation.

More
10 months 4 days ago #340545 by sorokin_pro
Replied by sorokin_pro on topic Mesa 6i25 not working?
Looks like LinuxCNC detects the board:
Code:
user@denc:~$ linuxcnc LINUXCNC - 2.9.7 Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5' Machine configuration file is 'BenchtopX5.ini' Starting LinuxCNC... linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Note: Using POSIX realtime Found file(REL): ./BenchtopX5.hal hm2: loading Mesa HostMot2 driver version 0.15 hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:02:00.0 hm2/hm2_5i25.0: Low Level init 0.15 hm2/hm2_5i25.0: Smart Serial Firmware Version 43 hm2/hm2_5i25.0: 34 I/O Pins used: 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) hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step (Output) hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin Direction (Output) hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step (Output) hm2/hm2_5i25.0: IO Pin 010 (P3-07): IOPort hm2/hm2_5i25.0: IO Pin 011 (P3-08): IOPort hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:02:00.0 Found file(REL): ./custom.hal link (updating variable file): No such file or directory No option 'tto_g11' in section: 'DEFAULT' No option 'show_program' in section: 'DEFAULT' No option 'show_rapids' in section: 'DEFAULT' No option 'program_alpha' in section: 'DEFAULT' No option 'show_live_plot' in section: 'DEFAULT' No option 'show_tool' in section: 'DEFAULT' No option 'show_extents' in section: 'DEFAULT' No option 'show_offsets' in section: 'DEFAULT' No option 'grid_size' in section: 'DEFAULT' No option 'show_machine_limits' in section: 'DEFAULT' No option 'show_machine_speed' in section: 'DEFAULT' No option 'show_distance_to_go' in section: 'DEFAULT' No option 'dro_large_font' in section: 'DEFAULT' No option 'block_delete' in section: 'DEFAULT' No option 'optional_stop' in section: 'DEFAULT' note: MAXV max: 25.000 units/sec 1500.000 units/min note: LJOG max: 25.000 units/sec 1500.000 units/min note: LJOG default: 6.000 units/sec 360.000 units/min note: AJOG max: 180.000 units/sec 10800.000 units/min note: AJOG default: 12.000 units/sec 720.000 units/min note: jog_order='XYZA' note: jog_invert=set()

Would be great if mesaflash also could detect it.

Please Log in to join the conversation.

More
10 months 4 days ago #340546 by PCW
Replied by PCW on topic Mesa 6i25 not working?
Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)

Please Log in to join the conversation.

More
10 months 4 days ago #340548 by sorokin_pro
Replied by sorokin_pro on topic Mesa 6i25 not working?

Will mesaflash recognize the card after LinuxCNC has run?

(I've seen this before with some BIO's that detect the card but for some reason disable the cards memory region)
 
No:
Code:
user@denc:~$ mesaflash --device 5I25 No 5I25 board found user@denc:~$ linuxcnc LINUXCNC - 2.9.7 Machine configuration directory is '/home/user/linuxcnc/configs/BenchtopX5' Machine configuration file is 'BenchtopX5.ini' Starting LinuxCNC... linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Waiting for component 'tpmod' to become ready..........Waited 3 seconds for master.  giving up. .Note: Using POSIX realtime . Found file(REL): ./BenchtopX5.hal hm2: loading Mesa HostMot2 driver version 0.15 hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7 hm2_pci: discovered 5i25 at 0000:02:00.0 hm2/hm2_5i25.0: Low Level init 0.15 hm2/hm2_5i25.0: Smart Serial Firmware Version 43 hm2/hm2_5i25.0: 34 I/O Pins used: 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) hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output) hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output) hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output) hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output) hm2/hm2_5i25.0:     IO Pin 010 (P3-07): IOPort hm2/hm2_5i25.0:     IO Pin 011 (P3-08): IOPort hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort hm2/hm2_5i25.0:     IO Pin 014 (P3-11): IOPort hm2/hm2_5i25.0:     IO Pin 015 (P3-12): IOPort hm2/hm2_5i25.0:     IO Pin 016 (P3-13): IOPort hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort hm2/hm2_5i25.0: registered hm2_5i25.0: initialized AnyIO board at 0000:02:00.0 Found file(REL): ./custom.hal note: MAXV     max: 25.000 units/sec 1500.000 units/min note: LJOG     max: 25.000 units/sec 1500.000 units/min note: LJOG default: 6.000 units/sec 360.000 units/min note: AJOG     max: 180.000 units/sec 10800.000 units/min note: AJOG default: 12.000 units/sec 720.000 units/min note: jog_order='XYZA' note: jog_invert=set() Shutting down and cleaning up LinuxCNC... Running HAL shutdown script task: 1471 cycles, min=0.000007, max=0.031596, avg=0.010006, 0 latency excursions (> 10x expected cycle time of 0.010000s) hm2_5i25.0: dropping AnyIO board at 0000:02:00.0 hm2/hm2_5i25.0: unregistered RTAPI_PCI: Unmapped 65536 bytes at 0x7fc2736fd000 hm2_pci: driver unloaded hm2: unloading Note: Using POSIX realtime user@denc:~$ mesaflash --device 5I25 No 5I25 board found

Please Log in to join the conversation.

More
10 months 4 days ago #340549 by PCW
Replied by PCW on topic Mesa 6i25 not working?
You need to use sudo with mesaflash when accessing PCI cards

Please Log in to join the conversation.

More
10 months 4 days ago #340550 by sorokin_pro
Replied by sorokin_pro on topic Mesa 6i25 not working?

You need to use sudo with mesaflash when accessing PCI cards
 
I just tried with and without sudo, I also tried while LinuxCNC is running.
Result is the same all the time:
Code:
user@denc:~$ mesaflash --device 5I25 No 5I25 board found user@denc:~$ sudo mesaflash --device 5I25 [sudo] password for user:  No 5I25 board found

Please Log in to join the conversation.

More
10 months 4 days ago #340552 by PCW
Replied by PCW on topic Mesa 6i25 not working?
Do get a warning when not using sudo?

If not, something really basic is broken here.

pcw@pcw-HP-Compaq-Elite-8300-USDT:~$ mesaflash --device 5i25
You need root privileges (or setuid root) to access PCI hardware
No 5I25 board found

What version of mesaflash do you have?

Please Log in to join the conversation.

More
10 months 4 days ago #340554 by tommylight
Replied by tommylight on topic Mesa 6i25 not working?

user@denc:~$ sudo mesaflash --device 5I25
-
i
is not
I
-
5i25 is not 5I25
Linux is case sensitive.

Please Log in to join the conversation.

More
10 months 4 days ago #340556 by sorokin_pro
Replied by sorokin_pro on topic Mesa 6i25 not working?

5i25 is not 5I25
Linux is case sensitive.

Here is a piece of code from mesaflash:
Code:
access.device_name[i] = toupper(access.device_name[i]);

Device names are converted to upper case automatically.

Please Log in to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum