5i25 + 7i73

More
14 Dec 2019 05:34 #152643 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73

is probably close to what you want
(assuming you have a -16 card)

Yes, I have a -16 card.
7i44 on P2 is ok, but 7i47 is not what I intended.

I want to use as much steppers on the 7i47 as possible (I read about 12 steppers).
Encoders are a later option.
At start I want to drive steppers with the 7i47, use analog channels of a 7i33 for overwrite knobs and 8x8 keypad on each 7i33 for keyboard and GPIO on 7i33 should be fast enuf for endstops or so.

PWM - yes I want pwm, but I don't know, where it will be best located.

When I buy encoders (I plan about magnetic absolute encoders with serial interface), I'll probabely have to buy another daughter for the 5i24 ...

What do you think?

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

More
14 Dec 2019 07:24 - 14 Dec 2019 10:49 #152645 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73
Argh - 400 bucks wasted and same result :(

I tested the bitfile 5i24_16_sssvst8_1_5_7i47.bit
7i47 and 7i44 connected and powered with separate power and connected 7i73 on channel 0 and channel 1

hal documentation says, that config options for 7i44 could be found in mesa doc - did not find anything in there.
So i tried the same commandline as with 5i25
halrun
loadrt hostmot2
loadrt hm2_pci config=" num_encoders=5 num_pwmgens=1 num_stepgens=5 sserial_port_0=1110xx"
first the output from mesaflash

File Attachment:

File Name: 5i24.txt
File Size:6 KB


next the output from loadrt hm2_pci:

File Attachment:

File Name: 5i24_pinout.txt
File Size:4 KB


and last the output from show pin:

File Attachment:

File Name: 5i24_pinout_X.txt
File Size:18 KB


no smartserial or any pin of a 7i73-card found.

I additionally searched the forum for 7i44, but it looks like other users needed a bitfile, but no one asked for hal config options. What am i missing?

P.S.: the 7i73 cards did not change red led
P.P.S.: i discovered the --serial option for mesaflash. Output is:
SSLBP port 0:
   SSLBP Version: 1.43
   SSLBP Channels: 8
   SSLBP Baud Rate: 2500000
Attachments:
Last edit: 14 Dec 2019 10:49 by Reinhard.

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

More
14 Dec 2019 11:19 #152647 by PCW
Replied by PCW on topic 5i25 + 7i73
The mesaflash listing is not for the 5i24_16_sssvst8_1_5_7i47.bit bitfile
did you do a --reload before testing?

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

More
14 Dec 2019 13:36 - 14 Dec 2019 13:50 #152648 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73
Hi,

I was not sure, so I started the box again and issued a reload from fallback ...
... and get the same result.
So yes - I did a reload before testing.
... and before you ask: I have not tried another bitfile for the 5i24

Do I need to write the bitfile in primary memory to get it working?

P.S. to find the way back to this forum-section:
I created an xml-file with mesaflash and copied the output from --readhmid into a pin-file.
Then I created a directory called "hostmot2-firmware-5i24" at /usr/share/doc and copied the xml-file to /lib/firmware/hm2/5i24 ...
... but when I select the 5i24 entry in pncconf, it traps with this error:
Traceback (most recent call last):
  File "/usr/local/src/linuxcnc-dev/bin/pncconf", line 1989, in on_mesa_boardname_changed
    self.fill_firmware(boardnum)
  File "/usr/local/src/linuxcnc-dev/bin/pncconf", line 1998, in fill_firmware
    self.mesa_firmware_search(title)
  File "/usr/local/src/linuxcnc-dev/bin/pncconf", line 895, in mesa_firmware_search
    self._p.FIRMDIR,boardtitle,currentfirm+".xml"))
  File "/usr/local/src/linuxcnc-dev/bin/pncconf", line 943, in parse_xml
    meta = self.get_board_meta(currentboard)
NameError: global name 'currentboard' is not defined
What else do I have to do, to get pncconf working?
Last edit: 14 Dec 2019 13:50 by Reinhard.

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

More
14 Dec 2019 15:49 - 14 Dec 2019 16:31 #152650 by PCW
Replied by PCW on topic 5i25 + 7i73
Can you try this bitfile?

freeby.mesanet.com/5i24_16_sssvst8_5_1_7i47.bit

sudo mesaflash --device 5i24 --write 5i24_16_sssvst8_5_1_7i47.bit
sudo mesaflash --device 5i24 --reload
sudo mesaflash --device 5i24 --readhmid > pinout.txt
Last edit: 14 Dec 2019 16:31 by PCW.

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

More
14 Dec 2019 16:01 #152651 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73
mesaflash says: invalid bitfile header

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

More
14 Dec 2019 16:20 - 14 Dec 2019 16:23 #152652 by PCW
Replied by PCW on topic 5i25 + 7i73
what does
md5sum 5i24_16_sssvst8_5_1_7i47.bit
print?

I get
md5sum 5i24_16_sssvst8_5_1_7i47.bit
bf586d72aae6fac788f7ff95e920d912 5i24_16_sssvst8_5_1_7i47.bit

Edit: I missed the leading "b" in the first copy/paste
Last edit: 14 Dec 2019 16:23 by PCW.

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

More
14 Dec 2019 16:26 #152653 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73
did you noticed, that the file, you linked has double t extension?
Might be a different file ...
md5sum 5i24_16_sssvst8_5_1_7i47.bitt

826ad9a4b51b36c805a476fcf7ddad42  5i24_16_sssvst8_5_1_7i47.bitt

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

More
14 Dec 2019 16:33 - 14 Dec 2019 16:34 #152654 by PCW
Replied by PCW on topic 5i25 + 7i73
Sorry, copy paste error (there is no .bitt file so you probably have a 0 length file)

freeby.mesanet.com/5i24_16_sssvst8_5_1_7i47.bit
Last edit: 14 Dec 2019 16:34 by PCW.

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

More
14 Dec 2019 16:53 #152655 by Reinhard
Replied by Reinhard on topic 5i25 + 7i73
No, the file was not empty. But I did not look into it or checked size ...
... file contained html error message 404

So the right file looks quite better. I don't want muxed functions.

File Attachment:

File Name: 5i24_pinou...2-14.txt
File Size:6 KB


But ... stil no smart serial success.

File Attachment:

File Name: 5i24.hal.txt
File Size:5 KB
Attachments:

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

Moderators: cmorley
Time to create page: 0.697 seconds
Powered by Kunena Forum