On Mon, 7 Dec 2015, Mark Johnsen wrote:

Date: Mon, 7 Dec 2015 21:46:11 -0800
From: Mark Johnsen <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
    <[email protected]>
To: [email protected]
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update

Stephen,

Can you post a link to the entire dmesg list after you get a sserial error?

(clearing the log before you start linuxcnc )

that is from a terminal window:

sudo dmesg -C  (clear the existing messages)

(run linuxcnc until you get the sserial error)

dmesg > log.txt

and post log.txt



I have the same issue and haven't been able to find a solution when I
upgraded from 2.6.8  (?) to 2.7.0.  First I updated the firmware on my 5i25
& 7i77.  When I would run 2.7.0 I would get the following communication
error.
[   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been
more than 1 errors in 10 thread executions at least 200 times. See other
error messages for details.
[   87.831908] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

 I could jog anywhere from 2 seconds to 10 seconds and LinuxCNC would
inform me of the error and shut down the 7i77 card.  Only way to restart
was to restart linuxcnc (that I found).

The suggestion was that the 5vdc power supply powering the 7i77 was the
problem potentially drawing too much current and lowering the voltage
outside the 7i77 10% 5vdc range.  I had been running the 7i77 from the PC
through the 5i25 and over the cable and doing this for months.  So, I first
tried a 3amp 5Vdc wal wart (that I bought at some electronic store for too
much$$$) and that didn't make a difference, then I bought a meanwell 5vdc
power supply from jameco.  I would say that the meanwell holds a steady
5.1Vdc, but that didn't work either.

I did upgrade to 2.7.2 and that seemed to work better.  At least I could
jog longer or even run a program, but in the end, I still got the
communication errors.  When I did run the program, I had a 24vdc Ice cube
relay (omron, idec type) for the lube pump and I had pulled it and didn't
use it (too much lube).  I wonder if that was an issue because I had
forgotten I had it out, put it in the relay socket 2/3rds through a
program, and at the END of my cnc program, I got the errors for the
communication.  In the mesa 7i77 manual, it does say that the 24vdc outputs
do NOT need diodes, which I would normally use for a relay like this.  Not
sure I need it.  Didn't add one, but I didn't think that would be the
problem.

Anyway, I have 2 harddrives that I swap between now and have the latest
2.6.11 (or is 10, I forget) on one harddrive and I can run that all day
long.  The 2nd harddrive has 2.7.2 and I don't run it at the moment because
I don't feel comfortable that it will work.  I had been meaning to
troubleshoot more and re-install the 2.7.2 harddrive (and upgrade to
2.7.3), but haven't gotten round tuit it...

One thing that I don't understand is that in the 2.7 upgrade instructions,
there's a line item:
2.1.2. Hostmot2 dpll
The Hostmot2 dpll??s default time constant has been changed from 40960 to
2000. The original value could occasionally lead to following errors when
software like ntpd and ntpdate adjusted the rate of the linux
CLOCK_MONOTONIC time source by up to 1000ppm in a single step. The new
value allows the dpll to adjust to the change in the base period frequency
without error.

I don't know enough to know how that affects me, nor if that would be a
problem (probably not), but it's a statement and I didn't do anything for
it in the upgrade (like removing pet_watchdog).

Anyway, I hope we can find a solution, I'm a bit perplexed by it...  I
can't look at it too much this week, but maybe next I can work on it more.

Oh - one more thing is that I did have in my possession for about 1 week
(thank you Peter & Katherine!) a brand new 5i25/7i77 combo and got the same
errors.  So, we're apparently doing something here, just not sure what it
is.

Regards,
Mark




------------------------------

Message: 3
Date: Mon, 7 Dec 2015 21:29:54 -0500
From: Stephen Dubovsky <[email protected]>
Subject: Re: [Emc-users] linuxcnc 2.7.3 - mesa 7i77 update
To: "Enhanced Machine Controller (EMC)"
        <[email protected]>
Message-ID:
        <
caopja+aqe_4hdozokhsnwggkwiy7vseftjzgzwmgqdfzdrq...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Ok, updated the 7i77 per your instructions.  That seemed to work.  It got
rid of the messages when 2.7.3 starts up.  So far so good,

When I now F2 enable the machine I get a slew of "hm2/hm2_5i25.0: Smart
serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character" each with a
..."error = (13) Communication error"

Looks like something is still mismatched?

FWIW, it looks like the 5i25 is ver 1.43.  Newer than it was, though not
sure if that is the latest.

Thank you,
Stephen

On Mon, Dec 7, 2015 at 12:06 AM, Stephen Dubovsky <[email protected]>
wrote:

> Thank you! Will try it tomorrow evening.
> On Dec 6, 2015 11:33 PM, "Marius Alksnys" <[email protected]>
> wrote:
>
>> Stephen,
>>
>> you should download "Version 14 serial remote I/O card firmware" from
>> www.mesanet.com, under ANYTHING I/O DAUGHTER CARDS, unzip it, and
follow
>> the README file in sserial/utils/linuxcnc.
>>
>> So, you will need ssinstall script and a special script, called
update7i77
>>
>> 12/07/2015 06:03 AM, Stephen Dubovsky ra??:
>> > Hello all,
>> > Upgraded the Ubuntu mill (2.5?) to 2.7.3.  Using a 5i25 & 7i77.  It
>> > complained that the 7i77 needed updating.  I found some docs on the
>> forum
>> > and updated the 5i25.  But it still complains "hm2/hm2_5i25.0:
Warning:
>> > sserial remote device 7i77 channel 0 has old firmware that should be
>> > updated" (I also get a warning for ch 1.)  How do I update the 7i77
>> > firmware?  I moved the jumpers W4 & W12 (?) on the 7i77 like the
>> > instructions said to when I updated the 5i25.  Is there something
else I
>> > have to run besides mesaflash?
>> >
>> > I had to rerun pncconf to regenerate the hal/ini fles. 2.7.3 crashed
on
>> the
>> > old ones but the new seem fine.  I just opened the old .pncconf files
>> and
>> > right-clicked all the way to the last menu and re-saved them.
>> >
>> > Thank you,
>> > Stephen

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to