Hi all,<br><br>I have to modify the EtherCAT Master to allow the Eeprom reading, first to go in preop state.<br><br>So I have to write the register 0x500 with data 0x01.<br><br>I read to an old mail, that I have to modify the fsm_slave_config.c file.<br><br>I try this:<br><br><font face="verdana">void ec_fsm_slave_config_enter_boot_preop(<br>        ec_fsm_slave_config_t *fsm /**< slave state machine */<br>        )<br>{<br><br>    // patch monteleone<br>    //     ec_slave_t *slave = fsm->slave;<br>    //     ec_datagram_t *datagram;   <br>    //     ec_datagram_fpwr(datagram, slave->station_address, 0x500, 1);<br>    //     EC_WRITE_U8(datagram->data, 0x01);<br>    // fine patch     <br>  <br>    fsm->state = ec_fsm_slave_config_state_boot_preop;<br><br>    if (fsm->slave->requested_state != EC_SLAVE_STATE_BOOT) {<br>        ec_fsm_change_start(fsm->fsm_change, fsm->slave, EC_SLAVE_STATE_PREOP);<br>    } else { // BOOT<br>        ec_fsm_change_start(fsm->fsm_change, fsm->slave, EC_SLAVE_STATE_BOOT);<br>    }<br><br>    ec_fsm_change_exec(fsm->fsm_change); // execute immediately<br>}<br></font><br><br>but is not correct? what I have to do?<br><br>greatings<br><br>simone monteleone<br><html xmlns="http://www.w3.org/1999/xhtml"><head>       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Alice</title>        <base target="_top" />  <style>           body {margin:0;padding:0;}      </style></head><body> <style>           #footer { height:13px; font-size:11px; font-family:Arial, FreeSans, sans-serif; color:#ADADAD; margin:0; padding:7px 12px; text-align:right; border-top:1px solid #dcdcdc; }            #footer a { text-decoration:none; color:#ADADAD; }              #footer a:hover { color:#848484; }      </style>  <div id="footer">               Inviato dalla <a href="http://go.alice.it/CLKC_WP_FE_footer/http://mail.alice.it" target="_top">nuova Alice mail</a>    </div></body></html>