Commit Graph

315 Commits

Author SHA1 Message Date
Florian Pose a1def17259 Output DC config in 'ethercat config'. 2009-05-07 10:33:26 +00:00
Florian Pose ceec75bf50 Always set DC reference clock to OP. 2009-05-06 15:06:46 +00:00
Florian Pose 24199ff2ec TODO. 2009-05-06 14:59:21 +00:00
Florian Pose 6d9adba4e3 TODO. 2009-05-05 09:38:44 +00:00
Florian Pose 467f5c1d64 TODO. 2009-05-04 12:13:24 +00:00
Florian Pose 6935cbb247 Use application start time as a common reference for cyclic generation
start times.
2009-05-04 12:11:00 +00:00
Florian Pose 14fd958dd3 TODO. 2009-04-30 14:44:15 +00:00
Florian Pose 29eb2d7d06 Transition delay calculation. TBC... 2009-04-30 14:12:47 +00:00
Florian Pose 513cd4798c Modeline for vim > 7.0. 2009-04-29 14:03:01 +00:00
Florian Pose d427828ecc Measure port receive times. 2009-04-27 15:20:14 +00:00
Florian Pose e3299cfa5e TODO. 2009-04-24 13:43:51 +00:00
Florian Pose d3303e0fa4 Replaced timeval by 64-bit EtherCAT time. 2009-04-24 10:24:53 +00:00
Florian Pose 40bb1edaec Output reference clock and application time in 'ethercat Master'. 2009-04-24 08:39:20 +00:00
Florian Pose ddd707d8be Userspace library implementation of DC functions. 2009-04-23 14:45:07 +00:00
Florian Pose 5e79dc8c06 Find DC reference clock. 2009-04-20 14:33:47 +00:00
Florian Pose a6ccc63f94 TODO. 2009-04-20 10:27:12 +00:00
Florian Pose b7e06d12f4 Output link state in 'ethercat master'. 2009-04-17 12:55:55 +00:00
Florian Pose 515a66aa8e Clear slave list on link down. 2009-04-17 12:41:57 +00:00
Florian Pose e3b1d8e573 DC cyclic operation and slave configuration. TBC... 2009-04-09 09:17:41 +00:00
Florian Pose 7f97ba66a2 Renamed phy_ commands to reg_. 2009-04-08 12:48:59 +00:00
Florian Pose de2cf56c76 TODO. 2009-03-19 08:46:45 +00:00
Florian Pose 5f7cd5eb46 TODO. 2009-03-19 08:42:33 +00:00
Florian Pose 2495f91f0c TODO. 2009-02-24 13:44:01 +00:00
Florian Pose 051319aa12 TODO. 2009-02-24 08:53:13 +00:00
Florian Pose e745837fed Implemented SDO requests in userspace library. 2009-02-02 13:37:00 +00:00
Florian Pose 6a5e90c4b1 Allow the slave to not respond to the mailbox sync manager configuration
datagram for a certain time.
2009-01-27 14:14:37 +00:00
Florian Pose d137632ae4 TODO. 2009-01-26 16:38:39 +00:00
Florian Pose ae9d759622 Added ecrt_master_slave(). 2009-01-26 14:39:49 +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 461c15bcfb TODO 2009-01-19 08:03:19 +00:00
Florian Pose bdbaf5d078 Created backend versions of all API functions returing a pointer; using
the PTR_ERR()... macros.
2008-11-17 15:04:28 +00:00
Florian Pose f802eabda4 TODO. 2008-10-23 08:03:17 +00:00
Florian Pose 01d2596a00 TODO. 2008-10-17 13:35:56 +00:00
Florian Pose e13b512a27 TODO. 2008-10-14 14:00:43 +00:00
Florian Pose 01be58990e TODO, NEWS. 2008-10-10 09:56:32 +00:00
Florian Pose 7cb866a280 TODO. 2008-09-24 08:51:46 +00:00
Florian Pose 78a4bace7d TODO. 2008-09-03 15:36:51 +00:00
Florian Pose 05191313be TODO. 2008-08-13 14:37:54 +00:00
Florian Pose 6db63d096d Use down_interruptible() wherever possible. 2008-08-01 12:46:26 +00:00
Florian Pose e647297b12 Attach Pdo names from dictionary. 2008-08-01 12:28:18 +00:00
Florian Pose 3ed38e1dc2 Repaired init script status command. 2008-08-01 11:09:39 +00:00
Florian Pose 8da5077e9c Introduced SdoCommand class to replace coe_datatypes.[ch]; added CoE abort codes in user space- 2008-08-01 10:10:55 +00:00
Florian Pose b46070f279 Removed sync manager assign source. 2008-08-01 09:32:35 +00:00
Florian Pose 1cf5448e88 Added debugging for configuration function of the application interface. 2008-08-01 09:24:26 +00:00
Florian Pose 61994e0e0e Configure Pdos before configuring the Pdo sync managers,
to earlier detect problems with non-existing SM information.
2008-08-01 08:58:35 +00:00
Florian Pose 17c27bf18b TODO. 2008-07-31 16:31:35 +00:00
Florian Pose 5317b27ff9 Major Pdo configuration change: Read mapping of unknown Pdos during
configuration.
2008-07-31 16:13:29 +00:00
Florian Pose 60aa049b63 Only warn (and do not abort) if Pdo assignment/mapping configuration
fails, or is impossible.
2008-07-31 09:30:38 +00:00
Florian Pose 4c9d0c6f7c TODO. 2008-07-29 09:30:33 +00:00
Florian Pose 72ab96c4fb Removed global variables. 2008-07-28 14:28:43 +00:00
Florian Pose 98beafca60 Added 'ethercat version' command. 2008-07-28 14:06:03 +00:00
Florian Pose 1f6e89a89f Display real ethernet address. 2008-07-28 13:23:07 +00:00
Florian Pose f5fc3ae498 Accept '-' as filename to read from stdin. 2008-07-28 13:15:19 +00:00
Florian Pose 94177f81b5 Removed MasterDevice::slaveCount(). 2008-07-28 12:15:25 +00:00
Florian Pose ddc95f672f Improved alias/position addressing in case od duplicated aliases. 2008-07-28 12:11:50 +00:00
Florian Pose 6429bc5f26 Removed parameter values 'all'. 2008-07-28 11:43:08 +00:00
Florian Pose 5685eae806 Added --help for alias and position parameters. 2008-07-28 11:29:28 +00:00
Florian Pose 7dfb8bb32a Implemented alias and position for configs. 2008-07-28 09:12:21 +00:00
Florian Pose 68fda22e00 Common message for single slave selections. 2008-07-28 08:45:28 +00:00
Florian Pose db277eb34b Alias/Position selection. 2008-07-25 14:19:29 +00:00
Florian Pose 95d9d821cc Show attached slave position and state in 'ethercat config'. 2008-07-25 08:54:59 +00:00
Florian Pose 41100780d7 Bugfixes and improvements. 2008-07-24 14:56:57 +00:00
Florian Pose 1974daf339 TODO. 2008-07-23 16:18:48 +00:00
Florian Pose b6580a046b Added command-line help for every ethercat command. 2008-07-23 16:16:30 +00:00
Florian Pose ca217cf27d Improved exceptions and commandName usage. 2008-07-23 08:06:10 +00:00
Florian Pose e2b41aa1c0 TODO. 2008-07-23 07:22:47 +00:00
Florian Pose 9a22566189 TODO. 2008-07-22 15:25:08 +00:00
Florian Pose e7ee4afed3 TODO. 2008-07-22 09:03:10 +00:00
Florian Pose 0081702557 TODO. 2008-07-21 16:09:06 +00:00
Florian Pose 086c41d91b TODO. 2008-07-18 08:39:49 +00:00
Florian Pose 5cc3194ee8 Break domain output data after 16 bytes. 2008-07-07 08:06:27 +00:00
Florian Pose 77837ebefb Made verbosity a master property; added -Wall flag to tools. 2008-07-07 07:55:41 +00:00
Florian Pose 6d5328f0c2 todo. 2008-07-07 07:38:10 +00:00
Florian Pose d871e4fd08 Renamed ecrt_slave_config_sync_managers() to ecrt_slave_config_pdos();
Added EC_MAX_SYNC_MANAGERS to ecrt.h.
2008-07-02 14:06:10 +00:00
Florian Pose 93a66a3573 Removed MSR example; adapted RTAI example; README files for examples. 2008-07-02 12:16:48 +00:00
Florian Pose 05c4c09b64 TODO. 2008-07-01 15:41:52 +00:00
Florian Pose 1883d74f37 Improved input/output of hex numbers. 2008-06-30 12:22:46 +00:00
Florian Pose 99c4e763c6 Alias decimal. 2008-06-27 09:48:45 +00:00
Florian Pose 22ec9f6a45 Removed TODOx:y-Output. 2008-06-27 09:37:53 +00:00
Florian Pose 00d5bfb06b Added configuration listing command. 2008-06-27 09:31:20 +00:00
Florian Pose 0af701c291 TODO. 2008-06-27 06:56:18 +00:00
Florian Pose 82e3ccbc13 TODO. 2008-06-20 15:34:14 +00:00
Florian Pose 0ebaf53bb9 TODO. 2008-06-20 07:55:28 +00:00
Florian Pose 3b500dec34 TODO. 2008-06-19 10:25:21 +00:00
Florian Pose c233259931 Removed state machine cycle time measuring. 2008-06-19 10:22:24 +00:00
Florian Pose cdd45226aa Disable use of CPU timestamp counter by default. 2008-06-19 10:18:58 +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 4a6d031f92 Check for data sizes when reading Pdo assignment/mapping from CoE. 2008-06-19 08:06:49 +00:00
Florian Pose f03af4c38b Removed 'end' and 'error' states from master state machine. 2008-06-18 13:53:31 +00:00
Florian Pose 0ef150c812 Renamed master 'mode' to 'phase'. 2008-06-18 13:33:50 +00:00
Florian Pose d91aa97487 Removed configs_attached flag; changed return value of
ec_master_attach_slave_configs() to void.
2008-06-18 12:49:11 +00:00
Florian Pose ba99d87e54 Output attachment failure messages only when debugging. 2008-06-18 11:16:30 +00:00
Florian Pose 4688b35ada Implemented ecrt_slave_config_state(); minor changes in
ec_master_state_t and ec_slave_config_state_t; adapted example.
2008-06-18 10:13:58 +00:00
Florian Pose 8d1ee0e396 TODO. 2008-06-12 13:42:52 +00:00
Florian Pose 985470c9b6 Removed EC_IOCTL_DOMAIN_COUNT. 2008-06-12 09:44:18 +00:00
Florian Pose e4c9a82a56 Store slaves in an array instead of a list. 2008-06-12 09:32:25 +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 3197ca4a23 Removed kobject from slave_config. 2008-06-12 07:45:27 +00:00
Florian Pose 448eb13820 Removed kobject from domain. 2008-06-12 07:26:38 +00:00
Florian Pose 22fe4a1841 Removed kobjects from sdo and slave. 2008-06-12 07:15:54 +00:00
Florian Pose 1132577dd9 Bus configuration via 'ethercat config'. 2008-06-11 15:29:47 +00:00
Florian Pose bc3c6f320a Slave information via 'ethercat slave'. 2008-06-11 13:01:21 +00:00
Florian Pose 322845b160 Improved 'ethercat ls' formatting. 2008-06-10 12:52:08 +00:00
Florian Pose d28bf7ecbe Display error flag in 'ethercat ls'; cleaned up usage of error flag;
removed action_acknowledge.
2008-06-10 12:05:25 +00:00
Florian Pose 9227ea241c TODO. 2008-06-10 09:12:43 +00:00
Florian Pose 6249f1dd91 Implemented SII writing (including alias writing) via ethercat command. 2008-06-10 08:48:50 +00:00
Florian Pose 0ee1c38030 Implemented SII read. 2008-06-09 13:45:22 +00:00
Florian Pose 4c1696d415 Implemented Sdo download via ethercat command. 2008-06-09 12:11:19 +00:00
Florian Pose 65c5cb7387 TODO. 2008-06-09 10:31:05 +00:00
Florian Pose a85f8fc5d5 Implemented sdo_upload command. 2008-06-06 15:13:25 +00:00
Florian Pose 9329e1727e Implemented Sdo dictionary info via 'ethercat sdos'. 2008-06-06 09:27:24 +00:00
Florian Pose f596768724 Request slave state(s) with 'ethercat state'; removed sysfs state file. 2008-06-06 08:12:34 +00:00
Florian Pose d7bdcec0e1 TODO. 2008-06-05 15:58:25 +00:00
Florian Pose 825836dd77 Removed master info from sysfs. 2008-06-05 15:44:58 +00:00
Florian Pose eb850a6ec5 Replaced EC_IOCTL_SLAVE_COUNT with EC_IOCTL_MASTER; implemented
'ethercat master' command.
2008-06-05 15:39:15 +00:00
Florian Pose 3346680e7b TODO. 2008-06-04 14:42:15 +00:00
Florian Pose 1bb0f29858 TODO. 2008-06-03 12:04:14 +00:00
Florian Pose 940e559c3d Separated Pdo and Pdo entry classes. 2008-06-02 10:21:20 +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 0b464bbdb8 Removed xmldev. 2008-05-29 08:28:22 +00:00
Florian Pose f8dc72d973 TODO. 2008-05-29 08:22:27 +00:00
Florian Pose 78a1317663 Re-ordered TODO. 2008-04-25 15:01:15 +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 066546e81c Removed ecdb.h 2008-04-25 14:38:11 +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 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 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 03e138323c TODO. 2008-04-24 16:01:19 +00:00
Florian Pose 670c7fa525 TODO. 2008-03-06 10:36:27 +00:00
Florian Pose ca265cd7b7 Updated docs. 2008-03-04 12:59:50 +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 421d1cf381 TODO. 2008-03-04 09:20:14 +00:00
Florian Pose 279472fc4d TODO. 2008-03-03 16:24:59 +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 662ec46a41 TODO. 2008-02-29 16:24:59 +00:00
Florian Pose fdf4ecc053 TODO. 2008-02-29 12:20:49 +00:00
Florian Pose eebeaff24c TODO. 2008-02-28 15:35:51 +00:00
Florian Pose e2e203c474 TODO. 2008-02-27 11:29:08 +00:00
Florian Pose 397b5bf0cc Reading of Pdo mapping via CoE during scan. 2008-02-26 16:58:20 +00:00
Florian Pose 787c51d700 Re-ordered TODO. 2008-02-22 17:30:50 +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 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