On Sat, 14 Apr 2018, P.J. Marsh wrote:

Date: Sat, 14 Apr 2018 08:04:29 +0100 (BST)
From: P.J. Marsh <pjma...@uhf-satcom.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] 7i43 Invalid Cookie message

Morning all,

A problem on my machines has appeared during recent updates; it does not stop either of my machines working but seems to indicate a firmware load error. I'm using 7i43's on 2 seperate cnc's, first a standard mill, second a router. 2 seperate PC's, different hardware, different parport cables etc. The error message does not affect the function of either machine in any way and they continue to work fine.

On either machine I see in dmesg:

[  798.554352] hm2/hm2_7i43.0:     IO Pin 047 (P3-47): IOPort
[  798.554402] hm2/hm2_7i43.0: registered
[ 798.554405] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found
[  798.554417] hm2_7i43: failed to clear EPP Timeout!
[  798.556426] hm2_7i43: /DONE is not low after CPLD reset!
[ 798.556431] hm2: no firmware specified in config modparam! the board had better have firmware configured already, or this won't work [ 798.556443] hm2_7i43.1: EPP timeout on data cycle of read(addr=0x0100, size=4)
[  798.556450] hm2_7i43: failed to clear EPP Timeout!
[  798.556455] hm2/hm2_7i43.1: error reading hm2 cookie

I'm using the svst4_6.bit bit file. When loaded to the card using the mesaflash tools, the firmware image loads perfectly and the pin assignments can be read back from the card with no errors reported. I did see on the list that there were previous issues with reading back checksums from other similar bitfiles, just wondering if my issue is something similar. I've tried setting epp_wide mode to off and it made no difference. I've verified on both machines that EPP1.9 is configured.

If anyone can shed any light on a possible fix it would be appreciated.

The machines configs are both similar to:

.INI
[HOSTMOT2]
DRIVER=hm2_7i43
BOARD=7i43
CONFIG="firmware=hm2/7i43-4/SVST4_6.BIT num_encoders=3 num_pwmgens=0 num_stepgens=5"

.HAL
loadrt trivkins loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES loadrt hostmot2
loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG)

Thanks and Regards,

Paul.
pjm in #linuxcnc

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



What update did you do? (what version of LinuxCNC are you running)

The messages seem to indicate a problem in the driver,  It looks like it found
and configured the card, then tried again.


Peter Wallace
Mesa Electronics

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to