Commit Graph

365 Commits

Author SHA1 Message Date
Florian Pose b6930dfa9b Fixed possible NULL pointer dereference; thanks to Matthieu Bec. 2014-05-05 13:49:45 +02:00
Florian Pose e385a9bb62 Added configure switch --disable-rt-syslog. 2013-10-21 19:27:50 +02:00
Florian Pose 605739d78a Introduced FORCE_OUTPUT_CORRUPTED. 2013-05-21 13:18:24 +02:00
Florian Pose b0eace9ef1 Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
Florian Pose f6f5460485 Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
Florian Pose 032acb3d85 Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
Florian Pose 623c91c545 Fixed io_sem usage in queue_external_datagrams(). 2012-12-06 18:11:11 +01:00
Florian Pose 43202f7e32 Send sync datagrams only if reference clock is found. 2012-12-05 15:54:49 +01:00
Florian Pose 5f73e9c046 Using common waitqueue for requests. 2012-12-04 16:05:23 +01:00
Florian Pose 72b60d1c07 Removed unnecessary ec_master_soe_request_t type. 2012-12-04 14:49:23 +01:00
Florian Pose de0ce09db9 Removed unnecessary ec_master_sdo_request_t. 2012-12-04 13:28:38 +01:00
Florian Pose 6863b34ff1 Minor: Renamed slave_sdo_requests. 2012-12-04 12:59:15 +01:00
Florian Pose 1322a3b6a8 Removed unused method. 2012-12-04 12:22:38 +01:00
Florian Pose cf327f63c8 Mark processing SDO request as invalid if config is cleared. 2012-12-04 12:09:42 +01:00
Florian Pose e59b790583 Reset master state machine when going to orphaned phase. 2012-12-04 11:57:55 +01:00
Florian Pose 879a17fa56 Minor changes. 2012-12-04 11:54:13 +01:00
Florian Pose 3cb0b12899 Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
Florian Pose becf05dbd6 Added interface to select the reference clock and to sync to it.
Added rtai_rtdm_dc example, thanks to Graeme Foot.
2012-11-20 14:35:53 +01:00
Florian Pose 4773e88bf6 Added interface to read/write register contents; re-worked register requests. 2012-11-14 22:12:57 +01:00
Florian Pose 88b99dcd07 Removed state-dependent skip messages. 2012-11-14 22:00:11 +01:00
Florian Pose ef68a4bff1 Added ecrt_sdo_request_index() method to change index and subindex. 2012-10-04 10:07:52 +02:00
Florian Pose 9faaa83212 Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
Florian Pose b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose 6c9e725c29 Added ecrt_master_link_state() to retrieve information about a redundant link. 2012-05-31 11:03:58 +02:00
Florian Pose 4c3c5c2778 Slave scanning and configuration on all links. 2012-04-06 23:35:05 +02:00
Florian Pose f30e8a0572 Improved/fixed frame statistics (low-pass filters). 2012-03-19 10:43:09 +01:00
Florian Pose e960e20bb3 Fixed frame loss statistics. 2012-03-19 09:56:36 +01:00
Florian Pose 8b19812c17 Fixed sending on backup link if main link is down. 2012-03-17 09:06:58 +01:00
Florian Pose b54aefc56a Added fix for ESC port order (DC delay calculation). 2012-01-30 15:17:34 +01:00
Florian Pose 70f91bf0d4 Fixed reset of allow_scanning flag if ecrt_master_activate() was not called. 2012-01-13 11:27:20 +01:00
Florian Pose 94a4f01ba5 Copy missing slave_info data in kernel space. 2012-01-10 10:11:20 +01:00
Florian Pose 429b3ee07e Avoided unused variable warnings. 2012-01-09 17:42:28 +01:00
Florian Pose db64bfe5a5 Removed unnecessary call of ec_master_inject_external_datagrams(). 2011-12-16 16:29:00 +01:00
Florian Pose d59c70eedc Improved resetting number of responding slaves. 2011-12-09 10:35:23 +01:00
Florian Pose 1f428c78bf Minor: Ordered master member initialisations. 2011-12-09 10:46:25 +01:00
Florian Pose 522a63df8a Redundant outputs via datagram pairs. 2012-01-12 17:41:05 +01:00
Florian Pose 849f37cd41 Datagram device_index member. 2012-01-12 13:55:15 +01:00
Florian Pose 6d932e88d5 Devices as array; lock all device modules with module_get(). 2012-01-12 12:14:33 +01:00
Florian Pose ed7f9885b2 Adjusted frame statistics for the use with two devices. 2011-11-09 14:53:33 +01:00
Florian Pose 6127a95283 Poll both devices. 2011-11-09 12:58:09 +01:00
Florian Pose 7555b87512 Added ecrt_master_sdo_download_complete() for ad-hoc downloading SDOs (also
via the command-line tool).
2011-10-24 10:49:27 +02:00
Florian Pose a4adf60027 Removed allow_config flag and obsolete request to OP. 2011-09-16 14:10:23 +02:00
Florian Pose 197fe386b9 Don not copy frame data to datagram memory, if datagram type is write-only. 2011-09-16 12:44:54 +02:00
Florian Pose bbe96b3246 Implemented ecrt_master_sdo_upload() and ecrt_master_sdo_download() also for
kernel space.
2011-09-15 16:33:13 +02:00
Florian Pose af63d2c39a Fixed bug in ec_master_queue_datagram() introduced in c9d32805d984. 2011-07-21 18:25:38 +02:00
Florian Pose 41db169cc3 Improved ecrt_master_queue_datagram(); detect skipped datagrams also when
already sent.
2011-07-08 14:26:25 +02:00
Florian Pose 6929f2f718 Added ecrt_master_reset() method. 2010-11-30 15:24:21 +01:00
Florian Pose 190cdce964 Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
Florian Pose 324b9758a2 Implemented ecrt_master_read_idn() and ecrt_master_write_idn() in kernel space. 2010-07-06 15:09:57 +02:00
Florian Pose 8b6d5f8af3 Fixed bug that caused the configuration not to be cleared when reserved but
not activated and then releasing.
2010-06-02 22:54:08 +02:00