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

More
11 Sep 2013 10:32 #38651 by PCW
Are you sure you have the new file installed in /lib/firmware/hm2/5i23?

You can check by doing this:

md5 /lib/firmware/hm2/5i23/rmsvss6_10_8.bit

The result should be:

MD5 (/lib/firmware/hm2/5i23/rmsvss6_10_8.bit) = 243050986cc43327f3e7fa256e0ac501

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 11:11 #38652 by JR1050
Using md5 gave me an unknown command error . I used md5sum and got the following,it is in the 5i23 directory.

jr1050@jr1050-desktop:~$ md5 /lib/firmware/hm2/5i23/rmsvss6_10_8.bit
No command 'md5' found, did you mean:
Command 'cd5' from package 'cd5' (universe)
Command 'mdu' from package 'mtools' (main)
Command 'mdb' from package 'mono-debugger' (universe)
md5: command not found


then

jr1050@jr1050-desktop:/lib/firmware/hm2/5i23$ md5sum rmsvss6_10_8.bit
243050986cc43327f3e7fa256e0ac501 rmsvss6_10_8.bit

It seems to match ????

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

More
12 Sep 2013 04:19 #38677 by PCW
Sorry that one was broken as well, sigh... Try re-fetching, should be fixed now.

The Xilinx make system had got itself into some kind of tizzy
and was not paying attention to changed source files anymore
so as many times as I checked the pinout file it was right
Finally put some uncompileable crap in the file and discovered
the file was being ignored...

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 Sep 2013 08:12 #38680 by JR1050
It happens.... murphy sneaks up on us all....thanks.

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 Sep 2013 10:51 #38682 by JR1050
New problem. The smart serial and the 7i84 do not show up in halshow. The 3rd connector shows up as gpio. I have field power on the 7i84. The driver is being loaded like so.

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


The resolvers and encoders show up in halshow and I can turn them by had and watch them count on the readout, I just have no smart serial or 7i84 pins showing up. Am I loading something wrong?

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

More
12 Sep 2013 16:19 #38688 by andypugh

New problem. The smart serial and the 7i84 do not show up in halshow. The 3rd connector shows up as gpio. I have field power on the 7i84. The driver is being loaded like so.

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


The resolvers and encoders show up in halshow and I can turn them by had and watch them count on the readout, I just have no smart serial or 7i84 pins showing up. Am I loading something wrong?


Do you see the expected number of resolvers? I am just wondering if the boards are loading in the right order. (It would be nice to have a more deterministic way of handling this).

If you can open two terminals then:
Terminal1% halrun
Terminal2% echo 5 > /proc/rtapi/debug
Terminal2% sudo dmesg -c
Terminal1% loadrt hostmot2
Terminal1% loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_pwmgens=0 num_encoders=0 num_stepgens=0 num_leds=0,firmware=hm2/5i23/rmsvss6_10_8.bit num_encoders=3 num_resolvers=3 num_pwmgens=5 num_stepgens=0 sserial_port_0=002xxx num_leds=0"
Terminal2% dmesg > hm2.txt

Then attach the hm2.txt file here?

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

  • JR1050
  • JR1050's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 Sep 2013 22:22 #38704 by JR1050
Ugh, its always the small things..... About 5 minutes after my last post ,I swapped the jumper on the 7i44 to use aux 5v and then added the 5v and the yellow led on the 7i84 turned red followed by green when emc loaded. I checked halshow,sserial loaded and all the 7i84 pins were there. My guess is there was not enough power available from the fpga for all 3 boards, even just for testing. Could be a duh moment......Andy ,thanks for the suggestion!!

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

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