Setting up Dual 5i20's,7i49, 7i33 and7i44 setup

More
01 Sep 2013 10:30 #38344 by andypugh

For encoders+resolvers the encoder/resolver/PWM channels will not match


I will just point out that this doesn't matter, my Z is Resolver 0, PWM 2, and 8i20 1 (I think) for various reasons I have forgotten.

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
09 Sep 2013 06:10 #38549 by JR1050
Is there a bitfile available for setting up a7i49 on one connector of a 5i23 and a 7i33 on another?
Im using :

loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_pwmgens=0 num_encoders=0 num_stepgens=0,firmware=hm2/5i23/rmsvss6_8.bit num_encoders=3 num_resolvers=3 num_pwmgens=5 num_stepgens=0 sserial_port_0=002xxx"

to load the drivers and the encoders are not showing up in halshow. Emc wont load the my halfile with any references to encoders,probably because they dont exist. Suggestions?

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

More
09 Sep 2013 08:35 #38551 by PCW
I don't think there's standard bitfile like that but it can be
patched together from some standard pinouts fairly easily
I can try and do this Monday if I get a chance.

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
09 Sep 2013 08:40 #38552 by JR1050
Thank you,I would be hugely appreciative !!! Just out of curiosity, how does one make and compile a bit file. I looked at the xml files for other cofigs....Thanks again.

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

More
09 Sep 2013 09:38 #38553 by PCW
Heres a _very_ brief description of how its done For hostmot2 bitfiles

Download the Xilinx tools (webpack) (this is free but big)
Download the HostMot2 source from Mesa
Select the proper top level file, card type and desired
configuration. (The configuration is defined in a single file called a pinout file)
If you no pinout file exists with the desired set of I/O features,
a new pinout file must be created
(I do this by cutting and pasting bits from existing pinout files)
Then compile the source and voilĂ , a new bitfile!

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

More
10 Sep 2013 07:00 #38581 by PCW
freeby.mesanet.com/rmsvss6_10_8.zip

contains .bit, .pin and .xml files for a 5i23 configuration with

7I49 on P2 (resolver interface)
7I33 on P3 (4 channel analog servo/encoder interface)
7I44 on P4 (8 channel sserial interface)

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 Sep 2013 09:02 #38585 by JR1050
Thanks!! I tried running this and got this from dmesg:

[100315.532732] hm2_pci 0000:04:06.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[100315.532735] hm2_pci: discovered 5i23 at 0000:04:06.0
[100315.532775] hm2_5i23.0: firmware: requesting hm2/5i23/rmsvss6_10_8.bit
[100315.805504] hm2/hm2_5i23.0: inconsistent Module Descriptor for Smart Serial Interface, not loading driver
[100315.805507] hm2/hm2_5i23.0: Version = 0, expected 0
[100315.805509] hm2/hm2_5i23.0: NumRegisters = 6, expected 6
[100315.805512] hm2/hm2_5i23.0: InstanceStride = 0x00000004, expected 0x00000040
[100315.805514] hm2/hm2_5i23.0: MultipleRegisters = 0x0000003C, expected 0x0000003C
[100315.805517] hm2/hm2_5i23.0: inconsistent Module Descriptor!
[100315.805519] hm2/hm2_5i23.0: failed to parse Module Descriptor 3
[100315.805524] hm2_5i23.0: board fails HM2 registration
[100315.805533] hm2_pci 0000:04:06.0: PCI INT A disabled
[100315.805539] hm2_pci: probe of 0000:04:06.0 failed with error -22
[100315.805588] hm2_5i20.0: dropping AnyIO board at 0000:04:05.0
[100315.805590] hm2/hm2_5i20.0: unregistered
[100315.986065] hm2: unloading
[100316.013671] RTAI[math]: unloaded.
[100316.026346] SCHED releases registered named ALIEN RTGLBH
[100316.056216] RTAI[malloc]: unloaded.
[100316.156032] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[100316.157647] I-pipe: Domain RTAI unregistered.
[100316.157684] RTAI[hal]: unmounted.

How do I fix this?Thanks as always

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

More
10 Sep 2013 09:50 #38587 by PCW
Oops, sorry. Must be the pinout file I started with had a bad stride
for the sserial module, Will fix tomorrow morning

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

More
11 Sep 2013 03:16 - 11 Sep 2013 03:17 #38648 by PCW
If you refetch the zipfile, it should be fixed
Last edit: 11 Sep 2013 03:17 by PCW.

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 Sep 2013 10:05 #38650 by JR1050
PCW,

Can you please double check this bit file, I loaded the new file and got the same thing.


[ 1014.826891] hm2_pci: discovered 5i23 at 0000:04:06.0
[ 1014.826945] hm2_5i23.0: firmware: requesting hm2/5i23/rmsvss6_10_8.bit
[ 1015.103609] hm2/hm2_5i23.0: inconsistent Module Descriptor for Smart Serial Interface, not loading driver
[ 1015.103614] hm2/hm2_5i23.0: Version = 0, expected 0
[ 1015.103616] hm2/hm2_5i23.0: NumRegisters = 6, expected 6
[ 1015.103618] hm2/hm2_5i23.0: InstanceStride = 0x00000004, expected 0x00000040
[ 1015.103621] hm2/hm2_5i23.0: MultipleRegisters = 0x0000003C, expected 0x0000003C
[ 1015.103623] hm2/hm2_5i23.0: inconsistent Module Descriptor!
[ 1015.103625] hm2/hm2_5i23.0: failed to parse Module Descriptor 3
[ 1015.103630] hm2_5i23.0: board fails HM2 registration
[ 1015.103647] hm2_pci 0000:04:06.0: PCI INT A disabled
[ 1015.103656] hm2_pci: probe of 0000:04:06.0 failed with error -22
[ 1015.103712] hm2_5i20.0: dropping AnyIO board at 0000:04:05.0



Thanks....

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

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