Commit Graph

62 Commits

Author SHA1 Message Date
Knud Baastrup ba27819221 Applied base-0024-Sdo-directory-now-only-fetched-on-request
Sdo directory now only fetched on request.

The time-consuming SDO directory fetch during slave scan can now be
skipped by setting the EC_SKIP_SDO_DICT in globals.h. The directory
will now instead be fethed the first time an ethercat sdos command
is executed with the ethercat tool.
2023-08-29 14:38:54 +02:00
Florian Pose 8896d3b879 Applied 0020-eoe-ip.patch 2022-06-23 12:39:52 +02:00
Florian Pose d1dc6795f3 Applied 0010-Make-busy-logging-a-little-less-irritating.patch 2022-06-23 10:55:03 +02:00
Florian Pose 405c88f6d6 Applied 0005-disable-eoe.patch 2022-06-23 10:25:36 +02:00
Florian Pose efcd95ed9c Applied 0004-fix-eoe-clear.patch 2022-06-23 10:13:49 +02:00
Knud Baastrup ff75554c58 Internal SDO requests now synchronized with external requests.
Internal SDO requests are managed by master FSM and can conflict with
external requests managed by slave FSM. The internal SDO requests
includes SDO requests created by an application and external request are
typical created by EtherCAT Tool for SDO upload/download or a directory
fetch initiated with ethercat sdos command. The conflict will cause a
FPWR from an external request to be overwritten by a FPWR from an
internal SDO request (or oppersite) in the same "train" of datagrams.
2015-04-14 13:12:24 -04:00
Florian Pose a03d091ac0 Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose c7de6d8ec4 Minor: Fixed spacing. 2011-12-16 16:26:16 +01:00
Florian Pose c57242219f Minor: Fixed line wraps and spacing. 2011-08-01 17:02:45 +02:00
Martin Troxler ae09c143c9 Reduced frame size when sending to mailbox, uses 2 datagrams. Enabled with configure option --enable-mboxframesize 2011-03-14 16:55:09 +01:00
Martin Troxler f405ebef0a fixed race condition when comparing datagram state
EC_DATAGRAM_QUEUED must be compared before EC_DATAGRAM_SENT because it might change in between
2011-03-14 16:08:25 +01:00
Martin Troxler b3bfc21724 SoE request wait_event() deadlock fixed: use wait_event_interruptible and refcount ec_master_soe_request_t objects with kref 2011-01-05 12:46:12 +01:00
Martin Troxler 273be9d362 FoE wait_event() deadlock fixed: refcount ec_master_foe_request_t objects with kref 2011-01-05 09:50:35 +01:00
Martin Troxler f2131608f1 SDO wait_event() deadlock fixed: refcount ec_master_sdo_request_t objects with kref 2010-12-23 09:48:56 +01:00
Martin Troxler f78a45f668 Failed FoE transfer: notify foe_queue instead of sdo_queue 2010-12-23 09:28:39 +01:00
Martin Troxler fedec244d8 replaced injection_seq mechanism with fsm datagram queue 2010-12-16 09:49:17 +01:00
Martin Troxler 53056753da Increment injection_seq on slave state changes 2010-12-14 14:00:19 +01:00
Florian Pose d9f27a2597 Made send_interval variable an unsigned int; fixed format specifiers for
size_t variables.
2010-05-20 12:35:36 +02:00
Florian Pose 62b722ab33 Improved syslog macros. 2010-05-03 18:07:57 +02:00
Florian Pose 1d419954f2 Minor fix. 2010-03-19 12:39:05 +01:00
Florian Pose 3850763eca Implemented reading Sercos-over-EtherCAT services. To be continued... 2010-03-01 18:33:42 +01:00
Florian Pose a144042657 Removed tabulators. 2010-02-05 10:29:47 +01:00
Matthias Luescher bc69c4f97b Fixed sdo request handling in case of failure 2010-01-04 11:27:37 +01:00
Martin Troxler 1f23c5c2d2 undone changes of revision 1547: Abort SDO/FOE requests when slave is in INIT 2009-12-18 10:35:53 +01:00
Martin Troxler 926685db26 master FSM enables slave FSM
slave FSM should not be active when master is scanning or configuring the slaves
2009-12-15 10:59:07 +01:00
Martin Troxler e23af9cfdb Postpone SDO request when slave is in INIT 2009-12-10 13:19:21 +01:00
Martin Troxler d823576945 Moved FOE request queue and fsm into slaves 2009-12-01 16:00:22 +01:00
Martin Troxler abb3588747 Moved sdo request queue to slaves 2009-12-01 14:24:57 +01:00
Martin Troxler 0d17968348 Each slave got its own SDO state machine (faster handling of external SDO requests) 2009-11-26 15:33:48 +01:00
Florian Pose 5e22bcec73 Separated slave state machines. 2008-02-26 13:20:32 +00:00
Florian Pose 52e1a21be2 Check for FMMU limits. 2008-02-22 18:11:18 +00:00
Florian Pose 4d6ae02275 Fixed missing slave_error flag. 2008-02-22 18:07:47 +00:00
Florian Pose 39f4da4d4f Implemented missing datagram types. 2008-02-22 15:35:39 +00:00
Florian Pose 350c159a9d Renamed [PS]DO to [PS]do. 2008-02-22 12:29:30 +00:00
Florian Pose 0921c356a1 Fixed typo SAVEOP -> SAFEOP. 2008-02-22 11:33:49 +00:00
Florian Pose 2d0c48dbce Renamed ec_fsm_mapping_t to ec_fsm_pdo_mapping_t. 2008-02-19 16:18:01 +00:00
Florian Pose ea7aa51ed1 Pdo configuration. 2008-02-19 14:06:50 +00:00
Florian Pose 096a5cd2ce Renamed a few configuration states. 2008-02-19 10:33:26 +00:00
Florian Pose 6189092aed Implemented most realtime interface changes for version 1.4, improved
ec_pdo_t and ec_pdo_entry_t classes, added fmmu_config_t, adjusted
minimal example, etc...
2008-02-19 08:22:20 +00:00
Florian Pose aa1baf50a9 Cut off category data on exceeding eeprom size limit. 2008-01-08 15:18:30 +00:00
Florian Pose c5b3ade0c0 Updated Doxygen documentation. 2007-09-24 12:12:11 +00:00
Florian Pose 937b457d3e Fixed detection of missing EEPROM category limiter. 2007-09-20 09:44:27 +00:00
Florian Pose 27ebca0d9c Improved checking of EEPROM data while reading. 2007-09-20 09:12:27 +00:00
Florian Pose eb6e709e57 Improved handling for spontaneous AL state changes. 2007-09-19 17:17:45 +00:00
Florian Pose 579c49521f Master takes mailbox sync manager configurations from EEPROM words
0x0018-0x001b, if no sync manager configurations are provided.
2007-09-19 11:52:58 +00:00
Florian Pose 3cdf084fdc Minor fix: Set eeprom_size to 0 on unsuccessful memory allocation. 2007-09-19 09:07:36 +00:00
Florian Pose 99fc363c4f Debug statement, if slave does not support mailboxing. 2007-09-18 14:19:21 +00:00
Florian Pose 5bcf9d740f Better handling of unexpected working counters; introduced
ec_datagram_print_wc_error().
2007-09-12 10:07:55 +00:00