Commit Graph

50 Commits

Author SHA1 Message Date
Florian Pose cd480be3a1 Improved error checking on SDO upload. 2009-06-15 12:33:48 +00:00
Florian Pose 2550b77338 Slightly improved CoE download expedited request. 2009-05-07 11:41:45 +00:00
Florian Pose da1c5588de Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 75992b9aa4 merge -c1622 branches/1.4-foe: Fixed seg_size parameter when processing an CoE Upload Segment Response. 2009-01-26 14:13:50 +00:00
Florian Pose 40ee89a77f merge -c1621 branches/1.4-foe: Introduced configured_[tr]x_mailbox(size|offset) members of slave. 2009-01-26 13:28:19 +00:00
Florian Pose 5d4b915317 merge -c1619 branches/1.4-foe: Implemented going to bootstrap state BOOT. 2009-01-26 13:22:05 +00:00
Florian Pose 826ae37b26 merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms. 2009-01-26 11:45:30 +00:00
Florian Pose 5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose 8d46a283f6 Improved error case return codes of many functions. 2008-11-17 17:18:02 +00:00
Florian Pose f552f81763 merge -c1582 branches/stable-1.4: Typo. 2008-11-06 15:46:40 +00:00
Florian Pose 86956a05c8 Only query Sdo information service, if slave supports it. 2008-09-24 08:32:55 +00:00
Florian Pose cdd1315dbd Use expedited transfer type for Sdos <= 4 byte. 2008-07-29 09:04:55 +00:00
Florian Pose 46b310046e Fixed CoE transfer timeout bug. 2008-07-17 10:03:15 +00:00
Florian Pose 11e9531363 Improved timeout error messages. 2008-07-14 12:16:07 +00:00
Florian Pose c0b7fca9b6 Improved source code doc. 2008-07-04 12:06:10 +00:00
Florian Pose 5223684939 Central CoE timeouts; retry on CoE response mismatch. 2008-06-23 12:03:37 +00:00
Florian Pose a11d897b5e Response timeout for checking Sdo upload. 2008-06-19 13:35:34 +00:00
Florian Pose 05cbdfd999 Use jiffies instead of cycles in CoE state machine. 2008-06-19 10:17:52 +00:00
Florian Pose 1415090d15 Store abort code in sdo request; output it in user space; added some
re_size checking in fsm_coe.
2008-06-19 09:24:22 +00:00
Florian Pose 10ce3ceda1 Added response timeout to sdo_request; removed timout from fsm_coe_map. 2008-06-19 07:54:45 +00:00
Florian Pose b54bc11567 Replaced a few GFP_ATOMIC allocations with GFP_KERNEL ones. 2008-06-12 08:31:06 +00:00
Florian Pose 22fe4a1841 Removed kobjects from sdo and slave. 2008-06-12 07:15:54 +00:00
Florian Pose 5f6dc8c5a1 Removed kobject from sdo entry. 2008-06-11 15:37:38 +00:00
Florian Pose 2a7a7e2e5c Replaced misleading %i by %u. 2008-06-10 11:54:39 +00:00
Florian Pose e654535c2d Added debugging for sdo download. 2008-06-09 12:35:00 +00:00
Florian Pose 40c94387d8 Renamed subindices to max_subindex. 2008-06-06 09:15:56 +00:00
Florian Pose 85e8f72c68 Output subindices with %02X. 2008-05-30 09:39:29 +00:00
Florian Pose 5a852bc210 Check for emergency requests during CoE transfers. 2008-04-18 11:26:13 +00:00
Florian Pose 486c66f43a Added CoE debugging. 2008-03-18 10:48:55 +00:00
Florian Pose a5e68a7f60 Minor change: Moved state assign to beginning. 2008-03-04 11:20:48 +00:00
Florian Pose 57094eaf48 Replaced ec_fsm_coe_\(upload\|download\)() with ec_fsm_coe_transfer();
reading and writing access possible.
2008-03-04 10:18:02 +00:00
Florian Pose 5ea60febf9 Removed ec_sdodata_t; CoE state machines work on ec_sdo_request_t. 2008-03-03 16:22:39 +00:00
Florian Pose a4095b4201 Separated SII data from slave. 2008-02-27 15:24:00 +00:00
Florian Pose 397b5bf0cc Reading of Pdo mapping via CoE during scan. 2008-02-26 16:58:20 +00:00
Florian Pose 7341a1973c CoE state machines raising error, if the slave does not support CoE. 2008-02-22 18:25:44 +00:00
Florian Pose 350c159a9d Renamed [PS]DO to [PS]do. 2008-02-22 12:29:30 +00:00
Florian Pose bcf3dfb1ca Fixed normal/expedited bug at CoE upload; more robust behaviour, when
fragments_left is set.
2007-12-18 16:56:52 +00:00
Florian Pose 0fe3931b47 Removed 'sdo' field from ec_sdo_request_t; Exported
ec_sdo_request_\(init_read|clear\)().
2007-09-19 17:25:48 +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
Florian Pose 37baf012fb Removed ecrt_master_run(), removed datagram queueing from state
machines, added datagram injection, two different master thread
functions.
2007-03-08 13:02:42 +00:00
Florian Pose 53c66dad4f Added datagram state to "Failed to receive..." messages. 2007-02-22 13:39:19 +00:00
Florian Pose 54b06ceb6f State machines re-send datagrams on timeout. 2006-12-18 18:10:52 +00:00
Florian Pose 7edbaa7ec7 Fixed typo in CoE FSM. 2006-12-18 11:48:48 +00:00
Florian Pose e3b241a79a kobject_add() in constructors. 2006-11-06 14:22:35 +00:00
Florian Pose 9f6d10e2b8 Fixed CoE Upload Request, now 10 bytes of Mailbox Service Data. 2006-11-03 12:18:37 +00:00
Florian Pose 1f44556083 Print certain warnings only at debug_level. 2006-10-27 13:59:49 +00:00
Florian Pose fa99dfa321 Print certain logs only at debug_level. 2006-10-27 13:31:26 +00:00
Florian Pose b6e88ad403 Persistent slave lists. 2006-10-26 16:29:26 +00:00
Florian Pose fb556ebefd Layed out CoE state machine. 2006-10-24 08:00:24 +00:00