Commit Graph

639 Commits

Author SHA1 Message Date
Florian Pose ea384440f4 Implemented domain command. 2008-06-04 10:13:07 +00:00
Florian Pose e5f7d6f400 Introduced ec_master_domain_count() and ec_master_find_domain(). 2008-06-04 10:10:05 +00:00
Florian Pose 94bb141623 Working counter as uint16_t. 2008-06-04 08:43:08 +00:00
Florian Pose 879b6d0c8c Enable sync managers only if SII enable is set and size is greater zero. 2008-06-04 08:30:18 +00:00
Florian Pose d7faa4ccb2 Added debugging for ecrt_slave_config_reg_pdo_entry(). 2008-06-03 13:13:53 +00:00
Florian Pose f0b0b9a129 Check for matching data size when reading Sdo entries via sysfs. 2008-06-03 12:04:00 +00:00
Florian Pose b6cca218db Added 'xml' command to generate a slave description file from a real
slave.
2008-06-02 14:40:19 +00:00
Florian Pose fd77ad604d Added 'pdos' command to ethercat tool. 2008-06-02 10:51:31 +00:00
Florian Pose 12287e723e Added entry access functions. 2008-06-02 10:49:44 +00:00
Florian Pose 940e559c3d Separated Pdo and Pdo entry classes. 2008-06-02 10:21:20 +00:00
Florian Pose 9eccde6b9f Added ec_pdo_list_find_by_pos_const(). 2008-06-02 10:12:31 +00:00
Florian Pose 74c68a011a Added ec_pdo_list_count(). 2008-06-02 08:54:51 +00:00
Florian Pose 02079391de configs_attached = 0. 2008-05-30 14:50:57 +00:00
Florian Pose 93d32d5d84 Added debugging. 2008-05-30 14:31:02 +00:00
Florian Pose 02674c6f50 Removed deprecated ec_slave_validate(). 2008-05-30 10:49:51 +00:00
Florian Pose 8b8b470eaa Introduced ec_master_find_slave(). 2008-05-30 10:46:14 +00:00
Florian Pose 85e8f72c68 Output subindices with %02X. 2008-05-30 09:39:29 +00:00
Florian Pose e6f758b4de Some improvements concerning bit_position. 2008-05-30 08:56:47 +00:00
Richard Hacker 48c078359d Fixed missing right brace 2008-05-30 07:25:11 +00:00
Richard Hacker 8e0484b1c4 Changed Pdo entry registration function - return byte and bit positions 2008-05-30 07:11:27 +00:00
Florian Pose 3b4cae9626 Added the new ethercat comman-line tool with lsec functionality. 2008-05-29 15:11:26 +00:00
Florian Pose 9f0555ee26 Removed some xmldev survivors. 2008-05-29 09:53:10 +00:00
Florian Pose 0b464bbdb8 Removed xmldev. 2008-05-29 08:28:22 +00:00
Florian Pose bf2e1b9ee1 Added bitwise Pdo registration. 2008-05-28 07:26:28 +00:00
Florian Pose c8b67e13ee Improved working counter output; fixed problem with slaves that have a single sync manager used for outputs. 2008-05-13 16:07:06 +00:00
Florian Pose 24ac60fdcc Fetch Sdo dictionaries and process SII requests in operation mode. 2008-04-25 14:58:33 +00:00
Florian Pose 00d78d2566 Replaced self_configured flag with force_config flag. 2008-04-25 14:32:56 +00:00
Florian Pose ff5dd7fe1c Improved master state machine. 2008-04-25 14:07:38 +00:00
Florian Pose 0b9015848b Removed slave online flag. 2008-04-25 12:45:44 +00:00
Florian Pose ec02b717fa Renamed state sdodict to sdo_dictionary. 2008-04-25 12:23:52 +00:00
Florian Pose f28ee06308 Removed some debugging. 2008-04-25 12:18:46 +00:00
Florian Pose e8f2b80a61 Improved a few debugging outputs. 2008-04-25 12:16:56 +00:00
Florian Pose c294906bbf Moved setting of the allow flags. 2008-04-25 12:13:26 +00:00
Florian Pose 5742847dea Removed ec_master_prepare(). 2008-04-25 12:08:11 +00:00
Florian Pose 80c1bf823d Removed bus validation; slave configuration during realtime operation;
improved scan/config busy flags.
2008-04-25 12:04:23 +00:00
Florian Pose 5a852bc210 Check for emergency requests during CoE transfers. 2008-04-18 11:26:13 +00:00
Florian Pose e9ff403255 Exported ecrt_slave_config_sdo(); added documentation. 2008-04-16 08:33:04 +00:00
Florian Pose 791aa6d3d1 Added vim modelines and properties. 2008-04-08 11:52:51 +00:00
Florian Pose 6053cdedff Avoided duplicate datagram, if Pdo mapping/assignment does not have to
be configured.
2008-04-07 15:58:27 +00:00
Florian Pose 4e876edf62 Debug messaged on configuring assignment and mapping. 2008-04-07 15:47:22 +00:00
Florian Pose 42f0529b05 Moved configuration of Pdo mapping before Pdo assignment. 2008-04-07 15:12:43 +00:00
Florian Pose eeb80bb7b7 Moved Pdo sync manager configuration before Pdo assignment in slave
configuration state machine.
2008-04-07 13:57:41 +00:00
Florian Pose 5cbdbc6d4b Removed unused domain state. 2008-04-07 10:19:59 +00:00
Florian Pose 588cd7dab6 Fixed properties. 2008-04-03 15:50:46 +00:00
Florian Pose 1d70bd0145 Equalized defines against duplicated header inclusion. 2008-04-03 15:49:24 +00:00
Florian Pose 0a6b984c26 Added missing jiffies header. 2008-04-03 15:30:27 +00:00
Florian Pose fc60cae9c7 Implemented Sdo timeout. 2008-04-03 14:08:08 +00:00
Florian Pose 593a5fda9c Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
-> "Pdo mapping"; created ecrt_slave_config_pdo_assign_clear() and
ecrt_slave_config_pdo_mapping_clear().
2008-04-03 13:34:13 +00:00
Florian Pose 208fc51910 Introduced EC_MAP_END. 2008-03-31 09:42:37 +00:00
Florian Pose 059ef14ebe Fixed minor bug. 2008-03-19 10:51:18 +00:00
Florian Pose c543a04c51 Fixed general flags on big-endian archs. 2008-03-18 11:15:22 +00:00
Florian Pose 6286768f75 Fixed access to data pointers in Pdo config and Pdo mapping FSM's. 2008-03-18 10:49:30 +00:00
Florian Pose 486c66f43a Added CoE debugging. 2008-03-18 10:48:55 +00:00
Florian Pose f4199b7f60 Fixed bug in copying sync managers. Now making a deep copy. 2008-03-17 14:16:16 +00:00
Florian Pose f69b21af02 Renamed EEPROM to SII. 2008-03-17 09:38:48 +00:00
Florian Pose 77c29c0418 Added some const's. 2008-03-17 09:06:21 +00:00
Florian Pose dabaab4410 Allow multiple sync manager categories. 2008-03-17 09:05:13 +00:00
Florian Pose 257cc237b9 Added ecrt_sdo_request_data_size(). 2008-03-13 12:52:26 +00:00
Florian Pose 6af7a39cf3 Minor change. 2008-03-04 14:03:45 +00:00
Florian Pose 9b458ac5a6 Added doxygen markers. 2008-03-04 12:52:54 +00:00
Florian Pose 80fc8bff5d Minor changes. 2008-03-04 12:38:51 +00:00
Florian Pose f28f42ceb1 Introduced ec_sdo_request_state_t, making ec_request_t private again;
therefore added EC_REQUEST_INIT and renamed EC_REQUEST_IN_PROGRESS to
EC_REQUEST_BUSY and EC_REQUEST_COMPLETE to EC_REQUEST_SUCCESS.
2008-03-04 11:37:51 +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 e90dab2a4e Basic reading realtime Sdo access working. 2008-03-04 09:57:36 +00:00
Florian Pose a0068ca2d4 Improved error messages on EEPROM writing. 2008-03-04 08:52:39 +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 17069bcb70 Fixed bug if scanning is not allowed when link goes up. 2008-03-03 16:17:23 +00:00
Florian Pose 42bed3090f Separated ec_sdo_request_init() and ec_sdo_request_read(). 2008-03-03 13:26:32 +00:00
Florian Pose 0b5b3b9e9b Removed slave pointer from ec_sdo_request_t class. 2008-02-29 16:20:12 +00:00
Florian Pose f621cf2619 Saparated ec_sdo_t, ec_sdo_entry_t and ec_sdo_request_t. 2008-02-29 12:19:48 +00:00
Florian Pose f8dfda2b19 Fixed 2 bugs in new Pdo mapping function. 2008-02-28 15:28:10 +00:00
Florian Pose 7338f88b5f Added some debugging and fixed a bug, when Pdo was not found. 2008-02-28 14:46:24 +00:00
Florian Pose ea501996b2 Added ecrt_slave_config_pdo() and ecrt_slave_config_pdo_entry(). 2008-02-28 14:29:50 +00:00
Florian Pose 338dbf2a27 Added documentation. 2008-02-28 14:18:37 +00:00
Florian Pose 267a4ddaa2 Added documentation. 2008-02-28 14:18:18 +00:00
Florian Pose 6b62545584 Renamed ec_pdo_mapping_find_pdo() to ec_pdo_mapping_find_pdo_const(). 2008-02-28 13:41:02 +00:00
Florian Pose e3be6cf8be Renamed ec_pdo_mapping_add_pdo() to ec_pdo_mapping_add_pdo_copy(). 2008-02-28 11:23:34 +00:00
Florian Pose c26c91c4a0 Display notLRW flag. 2008-02-28 11:06:14 +00:00
Florian Pose 95e6dc8d2b Evaluate CoE details from general category; moved current consumption
into general category info.
2008-02-28 10:58:43 +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 5e22bcec73 Separated slave state machines. 2008-02-26 13:20:32 +00:00
Florian Pose 3309784438 Fixed bug in Pdo mapping. 2008-02-22 18:41:24 +00:00
Florian Pose 508bb9d91e Minor changes. 2008-02-22 18:40:41 +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 d4ccd3a2b6 Minor change. 2008-02-22 18:22:05 +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 06705a51cb Fixed warning about missing sync managers during Pdo mapping. 2008-02-22 17:49:28 +00:00
Florian Pose b4322990e2 Calculate expected working counter for domains. 2008-02-22 17:23:05 +00:00
Florian Pose 49baa165af Support for slaves that don't support the LRW datagram type. 2008-02-22 16:04:23 +00:00
Florian Pose 1bb9697a15 Introduced ec_datagram_type_string(). 2008-02-22 16:03:08 +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 7db358b508 External domain memory. 2008-02-21 15:49:02 +00:00
Florian Pose 69f702dc92 Fixed Pdo mapping bug. 2008-02-21 12:43:55 +00:00
Florian Pose 873e517741 Moved ecrt_domain_reg_pdo_entry() to
ecrt_slave_config_reg_pdo_entry().
2008-02-21 09:50:54 +00:00
Florian Pose 8e6efae673 Renamed master module parameters, re-formatted code documentation. 2008-02-21 09:24:56 +00:00