On Sun, 4 Oct 2015, Mark Johnsen wrote:

> Date: Sun, 4 Oct 2015 01:47:52 -0700
> From: Mark Johnsen <m...@ijohnsen.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: emc-users@lists.sourceforge.net
> Subject: [Emc-users] Upgrade to 2.7 Mesa 5i25/7i77 firmware
> 
> Hi,
>
> My upgrade to 2.7 is "still in process."  I have a communication error
> from the 5i25 to the sserial 7i77 (see below for error from dmesg).  I
> can start linuxcnc 2.7, make a jog, and after about 5-10 seconds I get
> a slew of communication errors and the sserial card is shut down.
>
> I had 5i25 firmware 33 (1.33) and needed to update that to 34 or
> higher.  I bought the 5i25/7i77 combo and wasn't quite sure which bit
> file to use.  I chose  mesaflash --device 5I25 --write
> 5i25_7i77x2.bit.   In the dmesg output it shows this:
> [   63.884444] hm2/hm2_5i25.0: Smart Serial Firmware Version 43
>
> So that seems to be at least at the correct version now.  Correct
> bitfile, not so sure?
>
> Also, I think I updated the firmware for the 7i77 okay, here's the
> command line response:
> mill@dlinux:~/linuxcnc/MESA/Update_7i77_FIRMWARE/utils/linuxcnc$ ./update7i77
> move 7I77 W4 and W12 to right hand positions
> cycle 7I77 field power and 5V power and hit return
>
> updating 7I77 field I/O
> .
> updating 7i77 analog out
> .
> now move 7I77 W4 and W12 to the left hand positiona
> and cycle field power and 5V power
> mill@dlinux:~/linuxcnc/MESA/Update_7i77_FIRMWARE/utils/linuxcnc$
> Broadcast message from root@dlinux (Sun Oct  4 00:29:04 2015):
>
> The first time I did that, I hadn't recycled field power and it didn't work.
>
> The full dmesg file can be found here:
> http://www.ijohnsen.com/dmesg_errors_20151004.txt
>
> Here's the tail end of the dmesg file w/ the communication errors:
> [   87.825896] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.825904] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.826893] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.826900] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.827892] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.827899] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.828896] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.828903] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.829894] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.829901] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.830895] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (13
>                                  ) Communication error
> [   87.830902] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0
> error = (4)
>                                   Extra character
> [   87.831899] hm2/hm2_5i25.0: Smart Serial Comms Error: There have
> been more th
>                                   an 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***
>
>
> HAL FILE Modifications
> I don't think there would be an issue w/ the Hal file mods, I
> commented out the lines per the instructions here:
> http://linuxcnc.org/docs/2.7/html/getting-started/updating-linuxcnc.html
> I had originally used pncconf to get the base Hal files and then
> edited them.  I commented out the  pet_watchdog line and loadrt
> probe_parport.  I didn't add anything else (there's no loading of a
> parport function) and also checked and didn't find anything for
> parport_pc in /etc/modprobe.d/linuxcnc.conf.
>
> Not really sure what I did wrong:-(
> Mark
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Usually sserial errors like that are related to power issues on the 7I77.
Make sure that the 7I77 and 5I25 are jumpered for external 7I77 5V power (not 
cable power) and that the external 5V suppled to the 7I77 is within 5% margins


Peter Wallace
Mesa Electronics

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to