Commit Graph

1145 Commits

Author SHA1 Message Date
Florian Pose 0b91af9bb2 Use SYNC0 + SYNC1 cycle times for cyclic start time generation. 2016-09-16 12:35:09 +02:00
Florian Pose e78d153199 Minor change. 2016-06-22 14:08:34 +02:00
Florian Pose 938289f396 Minor change. 2016-06-22 13:50:35 +02:00
Florian Pose dc92e57bc3 Minor changes. 2016-06-22 13:49:16 +02:00
Florian Pose be5dfb7278 Do not touch AL state of EoE slaves. 2016-05-03 15:14:42 +02:00
Florian Pose ccbec710d5 Fixed EoE data debug level 3. 2016-05-03 14:18:29 +02:00
Florian Pose e7300c8680 Print mailbox error response data only if data_size > 0. 2016-05-03 14:17:39 +02:00
Florian Pose c5d7b85bab Fixed endianess of EoE parameters. 2016-05-03 14:13:11 +02:00
Florian Pose 621241b394 New alloc_netdev() API since kernel 3.17. 2015-05-07 15:53:42 +02:00
Florian Pose 4d70145d53 merge 2016-01-22 13:09:43 +01:00
Florian Pose 9486892f7b Always clear PDO assignment of configured sync managers. 2016-01-22 10:11:58 +01:00
Florian Pose 0011332fd8 Typo. 2016-01-22 10:10:02 +01:00
Dave Page 45839e8666 16-ethercat-1.5-frame-corruption.patch
from ethercat-1.5.0-patches-v2.tar.bz2
by Frank Heckenbach f.heckenbach@ at fh-soft.de
Ref: http://lists.etherlab.org/pipermail/etherlab-dev/2014/000404.html
with some additional edits.
2015-04-14 16:25:44 -04: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
Knud Baastrup fd9e5a770e Maximum length of foe filename extended to 255. 2015-04-14 13:10:55 -04:00
Florian Pose dd49a34f83 Defined list_next_entry for older kernels. 2015-04-17 11:32:54 +02:00
Florian Pose 69c3f671f6 Fixed line wrapping. 2015-04-17 11:22:17 +02:00
Knud Baastrup c4b7de9406 Eoe mac address now derived from unique mac.
The EoE MAC address is now derived from the NIC part of the first global
unique MAC address of the linked list of available network interfaces or
otherwise the MAC address used by the EtherCAT master. The EoE MAC address
will get the format 02:NIC:NIC:NIC:RP:RP where NIC comes from the unique MAC
address (if available) and RP is the ring position of the EoE slave.
2015-04-14 10:12:55 -04:00
Florian Pose c81f24e68b Added --enable-loop-control to make use of the loop control registers. 2015-02-20 16:06:23 +01:00
Florian Pose a03d091ac0 Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
Florian Pose 36beb63ca1 Removed obsolete mailbox type name and clarified documentation. 2014-11-06 08:55:35 +01:00
Florian Pose 6b5fec7d90 Removed obsolete SoE type name. 2014-11-06 08:54:14 +01:00
Florian Pose ada77a70d0 Removed obsolete FoE type name. 2014-11-06 08:53:45 +01:00
Florian Pose 8165f931df Cleaned up EoE frame type definitions. 2014-11-06 08:53:11 +01:00
Florian Pose 887f04c02b EoE frame types. 2014-11-05 19:04:36 +01:00
Florian Pose 217888ccc3 Centrally defined mailbox types. 2014-11-05 18:42:12 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Gavin Lambert d9a93ffa24 Mark download data as const.
Remove redundant code.
[07-sdo-up-download]
2014-05-31 18:08:27 +12:00
Gavin Lambert 1d35113c85 Abort requests started for slave_configs that don't have any actual slaves. 2015-04-14 09:35:15 -04:00
Gavin Lambert 9e3510c455 When detaching a slave from a slave_config, fail any pending register requests instead of leaving them BUSY forever. 2015-04-14 09:34:15 -04:00
Gavin Lambert 0aaf68055e Do not force the DC reference clock to OP; if it is not configured it may refuse and flood the logs. 2014-05-31 15:37:33 +12:00
Dave Page 2fef3fdfb1 Add DEBUG_DATAGRAM_OVERFLOW to support ec_domain_finish datagram overflow testing 2015-04-07 21:25:43 -04:00
Dave Page 8350b85879 Fix datagram overflow layout issue 2015-04-07 21:07:16 -04:00
Dave Page 039f9ac74d Remove unused variable 2015-04-06 14:58:19 -04:00
Dave Page fad06b32f1 overlapping PDO split datagram support 2015-04-06 14:39:31 -04:00
Dave Page 69b5eb3a4f overlapping PDO initial working. datagram size is not correct 2015-04-02 16:49:36 -04:00
Dave Page 7beb81207d Refactor fmmu->logical_start_address to fmmu->logical_domain_offset 2015-03-26 17:41:57 -04:00
Dave Page b8c5ff836d Integrate skeleton of allow_overlapping_pdos from af21f0bdc7c9
Overlapping PDO API added, but not active/working.
No more changes than required to build.
EC_IOCTL_VERSION_MAGIC now 30
2015-03-26 15:16:21 -04:00
Dave Page f9dfaf3f9b Reduce frequency of DC Sync debug messages 2015-03-16 14:18:55 -04:00
Dave Page 42745f4ebb Fix fsm_foe timeout regression 2014-03-05 06:36:18 +13:00
Dave Page 9ffdb2e85b Gavin Lambert FoE Patches 2014-01-22 19:02:02 +13:00
Dave Page 1d1a651502 FoE: Fix expected packet number when busy 2014-01-22 15:53:19 +13:00
Dave Page d7ad553902 [etherlab-dev] [PATCH] FoE: fix read packet number check 2014-01-22 13:01:45 +13:00
Florian Pose 4db1985fdf Undefined debugging. 2015-04-17 10:22:11 +02:00
Dave Page b4b0474762 FoE: fix state transition when busy during read. Not working. 2014-01-22 13:00:52 +13:00
Dave Page 9412326b8b Fix spurious FoE write timeout 2013-12-16 14:18:30 -05:00
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose bbd210e4c8 Fixed malformed keywords. 2012-09-06 14:07:13 +02:00
Florian Pose 3fe3f0b987 Fixed AL status code lookup. 2012-08-06 14:18:05 +02:00
Florian Pose 03c932486a Added missing linux/modules.h include. 2012-07-23 16:10:45 +02:00