Commit Graph

910 Commits

Author SHA1 Message Date
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 5ac0980aba Fixed SDO upload segment response (thanks to Christoph Peter). 2009-07-10 10:37:14 +00:00
Florian Pose 87bd9ded3e Reverted accidential checkin. 2009-07-10 09:38:07 +00:00
Florian Pose 36ff1cb8fa TODO. 2009-07-10 09:36:50 +00:00
Florian Pose 1694ef18d7 Zero mailbox datagram before sending. 2009-07-09 14:05:36 +00:00
Florian Pose 18d3eb982e Configure PDO sync managers even if no configuration has been applied. 2009-07-09 12:54:49 +00:00
Florian Pose f7e14d2915 EoE processing with kthread. 2009-06-30 11:11:56 +00:00
Florian Pose e9b881e6db Output device opened/closed only on debug level 2. 2009-06-29 14:27:06 +00:00
Florian Pose 70d8767f7c Minor: Changed comment style. 2009-06-29 14:25:31 +00:00
Florian Pose 5176ca3cf3 EoE transmit retry; EoE warnings. 2009-06-26 12:21:56 +00:00
Florian Pose 1baa06d05b ethercat eoe command. 2009-06-26 09:46:57 +00:00
Florian Pose 2bb56b4f15 Debug statements with EC_DBG() in EoE code. 2009-06-26 08:00:47 +00:00
Florian Pose 2a7052264b Minor: vendor/product with 8 hex digits. 2009-06-26 07:44:50 +00:00
Florian Pose 41dec510d5 merge -c1788 branches/stable-1.4: ec_master.symvers installation. 2009-06-19 14:41:06 +00:00
Florian Pose a30c09c05b Implemented new network device operations for kernel 2.6.29, thanks to M. Goetze. 2009-06-16 08:30:49 +00:00
Florian Pose d1ef052122 Continue with next sync manager if reading the PDOs failed. 2009-06-15 15:58:09 +00:00
Florian Pose 534c605e4f Fixed mailbox usage for slaves that do not provide sync manager
configurations.
2009-06-15 15:46:04 +00:00
Florian Pose aad3434dd3 Minor. 2009-06-15 15:39:26 +00:00
Florian Pose acd5a56616 Improved newlines in debug data output. 2009-06-15 15:29:24 +00:00
Florian Pose cd480be3a1 Improved error checking on SDO upload. 2009-06-15 12:33:48 +00:00
Florian Pose ee89b28e5a Added documentation. 2009-05-15 09:05:27 +00:00
Florian Pose 8e9761b1e2 Debugging output. 2009-05-07 12:25:10 +00:00
Florian Pose 2550b77338 Slightly improved CoE download expedited request. 2009-05-07 11:41:45 +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 cc6e9a7c79 Symbol versions; Makefile improvements. 2009-05-07 08:44:00 +00:00
Florian Pose ceec75bf50 Always set DC reference clock to OP. 2009-05-06 15:06:46 +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 af712c4a43 Fixed usage of IS_ERR() in FoE state machine. 2009-05-05 09:57:42 +00:00
Florian Pose 959c19fefd Introduced EC_AL_STATE_CHANGE_TIMEOUT and set it to 2 s. 2009-05-05 09:50:04 +00:00
Florian Pose d8177f03ee Unset idle flag while processing FoE requests. 2009-05-05 09:45:31 +00:00
Florian Pose ef854c1c93 Changed EC_MAX_SII_SIZE to 4096. 2009-05-05 09:43:32 +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 6935cbb247 Use application start time as a common reference for cyclic generation
start times.
2009-05-04 12:11:00 +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 5401cb1a6d Set system time transmission delay during config. 2009-04-30 16:04:44 +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 b106be8342 Added missing doc. 2009-04-24 09:51:11 +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 4b4dc8a5b5 DC shift time working. 2009-04-23 12:25:09 +00:00
Florian Pose fe56cc111c Separated sync_reference_clock() and sync_slave_clocks(). 2009-04-23 12:02:26 +00:00
Florian Pose 5e79dc8c06 Find DC reference clock. 2009-04-20 14:33:47 +00:00
Florian Pose 59a9094b2a Improved DC configuration. 2009-04-20 13:43:57 +00:00
Florian Pose 2395d3a876 Clear DC assignment after going to INIT. 2009-04-20 11:53:17 +00:00
Florian Pose 5ed436bb6a Minor changes. 2009-04-20 10:27:36 +00:00
Florian Pose 9f54862108 Tested clearing slave list after link down; minor changes. 2009-04-20 09:17:39 +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 4694cde027 Added debug_level module parameter. debug_level is now unsigned int. 2009-04-17 12:03:12 +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 0dd5ec3567 DC sync reference clock to application time. TBC... 2009-04-09 18:21:18 +00:00
Florian Pose de1a332eee Introduced ecrt_master_sync() for synchronizing slave clocks to reference clock. 2009-04-09 10:21:47 +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 9483b8e1ae Check phy_request length for read operations, too! 2009-04-08 11:48:00 +00:00
Florian Pose 0bedfe5ef8 Process working counter of phy_* commands. 2009-04-08 10:27:48 +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 01aeadbc73 Improved phy debugging. 2009-04-07 09:37:07 +00:00
Florian Pose 205891e412 Reading more base information (incl. whether DC supported). 2009-04-07 09:00:20 +00:00
Florian Pose 478a0f2a69 Warn if going to SAFEOP without configuration. 2009-03-19 08:44:48 +00:00
Florian Pose a5752e0123 Preparations to compile against 2.6.27. 2009-03-09 09:08:09 +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 fe10563a36 Added ec_slave_config_find_sdo_request(). 2009-02-02 13:34:01 +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 96ea8a76b8 Fixed usage of internal request states. 2009-01-30 10:50:21 +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 682735201c Added missing files to dist. 2009-01-27 09:40:05 +00:00
Florian Pose d137632ae4 TODO. 2009-01-26 16:38:39 +00:00
Florian Pose 50abafdb1f Debug message. 2009-01-26 16:35:50 +00:00
Florian Pose c94059e5fb Fixed spacing and comments. 2009-01-26 16:23:09 +00:00
Florian Pose fa17bbb5a8 Clear sync managers before configuration. 2009-01-26 16:01:13 +00:00
Florian Pose 8c76942245 merge -c1635 branches/1.4-foe: Removed todo line. 2009-01-26 14:14:17 +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 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 7e69daf7dd merge -c1614 branches/stable-1.4: Fixed datagram cleaning. 2009-01-26 11:59:07 +00:00
Florian Pose 723a9d66f4 merge -c1610 branches/stable-1.4: Added missing doxygen docs. 2009-01-26 11:58:35 +00:00
Florian Pose 121cfd7098 merge -c1606 branches/stable-1.4: Output vendor Id in hex. 2009-01-26 11:46:38 +00:00
Florian Pose 7b4542ac81 merge -c1605 branches/stable-1.4: Output ioctl() debugging in hex. 2009-01-26 11:46:02 +00:00