<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Helvetica Neue";
panose-1:2 0 5 3 0 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Helvetica Neue";
color:#454545;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">I am using etherlab ethercat 1.5.2. </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Which etherlab patchset version supports FoE ?</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">I also prefer using Twincat but my specification requires firmware update with Etherlab Ethercat. </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Thank you very much Gavin for your answer.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">Gavin Lambert <gavin.lambert@tomra.com><br>
<b>Date: </b>Wednesday, May 27, 2020 at 4:24 PM<br>
<b>To: </b>Pierre Kurkdjian <pkurkdjian@gmto.org>, "etherlab-users@etherlab.org" <etherlab-users@etherlab.org><br>
<b>Subject: </b>[EXTERNAL] RE: foe_write returns error<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Which version of the Etherlab master are you using?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Out of the box, FoE does not work – you need to use the unofficial patchset version.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Having said that, where possible I’d still recommend using TwinCAT to update the firmware of Beckhoff slaves.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p><strong><span style="font-family:"Calibri",sans-serif;color:#595959">Gavin Lambert</span></strong><b><span style="color:#595959"><br>
</span></b><span style="color:#595959">Senior Software Developer<o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><img width="360" height="102" style="width:3.75in;height:1.0625in" id="_x0000_i1031" src="cid:image001.png@01D63444.69A48B20"></span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
<a href="http://www.compacsort.com/"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1030" src="cid:image002.png@01D63444.69A48B20" alt="TOMRA"></span></span></a><a href="https://www.facebook.com/Compacsort"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="_x0000_i1029" src="cid:image003.png@01D63444.69A48B20" alt="Facebook"></span></span></a><a href="https://www.linkedin.com/company/compac-sorting-equipment/"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="35" height="37" style="width:.3645in;height:.3854in" id="_x0000_i1028" src="cid:image004.png@01D63444.69A48B20" alt="Linkedin"></span></span></a><a href="https://vimeo.com/compacsort"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="37" height="37" style="width:.3854in;height:.3854in" id="_x0000_i1027" src="cid:image005.png@01D63444.69A48B20" alt="Youtube"></span></span></a><a href="https://twitter.com/compacsort"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1026" src="cid:image006.png@01D63444.69A48B20" alt="twitter"></span></span></a><a href="https://www.instagram.com/compacsort/"><span style="color:windowtext;text-decoration:none"><span style="color:blue"><img border="0" width="33" height="37" style="width:.3437in;height:.3854in" id="_x0000_i1025" src="cid:image007.png@01D63444.69A48B20" alt="instagram"></span></span></a><o:p></o:p></span></p>
<p><b><span style="font-size:8.5pt;color:#595959">COMPAC SORTING EQUIPMENT LTD</span></b><span style="font-size:8.5pt;color:#595959"> | 4 Henderson Pl | Onehunga | Auckland 1061 | New Zealand<br>
Switchboard: +64 96 34 00 88 | <a href="http://www.tomra.com">tomra.com</a> <o:p>
</o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td valign="top" style="border-top:solid #595959 1.0pt;border-left:none;border-bottom:solid #595959 1.0pt;border-right:none;padding:0in 0in 0in 0in">
<p><span style="font-size:8.5pt;color:#595959">The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication
in error, please notify the sender and delete the communication. <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;color:white">From:</span></b><span style="font-size:11.0pt"> Pierre Kurkdjian<br>
<b>Sent:</b> Thursday, 28 May 2020 05:20<br>
<b>To:</b> etherlab-users@etherlab.org<br>
<b>Subject:</b> [etherlab-users] foe_write returns error</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Hello Etherlab Ethercat community,
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1"><span style="font-size:11.0pt">I am trying to update the ethercat firmware of a Beckhoff slave using the command “ethercat foe_write”.
</span><o:p></o:p></p>
<p class="p1"><span style="font-size:11.0pt">I set the ethercat slave to the right state (BOOT state) and then I run the command “ethercat foe_write”. Unfortunately I get an error message (“</span>Failed to write via FoE: FOE_TIMEOUT_ERROR<span style="font-size:11.0pt">”)
and I don’t know whether the firmware has been updated or not. </span><o:p></o:p></p>
<p class="p1"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1"><span style="font-size:11.0pt">This is what I do: </span><o:p></o:p></p>
<p class="p1"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="p1">$ ethercat -p0 state INIT<o:p></o:p></p>
<p class="p1">$ ethercat -p0 state BOOT<o:p></o:p></p>
<p class="p1">$ ethercat foe_write -p0 -o ECATFW__ the_new_firmware.hex<o:p></o:p></p>
<p class="p1">Failed to write via FoE: FOE_TIMEOUT_ERROR<o:p></o:p></p>
<p class="p1"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Notice: the file named “</span>the_new_firmware.hex<span style="font-size:11.0pt">“ really exists. If I enter the name of a non-existing file then I get a different error message.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Did someone get the same issue. Thank you for your help.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Best, </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Pierre</span><o:p></o:p></p>
</div>
</body>
</html>