Commit Graph

160 Commits

Author SHA1 Message Date
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 cb33213076 ecrt_master_set_max_cycle_size: limit SDO traffic 2009-11-30 12:26:56 +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
Martin Troxler 286a65516b Fixed SDO up/download kernel oops bug 2009-11-23 14:22:48 +01:00
Florian Pose 21dacadf01 Merge x86_64 fixes. 2009-10-19 13:13:55 +02:00
Florian Pose 7ac08b531f Avoid warnings on x86_64 platform. Thanks to Thomas Elste. 2009-10-19 13:12:40 +02:00
Florian Pose 700226ac83 DC synchrony monitoring methods. 2009-08-21 12:15:16 +02:00
Florian Pose 1ccd59402e Implemented ecrt_master_deactivate() in userspace. 2009-08-20 14:43:55 +02:00
Florian Pose 103eb7139c Added ecrt_master_deactivate() to remove the bus configuration. 2009-08-20 14:27:35 +02:00
Florian Pose 10c7501851 Implemented CompleteAccess for SDO downloads. 2009-08-13 13:53:56 +02:00
Florian Pose 0663090dcc Output watchdog configuration in ethercat config. 2009-08-04 12:52:12 +00:00
Florian Pose 694838c9f6 Fixed compiler error on --disable-eoe. 2009-08-04 07:54:16 +00:00
Florian Pose f411a51ca6 Re-added callback data pointer, because it is necessary for some applications. 2009-07-29 09:19:53 +00:00
Florian Pose 4f4ac6e4fa Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
Florian Pose 735f1efbc1 Removed unwanted tabulators. 2009-07-27 10:37:47 +00:00
Florian Pose a3c32e8b67 Improved the callback mechanism. 2009-07-13 15:18:28 +00:00
Florian Pose f7e14d2915 EoE processing with kthread. 2009-06-30 11:11:56 +00:00
Florian Pose 1baa06d05b ethercat eoe command. 2009-06-26 09:46:57 +00:00
Florian Pose ee89b28e5a Added documentation. 2009-05-15 09:05:27 +00:00
Florian Pose a1def17259 Output DC config in 'ethercat config'. 2009-05-07 10:33:26 +00:00
Florian Pose 2002b73569 Added EC_IOCTL_APP_TIME. 2009-05-07 10:11:21 +00:00
Florian Pose 7e600a6301 Merged ecrt_slave_config_dc_assign_activate() and
ecrt_slave_config_dc_sync_signals() to ecrt_slave_config_dc().
2009-05-05 15:03:59 +00:00
Florian Pose d7a38aaf29 Added scan_busy flag to ioctl(). 2009-05-05 10:01:55 +00:00
Florian Pose c39919e6cc Replaced ecrt_slave_config_dc_cycle_times() and ecrt_slave_config_dc_shift_times() by ecrt_slave_config_dc_sync_signals(). 2009-05-04 12:46:30 +00:00
Florian Pose 4c1c3fe289 Take ref clock address from dc_ref_clock pointer. 2009-05-04 12:10:11 +00:00
Florian Pose a34809e18d Separated application time from synchronizing reference clock. 2009-05-04 10:05:55 +00:00
Florian Pose f057a0f968 Transition->Transmission. 2009-04-30 14:37:02 +00:00
Florian Pose 29eb2d7d06 Transition delay calculation. TBC... 2009-04-30 14:12:47 +00:00
Florian Pose f4b6807cc9 Bus topology calculation. 2009-04-29 09:43:04 +00:00
Florian Pose d427828ecc Measure port receive times. 2009-04-27 15:20:14 +00:00
Florian Pose 69da9e5524 Determine type of DC implementation (full or delay meas. only); update scan FSM graph. 2009-04-27 11:38:03 +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 b7e06d12f4 Output link state in 'ethercat master'. 2009-04-17 12:55:55 +00:00
Florian Pose 2c81e5b9b4 Removed unused variable. 2009-04-17 11:07:27 +00:00
Florian Pose 47abdd4a41 Introduced DEBUG_IOCTL. 2009-04-17 10:39:19 +00:00
Florian Pose 7f97ba66a2 Renamed phy_ commands to reg_. 2009-04-08 12:48:59 +00:00
Florian Pose da1c5588de Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
Florian Pose 19d7da4ad3 Fixed VoE ioctl(). 2009-04-07 12:53:37 +00:00
Florian Pose 205891e412 Reading more base information (incl. whether DC supported). 2009-04-07 09:00:20 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 07fffd62f9 Fixed SDO upload via library. 2009-02-24 10:16:24 +00:00
Florian Pose f73cdc7a6b Fixed SDO download via library. 2009-02-24 10:03:53 +00:00
Florian Pose e745837fed Implemented SDO requests in userspace library. 2009-02-02 13:37:00 +00:00
Florian Pose e60948f4e1 Minor fix in VoE handler. 2009-02-02 13:32:48 +00:00
Florian Pose 5ea60780a0 Fixed FoE request states. 2009-01-30 10:56:06 +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 8d45915fc4 merge -c1618 branches/1.4-foe: Improved FoE. 2009-01-26 13:09:27 +00:00
Florian Pose 7a703ecb05 merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges. 2009-01-26 13:01:58 +00:00
Florian Pose 7b4542ac81 merge -c1605 branches/stable-1.4: Output ioctl() debugging in hex. 2009-01-26 11:46:02 +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 fae8df09b0 Included ecrt_voe_handler_read_nosync()-Patch by Mathias Weber. 2008-11-18 11:13:49 +00:00
Florian Pose 8d46a283f6 Improved error case return codes of many functions. 2008-11-17 17:18:02 +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 59f197a6f0 Fixed page fault handler. 2008-10-21 09:26:19 +00:00
Florian Pose dd257c430d Use .fault handler instead of .nopage handler from 2.6.23. 2008-10-16 09:21:30 +00:00
Florian Pose 7c3d71913c Maintained code docs. 2008-10-15 10:01:54 +00:00
Florian Pose d31df920e8 Implemented VoE handler in userspace. 2008-10-14 13:35:35 +00:00
Florian Pose ca0a3dcf1b Added state functions; writing of process data works. 2008-10-10 09:37:06 +00:00
Florian Pose 4e6e86c808 Memory-mapped process data. 2008-10-10 08:34:15 +00:00
Florian Pose 95e60a2fec Added some slave configuration methods. 2008-10-09 13:31:50 +00:00
Florian Pose fb34ddb1f2 Activate, Send and received; cyclic timer with setitimer(). 2008-10-02 13:40:23 +00:00
Florian Pose 9e69d015b6 Creating slave configurations. 2008-10-02 10:45:40 +00:00
Florian Pose cd4bb0a38b No kernel handles in userspace; Domain creation. 2008-10-02 10:19:02 +00:00
Florian Pose a4ea4a4590 First version of userspace library with requesting/releasing. 2008-10-01 14:42:28 +00:00
Florian Pose ac42abd286 Added missing up(). 2008-09-29 09:51:48 +00:00
Florian Pose 12d30c487a Added VoE handler. 2008-09-01 14:17:18 +00:00
Florian Pose d975aafa18 Added phy commands. 2008-08-13 13:23:52 +00:00
Florian Pose 99f622f1e8 Fixed missing up(). 2008-08-08 12:44:40 +00:00
Florian Pose 6db63d096d Use down_interruptible() wherever possible. 2008-08-01 12:46:26 +00:00
Florian Pose b46070f279 Removed sync manager assign source. 2008-08-01 09:32:35 +00:00
Florian Pose 1f6e89a89f Display real ethernet address. 2008-07-28 13:23:07 +00:00
Florian Pose 373d8a7475 Fixed requested_state. 2008-07-25 14:14:47 +00:00
Florian Pose 4f81ef3ede Renamed state field to al_state. 2008-07-25 09:08:12 +00:00
Florian Pose 95d9d821cc Show attached slave position and state in 'ethercat config'. 2008-07-25 08:54:59 +00:00
Florian Pose d8d0e4ec4e Group/Image/Order strings in slave ioctl; order number as text content
in XML Type element.
2008-07-10 09:36:47 +00:00
Florian Pose 0a63897d3d Added ec_cdev_strcpy() function. 2008-07-10 09:31:03 +00:00
Florian Pose c0b7fca9b6 Improved source code doc. 2008-07-04 12:06: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 8265fb115f Improved locking between ioctl()s and master state machine; separate
functions for ioctls(); removed master's sii_sem and sdo_sem.
2008-07-02 11:26:51 +00:00
Florian Pose d942e87cef Implemented master semaphore to secure concurrent access from ioctls, state machine and realtime interface. 2008-07-01 15:38:20 +00:00
Florian Pose 444802186b Operational flag in 'ethercat config'. 2008-06-26 13:42:23 +00:00
Florian Pose a81228a587 Store sync manager configurations in ec_slave_config_t instead of Pdo
lists for each direction; changed realtime interface to allow sync
manager configuration.
2008-06-26 13:16:15 +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 0ef150c812 Renamed master 'mode' to 'phase'. 2008-06-18 13:33:50 +00:00
Florian Pose d7790d1d18 Removed some unnecessary code. 2008-06-18 08:59:00 +00:00
Florian Pose 985470c9b6 Removed EC_IOCTL_DOMAIN_COUNT. 2008-06-12 09:44:18 +00:00
Florian Pose d254ec906b Removed unnecessary code. 2008-06-12 09:19:06 +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 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 ded661f552 Output decoded ioctl command number. 2008-06-10 08:54:54 +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 2d79874a7b ioctl() permissions. 2008-06-09 10:29:28 +00:00
Florian Pose a85f8fc5d5 Implemented sdo_upload command. 2008-06-06 15:13:25 +00:00