Mesa 5i20 Smart Serial supporting Firmware
- dmaster
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
30 Sep 2012 17:14 #24750
by dmaster
Replied by dmaster on topic Re:Mesa 5i20 Smart Serial supporting Firmware
it doesn't run
insmod: error inserting '/usr/realtime-2.6.32-112-rtai/modules/linuxcnc/hm2_pci.ko': -1 Unknown symbol in module
insmod: error inserting '/usr/realtime-2.6.32-112-rtai/modules/linuxcnc/hm2_pci.ko': -1 Unknown symbol in module
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
30 Sep 2012 17:30 #24751
by PCW
Replied by PCW on topic Re:Mesa 5i20 Smart Serial supporting Firmware
Can you look at dmesg and see what the actual fault is?
Please Log in or Create an account to join the conversation.
- dmaster
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
30 Sep 2012 17:35 #24752
by dmaster
Replied by dmaster on topic Re:Mesa 5i20 Smart Serial supporting Firmware
[ 630.598100] hm2: loading Mesa HostMot2 driver version 0.15
[ 630.599933] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 630.599954] hm2_pci: discovered 5i20 at 0000:01:09.0
[ 630.599992] hm2_5i20.0: firmware: requesting hm2/5i20/SVSS_1.BIT
[ 630.705437] hm2/hm2_5i20.0: inconsistent Module Descriptor for Smart Serial Interface, not loading driver
[ 630.705441] hm2/hm2_5i20.0: Version = 0, expected 0
[ 630.705443] hm2/hm2_5i20.0: NumRegisters = 6, expected 6
[ 630.705446] hm2/hm2_5i20.0: InstanceStride = 0x00000004, expected 0x00000040
[ 630.705449] hm2/hm2_5i20.0: MultipleRegisters = 0x0000003C, expected 0x0000003C
[ 630.705452] hm2/hm2_5i20.0: inconsistent Module Descriptor!
[ 630.705455] hm2/hm2_5i20.0: failed to parse Module Descriptor 3
[ 630.705459] hm2_5i20.0: board fails HM2 registration
[ 630.705468] hm2_pci: probe of 0000:01:09.0 failed with error -22
[ 630.899489] hm2: unloading
[ 630.599933] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 630.599954] hm2_pci: discovered 5i20 at 0000:01:09.0
[ 630.599992] hm2_5i20.0: firmware: requesting hm2/5i20/SVSS_1.BIT
[ 630.705437] hm2/hm2_5i20.0: inconsistent Module Descriptor for Smart Serial Interface, not loading driver
[ 630.705441] hm2/hm2_5i20.0: Version = 0, expected 0
[ 630.705443] hm2/hm2_5i20.0: NumRegisters = 6, expected 6
[ 630.705446] hm2/hm2_5i20.0: InstanceStride = 0x00000004, expected 0x00000040
[ 630.705449] hm2/hm2_5i20.0: MultipleRegisters = 0x0000003C, expected 0x0000003C
[ 630.705452] hm2/hm2_5i20.0: inconsistent Module Descriptor!
[ 630.705455] hm2/hm2_5i20.0: failed to parse Module Descriptor 3
[ 630.705459] hm2_5i20.0: board fails HM2 registration
[ 630.705468] hm2_pci: probe of 0000:01:09.0 failed with error -22
[ 630.899489] hm2: unloading
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
30 Sep 2012 17:53 #24753
by PCW
Replied by PCW on topic Re:Mesa 5i20 Smart Serial supporting Firmware
in PIN_SVSS4_4_72.vhd, change
SSerialNumRegs, x"00", SSerialMPBitMask
to
SSerialNumRegs, x"10", SSerialMPBitMask
and in Top9030HostMot2.vhd change
-- InstStride1: integer := 64; -- instance stride 1 = 64 bytes = 16 x 32 bit registers
InstStride1: integer := 16; -- instance stride 1 = 16 bytes = 16 x 32 bit registers
to
InstStride1: integer := 64; -- instance stride 1 = 64 bytes = 16 x 32 bit registers
-- InstStride1: integer := 16; -- instance stride 1 = 16 bytes = 16 x 32 bit registers
SSerialNumRegs, x"00", SSerialMPBitMask
to
SSerialNumRegs, x"10", SSerialMPBitMask
and in Top9030HostMot2.vhd change
-- InstStride1: integer := 64; -- instance stride 1 = 64 bytes = 16 x 32 bit registers
InstStride1: integer := 16; -- instance stride 1 = 16 bytes = 16 x 32 bit registers
to
InstStride1: integer := 64; -- instance stride 1 = 64 bytes = 16 x 32 bit registers
-- InstStride1: integer := 16; -- instance stride 1 = 16 bytes = 16 x 32 bit registers
Please Log in or Create an account to join the conversation.
- dmaster
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
30 Sep 2012 18:36 #24756
by dmaster
Replied by dmaster on topic Re:Mesa 5i20 Smart Serial supporting Firmware
WOW! It's ALIVE!!!!
Now the main problem is connecting 7i44 and 7i71
loadrt hm2_pci config="firmware=hm2/5i20/SVSS_2.BIT num_encoders=4 num_pwmgens=4 num_3pwmgens=0 num_stepgens=0 sserial_port_0=00000000
How this line should look like?
Now the main problem is connecting 7i44 and 7i71
loadrt hm2_pci config="firmware=hm2/5i20/SVSS_2.BIT num_encoders=4 num_pwmgens=4 num_3pwmgens=0 num_stepgens=0 sserial_port_0=00000000
How this line should look like?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
30 Sep 2012 18:42 - 30 Sep 2012 18:53 #24757
by PCW
Replied by PCW on topic Re:Mesa 5i20 Smart Serial supporting Firmware
That looks OK but I think the bitfile is wrong I think you want PIN_SVSS4_8_72.vhd as the pinout file for a 7I44...
(with 7I44 on P4)
PIN_SVSS4_8_72.vhd should not need any changes
PIN_SVSS4_4_72.vhd was busted because its a weird pinout and has
probably never been tried with LInuxCNC
(with 7I44 on P4)
PIN_SVSS4_8_72.vhd should not need any changes
PIN_SVSS4_4_72.vhd was busted because its a weird pinout and has
probably never been tried with LInuxCNC
Last edit: 30 Sep 2012 18:53 by PCW.
Please Log in or Create an account to join the conversation.
- dmaster
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
30 Sep 2012 18:56 - 30 Sep 2012 18:57 #24758
by dmaster
Replied by dmaster on topic Re:Mesa 5i20 Smart Serial supporting Firmware
I've already figured it out ) thanks to "mentor"
in top9030Hostmot2.vhd
uncomment --use work.PIN_SVSS4_8_72.all; and comment previous
Is it right?
in top9030Hostmot2.vhd
uncomment --use work.PIN_SVSS4_8_72.all; and comment previous
Is it right?
Last edit: 30 Sep 2012 18:57 by dmaster.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
30 Sep 2012 19:14 #24759
by PCW
Replied by PCW on topic Re:Mesa 5i20 Smart Serial supporting Firmware
yep
Please Log in or Create an account to join the conversation.
- dmaster
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 1
30 Sep 2012 19:37 #24761
by dmaster
Replied by dmaster on topic Re:Mesa 5i20 Smart Serial supporting Firmware
SVSS4_8_72 firmware installed ( i called it SVSS_3)
7i44 is connected to 5i20 (on p4,)
7i70 is connected on 7i44 0 port
I've tried this
loadrt hm2_pci config="firmware=hm2/5i20/SVSS_3.BIT num_encoders=4 num_pwmgens=4 num_3pwmgens=0 num_stepgens=0 sserial_port_0=00000000 "
and this
net siGGnal hm2_5i20.0.7i71.0.1.output-00
got this
Pin ' hm2_5i20.0.7i71.0.1.output-00' does not exist
7i44 is connected to 5i20 (on p4,)
7i70 is connected on 7i44 0 port
I've tried this
loadrt hm2_pci config="firmware=hm2/5i20/SVSS_3.BIT num_encoders=4 num_pwmgens=4 num_3pwmgens=0 num_stepgens=0 sserial_port_0=00000000 "
and this
net siGGnal hm2_5i20.0.7i71.0.1.output-00
got this
Pin ' hm2_5i20.0.7i71.0.1.output-00' does not exist
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
30 Sep 2012 19:41 - 30 Sep 2012 19:49 #24762
by PCW
Replied by PCW on topic Re:Mesa 5i20 Smart Serial supporting Firmware
before you worry about pins I would check the 7I71 LEDs to verify that
1. You have field power (yellow LED on 7I71)
2. You have a blinky green light on 7I71 when you start LInuxCNC
3. Pretty sure he signal name would be hm2_5i20.0.7i71.0.0.output-00
since it is on sserialport 0 channel 0
1. You have field power (yellow LED on 7I71)
2. You have a blinky green light on 7I71 when you start LInuxCNC
3. Pretty sure he signal name would be hm2_5i20.0.7i71.0.0.output-00
since it is on sserialport 0 channel 0
Last edit: 30 Sep 2012 19:49 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.080 seconds