Mesa 7i92 help

More
23 Sep 2020 14:49 #183475 by prochj51
Mesa 7i92 help was created by prochj51
Hi,

I connected Mesa 7i92. I intend to use with BOB so I mesaflashed the 7i92_5ABOBx2D.bit in there.
I just wanted to verify that the communication is alright so I wanted to light up USER LED on 7i92.

I can load the card config.
tom@linuxcnc:~/Desktop/7i92/7i92/configs/hostmot2$ halrun
halcmd: hostmot2
<stdin>:1: Unknown command 'hostmot2'
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip="192.168.1.121"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
iptables: No chain/target/match by that name.
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:13:05:1b
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): PWMGen #0, pin Out0 (PWM or Up) (Output)
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): IOPort

then I light up the LED CR1
halcmd: setp hm2_7i92.0.led.CR01 true

show pin shows that value is true, but the LED itself does nothing.
I also tried to toggle I/O but it does not seem to react.

Would anyone know what I do wrong?

Thank you.
Jiri

Please Log in or Create an account to join the conversation.

More
23 Sep 2020 15:21 #183481 by PCW
Replied by PCW on topic Mesa 7i92 help
The default user LED function monitors received packets
(ping the card to verify)

Please Log in or Create an account to join the conversation.

More
23 Sep 2020 16:02 #183490 by prochj51
Replied by prochj51 on topic Mesa 7i92 help
When I ping it, it has some light up sequence.

How can I turn it on from halrun then?

Please Log in or Create an account to join the conversation.

More
23 Sep 2020 16:33 - 23 Sep 2020 16:41 #183496 by PCW
Replied by PCW on topic Mesa 7i92 help
You cannot, but you can setup the LEDs to temporarily follow the hal LED pins (until power cycle) via elbpcom:

elbpcom 01D914000000

You could also set this permanently by writing the correct EEPROM variable in space 2
Last edit: 23 Sep 2020 16:41 by PCW.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.072 seconds
Powered by Kunena Forum