Very basic Pnconf questions - daughter boards

More
12 Jul 2014 06:28 #48674 by scruffythefirst
Hi All,


I'm trying to set up a 5i23 and 7i48 using Pnconf following on from this thread . I've read everything I can find on-line but am struggling to find the instructions I need, everything I can find either seems out of date or incomplete or for something slightly different.

I've upgraded the live CD to 2.5.4 from the buildbot, and hostmot2 to v 0.8.10.g3e97b6f using synaptic package manager, Pnconf is beta1 version.


Running Pnconf as root, I select the 5i23 in the basic machine information, SV12 firmware and tick 7i48 daughter board, set to 6 servos /pwm and accept components changes. So far, so good.

Looking on the I/O tabs, the Encoders (and PWM) are split over 2 I/O tabs, I can't see how this works with the 7i48, I was under the impression that all the encoders come through the 7i48 on one I/O 50 pin connector?

I think I'm missing something very simple here, either I don't have the latest version of Pnconf, the wrong firmware (none of the versions available list a 7i48, and several of the versions listed in the integrators manual are missing) or I need the 7i48 plugged in? Can anyone talk me through this in one set of instructions?

Thanks

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

More
12 Jul 2014 07:33 - 12 Jul 2014 07:34 #48677 by cmorley
yes the 7i48 requires specific firmware.
something like sv12_2x7i48_72

Do you have that firmware available?

Chris M
Last edit: 12 Jul 2014 07:34 by cmorley. Reason: spelling

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

More
13 Jul 2014 04:51 #48696 by scruffythefirst
Hi Chris,

I don't have that firmware available, it also doesn't appear to be in the zip file on the Mesa website. I have tried adding the .BIN and .PIN files from this thread 5i23svss6_8 firmware copied to lib/firmware/hm2/5i23 and usr/share/doc/hostmot2-firmware-5i23 but this doesn't appear to be recognised by Pnconf. Is there a specific location where all the available firmware is stored, I couldn't seem to find it with Google or in any of the docs.

I was also wondering if Pncconf could support the following hardware, or a similar combination?


5i23
7i48
7i52 (smart serial and MPG encoder)
7i66-8 (cabinet I/O + solenoid outputs)
7i84 (control panel I/O)

Many thanks

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

More
13 Jul 2014 08:06 #48708 by PCW
That will require a custom bitfile (Pretty sure there is not a 7I48_7I52 standard bitfile)
I can build one Monday or Tuesday when I get a bit of free time

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

More
13 Jul 2014 17:05 #48716 by scruffythefirst
Thanks, that would be great. Where would I find the complete list of standard bitfiles / firmware?

Hugh

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

More
13 Jul 2014 21:27 - 13 Jul 2014 21:28 #48732 by PCW
LinuxCNCs standard supplied bitfiles will be in /lib/firmware/hm2/5i23/
also the Mesa supplied 5i23.zip support image has additional bit files
(in /configs/hostmot2/)

If you want an idea of the relatively standard available pinouts,
you can look in the 5i23.zip file in configs/hostmot2/source, in the hm2source.zip
archive for all the files that match PIN_xxx_72.vhd (there are close to 100 72 pin pinouts)


That said, I know there is not a 7I48+7I52 bitfile
(and also there really are no _standard_ bitfiles only commonly used ones)
Last edit: 13 Jul 2014 21:28 by PCW.

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

More
15 Jul 2014 05:09 - 17 Jul 2014 11:15 #48783 by PCW
freeby.mesanet.com/5i23_7i48_7i52.zip

has bit,pin and xml files for a 5i23 with 7I48 on the first connector and 7I52 on the second (just GPIO on last)
Last edit: 17 Jul 2014 11:15 by PCW. Reason: fix url

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

More
17 Jul 2014 04:04 #48851 by scruffythefirst
Thanks very much for doing that so quickly, unfortunatley I get the following error when I try and apply at the end of the Pnconf process

PNCconf encountered an error. The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/pncconf", line 8371, in on_complete_finish
self.data.save()
File "/usr/bin/pncconf", line 3444, in save
self.write_halfile(base)
File "/usr/bin/pncconf", line 2470, in write_halfile
if "m1" in self["mesa0sserial0_%dsubboard"% (i-1)]:
File "/usr/bin/pncconf", line 3602, in __getitem__
return getattr(self, item)
AttributeError: Data instance has no attribute 'mesa0sserial0_5subboard'

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

More
17 Jul 2014 05:39 #48852 by PCW
I am pretty sure you have to leave pncconf behind with any custom
bitfile not specifically supported by pncconf, so you will have to edit the hal/ini files by hand

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

More
17 Jul 2014 10:40 #48859 by cmorley
It should work - I can't download the zip file (404 not found) or I would investigate.

Chris

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

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