Florian Pose
|
d3e9618f51
|
Loop through datagrams, then FMMUs; redundancy flag in domain state.
|
2012-03-16 18:24:29 +01:00 |
Florian Pose
|
a304442ebc
|
Compare with send buffer; copy changed data.
|
2012-03-16 16:04:26 +01:00 |
Florian Pose
|
39b918ed71
|
Added fix for ESC port order (DC delay calculation).
|
2012-01-30 15:17:34 +01:00 |
Florian Pose
|
d88ab15d42
|
Fixed reset of allow_scanning flag if ecrt_master_activate() was not called.
|
2012-01-13 11:27:20 +01:00 |
Florian Pose
|
6edb7e55f6
|
Allocated ioctl data structures dynamically to avoid stack warnings.
|
2012-01-10 11:30:41 +01:00 |
Florian Pose
|
680d944ccd
|
Decreased maximum length of error message to avoid stack warning.
|
2012-01-10 11:30:03 +01:00 |
Florian Pose
|
543a18d9bb
|
Fixed semaphore header for kernels < 2.6.27.
|
2012-01-10 10:43:36 +01:00 |
Florian Pose
|
a7b3698d7d
|
Copy missing slave_info data in kernel space.
|
2012-01-10 10:11:20 +01:00 |
Florian Pose
|
e47f14fd77
|
Avoided casting-away constness in expected working counter calculation.
|
2011-08-11 19:43:48 +02:00 |
Florian Pose
|
d0bd89882b
|
Replaced i with dev_idx.
|
2012-03-15 14:23:16 +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
|
84de8d1928
|
Allocated ioctl data structures dynamically to avoid stack warnings.
|
2012-01-10 11:30:41 +01:00 |
Florian Pose
|
dd7e81ad27
|
Decreased maximum length of error message to avoid stack warning.
|
2012-01-10 11:30:03 +01:00 |
Florian Pose
|
f4623c86fd
|
Fixed semaphore header for kernels < 2.6.27.
|
2012-01-10 10:43:36 +01:00 |
Florian Pose
|
94a4f01ba5
|
Copy missing slave_info data in kernel space.
|
2012-01-10 10:11:20 +01:00 |
Stefan Weiser
|
8cb225b61d
|
Insert port information into slave info.
|
2010-04-30 10:53:56 +02:00 |
Florian Pose
|
929df897b5
|
Avoided unused variable warnings.
|
2012-01-09 17:42:28 +01:00 |
Florian Pose
|
0be8352c54
|
Allow gaps between SDO subindices when fetching dictionary.
|
2012-01-05 16:53:08 +01:00 |
Florian Pose
|
73de007970
|
Allow CoE OD List Segments to have 6 bytes instead of 8.
|
2012-01-05 16:47:23 +01:00 |
Florian Pose
|
a1251dfed8
|
Removed some locks causing latency when using the library; added ioctl()
latency debugging; fixed FoE memory leaks in error case.
|
2011-12-20 11:12:04 +01:00 |
Florian Pose
|
6109aa9c98
|
merge
|
2011-12-16 16:31:40 +01:00 |
Florian Pose
|
76ea7a103c
|
Removed unnecessary call of ec_master_inject_external_datagrams().
|
2011-12-16 16:29:00 +01:00 |
Florian Pose
|
d2b82936fb
|
Minor: Fixed spacing.
|
2011-12-16 16:26:16 +01:00 |
Florian Pose
|
c44723a347
|
Read AL status code before acknowledging spontaneous state change.
|
2011-12-16 11:42:55 +01:00 |
Florian Pose
|
a37b4b292d
|
Improved resetting number of responding slaves.
|
2011-12-09 10:35:23 +01:00 |
Florian Pose
|
4f1b5d4ae3
|
Minor: Ordered master member initialisations.
|
2011-12-09 10:46:25 +01:00 |
Florian Pose
|
dc64d9c2a7
|
Minor.
|
2011-12-09 10:46:04 +01:00 |
Florian Pose
|
c613a80715
|
Added --enable-wildcards to use 0xffffffff as wildcard for vendor ID and
product code.
|
2011-11-04 12:21: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
|
0f875c88cf
|
Always enable a sync manager, if there are registered PDOs conatined (and it
is not virtual)
|
2011-10-24 10:47:36 +02:00 |
Florian Pose
|
c2f8bbb8f4
|
Fixed missing return causing slaves not going to OP.
|
2011-09-22 16:52:54 +02:00 |
Florian Pose
|
8000c89bcc
|
Fixed typo.
|
2011-09-19 13:12:32 +02:00 |
Florian Pose
|
281c57130f
|
Removed unnecessary list header.
|
2011-09-16 16:44:13 +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
|
ad0e01da9e
|
Bugfix: Reset config_changed flag when aborting state check.
|
2011-09-16 09:19:24 +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
|
cca109cc6e
|
No app_time is only warning.
|
2011-09-15 16:31:43 +02:00 |
Florian Pose
|
3981accaae
|
Output app_time in DC debugging.
|
2011-09-15 12:38:48 +02:00 |
Florian Pose
|
a877b8583c
|
Improved DC sync at startup: Abort iterating though slaves and first correct
system time offsets, then begin configuring at slave 0.
|
2011-08-09 22:10:45 +02:00 |
Florian Pose
|
2b8cee1651
|
Minor: Fixed broken keyword strings.
|
2011-08-09 22:17:16 +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
|
578818edbd
|
Minor: removed unnecessary return.
|
2011-07-08 14:28:07 +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
|
62d6fa6605
|
Fixed datagram statistics output (skipped datagrams).
|
2011-07-08 14:23:22 +02:00 |
Florian Pose
|
6edbee06f0
|
Fixed compiler error for kernel versions < 2.6.23.
|
2011-05-12 08:40:22 +02:00 |
Florian Pose
|
6929f2f718
|
Added ecrt_master_reset() method.
|
2010-11-30 15:24:21 +01:00 |
Florian Pose
|
f739694670
|
Improved compiling on 2.6.34 (thanks to Malcolm Lewis).
|
2010-10-25 16:45:33 +02:00 |
Florian Pose
|
83e1173e12
|
Added missing header.
|
2010-10-25 16:33:41 +02:00 |
Florian Pose
|
47a3e1a5c1
|
Minor 64bit improvements.
|
2010-10-25 16:15:12 +02:00 |
Florian Pose
|
a7cdeeec13
|
Increased AL state change timeout to 5 s.
|
2010-10-25 09:57:37 +02:00 |
Florian Pose
|
869215071e
|
Output IDN configuration as part of 'ethercat config -v'.
|
2010-10-24 08:43:44 +02:00 |
Florian Pose
|
19a1a019ea
|
merge.
|
2010-09-22 15:41:43 +02:00 |
Florian Pose
|
65cffd14d9
|
Read at least 64 words, when SII size determination failed.
|
2010-09-22 12:28:36 +02:00 |
Florian Pose
|
7edceb2028
|
Minor: Improved SII debugging.
|
2010-09-22 12:26:32 +02:00 |
Florian Pose
|
d3a9a36d63
|
Always write PDO mapping/assignment.
|
2010-09-21 14:20:23 +02:00 |
Florian Pose
|
b3e4b73854
|
Merge.
|
2010-09-16 10:16:12 +02:00 |
Florian Pose
|
6f97d7e27f
|
Rescan command.
|
2010-09-16 09:08:11 +02:00 |
Florian Pose
|
ba64ed28fc
|
Fixed frame statistics overflow (to be verified).
|
2010-07-31 16:45:10 +02:00 |
Florian Pose
|
190cdce964
|
Added drive_no parameter to SoE layer.
|
2010-07-20 10:52:31 +02:00 |
Florian Pose
|
0e0033f572
|
Improved SII debugging.
|
2010-07-13 13:52:59 +02:00 |
Florian Pose
|
5531b692ee
|
Output correct errno when transferring SDOs via command-line interface.
|
2010-07-06 17:40:20 +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
|
5c131113dd
|
Incremented ioctl interface version; Minor changes.
|
2010-06-06 23:16:30 +02:00 |
Florian Pose
|
26d4687d0e
|
Added state parameter to ecrt_slave_config_idn().
|
2010-06-06 22:40:22 +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 |
Florian Pose
|
c442beaa02
|
Minor change.
|
2010-06-02 22:46:48 +02:00 |
Florian Pose
|
ca921529a2
|
Introduced configure switch --enable-regalias for enabling reading alias
addresses from registers. Disabled by default.
|
2010-05-25 14:12:02 +02:00 |
Florian Pose
|
9618b9dfe6
|
Added debug output for ecrt_slave_config_dc().
|
2010-05-25 13:32:43 +02:00 |
Florian Pose
|
6d354de9c0
|
Fixed format specifiers.
|
2010-05-20 12:46:09 +02:00 |
Florian Pose
|
d9f27a2597
|
Made send_interval variable an unsigned int; fixed format specifiers for
size_t variables.
|
2010-05-20 12:35:36 +02:00 |
Florian Pose
|
337f2c09ef
|
Fixed NULL pointer dereference caused by wrong usage of DBG macro.
|
2010-05-06 11:56:35 +02:00 |
Florian Pose
|
9c91630351
|
Write DC system time offsets right after slave scan / config change. Wait for DC clock discipline.
|
2010-05-06 11:42:52 +02:00 |
Florian Pose
|
a05a56429a
|
Minor change.
|
2010-05-06 11:41:25 +02:00 |
Florian Pose
|
cf105593d2
|
Minor.
|
2010-05-06 11:39:29 +02:00 |
Florian Pose
|
e1571b2795
|
Minor.
|
2010-05-06 11:39:08 +02:00 |
Florian Pose
|
62b722ab33
|
Improved syslog macros.
|
2010-05-03 18:07:57 +02:00 |
Stefan Weiser
|
209ab5e91d
|
Insert port information into slave info.
|
2010-04-30 10:53:56 +02:00 |
Florian Pose
|
429b3ee07e
|
Avoided unused variable warnings.
|
2012-01-09 17:42:28 +01:00 |
Florian Pose
|
228501779b
|
Allow gaps between SDO subindices when fetching dictionary.
|
2012-01-05 16:53:08 +01:00 |
Florian Pose
|
4003271dc4
|
Allow CoE OD List Segments to have 6 bytes instead of 8.
|
2012-01-05 16:47:23 +01:00 |
Florian Pose
|
6221ffe79c
|
Removed some locks causing latency when using the library; added ioctl()
latency debugging; fixed FoE memory leaks in error case.
|
2011-12-20 11:12:04 +01:00 |
Florian Pose
|
db64bfe5a5
|
Removed unnecessary call of ec_master_inject_external_datagrams().
|
2011-12-16 16:29:00 +01:00 |
Florian Pose
|
de0d773944
|
Minor: Fixed spacing.
|
2011-12-16 16:26:16 +01:00 |
Florian Pose
|
ccb7acef66
|
Read AL status code before acknowledging spontaneous state change.
|
2011-12-16 11:42:55 +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
|
953e723f31
|
Minor.
|
2011-12-09 10:46:04 +01:00 |
Florian Pose
|
3dbe764174
|
Added --enable-wildcards to use 0xffffffff as wildcard for vendor ID and
product code.
|
2011-11-04 12:21:09 +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
|
2bb6c33d4e
|
Output device name in link change message; fixed null-pointer protections.
|
2011-11-09 17:07:33 +01:00 |
Florian Pose
|
162ba28f35
|
Renamed main device to ecmX.
|
2011-11-09 17:06:04 +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
|
ec84b03034
|
Master accepting two devices.
|
2011-11-09 12:05:44 +01:00 |
Florian Pose
|
9b3fdfb06e
|
Improved comments.
|
2011-10-28 10:54:39 +02:00 |
Florian Pose
|
02b27f9fbc
|
Fixed possible bug in EoE code: Only restart EoE process, when it was running
before (not while scanning).
|
2010-04-27 13:40:44 +02:00 |
Florian Pose
|
6373e38ca3
|
Introduced effective_alias variable to separate reg12 alias from SII alias.
|
2010-04-23 16:42:27 +02:00 |
Florian Pose
|
d24bede41c
|
Added missing code documentation.
|
2010-04-19 21:56:16 +02:00 |
Florian Pose
|
351e1a681a
|
Renamed sdo_injecton_timeout to ext_injection_timeout.
|
2010-04-19 21:54:54 +02:00 |
Florian Pose
|
18549af043
|
Better use enums in SoE code.
|
2010-04-19 21:53:52 +02:00 |
Florian Pose
|
68cbcacb95
|
Moved ABS() macro to globals.
|
2010-04-19 21:52:46 +02:00 |
Florian Pose
|
6bfa337435
|
Documented fsm_foe members and removed unused variables.
|
2010-04-16 07:57:16 +02:00 |
Florian Pose
|
1a373c1c59
|
Use ec_datagram_zero() wherever possible.
|
2010-04-15 20:15:48 +02:00 |
Florian Pose
|
f5ffc1f386
|
Added debugging output for result of register request.
|
2010-04-15 12:31:12 +02:00 |
Florian Pose
|
1aa6122534
|
Improved DC tome offset calculation:
- Only write time offset, if absolute difference to application time is
more than 100 ms.
- Separate handling for 32 bit and 64 bit time registers.
|
2010-03-29 18:04:17 +02:00 |
Florian Pose
|
454b42eb9f
|
Included futher AL status code messages.
|
2010-03-29 13:53:17 +02:00 |
Florian Pose
|
7c95c485eb
|
Removed unnecessary kernel header inclusion.
|
2010-03-25 11:30:26 +01:00 |
Florian Pose
|
6d94d17576
|
Minor fix.
|
2010-03-19 12:46:57 +01:00 |
Florian Pose
|
4b66f42669
|
Improved SoE statemachine error output.
|
2010-03-19 12:42:23 +01:00 |
Florian Pose
|
1d419954f2
|
Minor fix.
|
2010-03-19 12:39:05 +01:00 |
Florian Pose
|
6f07aec656
|
Included list of common SoE error messages.
|
2010-03-19 12:01:32 +01:00 |
Florian Pose
|
bf2bffdcf5
|
Added missing queue_external_datagram(); removed tabs.
|
2010-03-19 10:48:16 +01:00 |
Florian Pose
|
15bc20fb11
|
Fixed fragmented SoE write.
|
2010-03-09 16:17:51 +01:00 |
Florian Pose
|
05cda2e570
|
Implemented SoE write fragmenting.
|
2010-03-09 14:40:25 +01:00 |
Florian Pose
|
cde1ad8ca0
|
Implemented SoE fragmented reading.
|
2010-03-09 13:37:15 +01:00 |
Florian Pose
|
430b47d574
|
64 bit frame statistics.
|
2010-03-09 12:18:43 +01:00 |
Florian Pose
|
d5c2b6f0b2
|
Implemented ecrt_slave_config_idn() for user-space library.
|
2010-03-09 12:01:29 +01:00 |
Florian Pose
|
271d540f38
|
Output tx errors and tx rate in byte/s.
|
2010-03-09 10:22:32 +01:00 |
Florian Pose
|
79e2df1245
|
Fixed clearing frame statistics on link down.
|
2010-03-09 09:59:32 +01:00 |
Florian Pose
|
a029de59e5
|
Clear frame statistics on link loss.
|
2010-03-08 08:01:26 +01:00 |
Florian Pose
|
5203433078
|
Fixed frame statistics.
|
2010-03-08 07:40:54 +01:00 |
Florian Pose
|
697124e23c
|
Frame statistics in 'ethercat master' output.
|
2010-03-07 23:55:51 +01:00 |
Florian Pose
|
541a6e145c
|
Fixed segfault - Initialize SoE request properly.
|
2010-03-07 23:08:07 +01:00 |
Florian Pose
|
1cea08c920
|
Removed unused variable frames_timed_out.
|
2010-03-07 21:20:40 +01:00 |
Florian Pose
|
fc4ee4d699
|
Added ecrt_slave_config_idn() method to store SoE IDN configurations.
|
2010-03-05 18:05:35 +01:00 |
Florian Pose
|
27ecf7ad96
|
Added ec_soe_request_copy() method.
|
2010-03-05 18:02:13 +01:00 |
Florian Pose
|
388fbd730f
|
Minor: Removed unnecessary include.
|
2010-03-05 17:48:50 +01:00 |
Florian Pose
|
adb0a81974
|
Fixed reading error code from write response.
|
2010-03-05 16:30:51 +01:00 |
Florian Pose
|
3fda13418c
|
Fixed returning SoE error code.
|
2010-03-05 16:15:49 +01:00 |
Florian Pose
|
e875955873
|
Fixed SoE opcode determination.
|
2010-03-05 16:15:22 +01:00 |
Florian Pose
|
ffca1fa780
|
Implemented SoE write state machine and soe_write command.
|
2010-03-05 15:32:56 +01:00 |
Florian Pose
|
3850763eca
|
Implemented reading Sercos-over-EtherCAT services. To be continued...
|
2010-03-01 18:33:42 +01:00 |
Florian Pose
|
d11fd92168
|
Reset AL states on link down.
|
2010-02-26 18:22:02 +01:00 |
Florian Pose
|
f41dadb84f
|
Multi-master support for command-line tool. The --master option supports
ranges like '1-3,6,7-9'. The ioctl() interface version is checked.
|
2010-02-24 16:27:11 +01:00 |
Florian Pose
|
6e06798fb2
|
Use kernel's modules_install target, instead of building our own. Attention:
Module installation directories have changed!
|
2010-02-23 17:37:02 +01:00 |
Florian Pose
|
ed4205d08a
|
Improved output when PDO assignment/mapping fails.
|
2010-02-23 15:49:12 +01:00 |
Florian Pose
|
f5a2a4167d
|
Introduced ec_datagram_print_state() method and used it at all places where
the datagram state is output.
|
2010-02-23 15:13:56 +01:00 |
Florian Pose
|
b16ac3ff7a
|
Increased default number of masters to 32.
|
2010-02-16 18:19:17 +01:00 |
Florian Pose
|
69da1f1cb2
|
Improved handling and installation of the modules' symbol versions.
|
2010-02-16 15:08:54 +01:00 |
Florian Pose
|
328b7e1df8
|
Fixed master/Makefile.am in case Module.symvers does not exist.
|
2010-02-15 18:31:23 +01:00 |
Florian Pose
|
a144042657
|
Removed tabulators.
|
2010-02-05 10:29:47 +01:00 |
Martin Troxler
|
7ac0b678be
|
Merge
|
2010-02-02 08:35:28 +01:00 |
Martin Troxler
|
70c30b43e5
|
Merged
|
2010-01-31 14:50:37 +01:00 |
Florian Pose
|
0114f02d27
|
Reduced CoE timeouts to 1000 ms.
|
2010-01-26 11:38:25 +01:00 |
Florian Pose
|
afad66a301
|
Improved dictionary timeout messages.
|
2010-01-26 11:35:58 +01:00 |
Florian Pose
|
ac50d8c983
|
Improved CoE error messages.
|
2010-01-26 11:20:07 +01:00 |
Florian Pose
|
d48d9ebac2
|
Do not output CoE retries.
|
2010-01-26 10:17:44 +01:00 |
Dominik Staubli
|
0091e7df92
|
Support of virtual sync managers
|
2010-01-26 09:30:35 +01:00 |
Dominik Staubli
|
c27bbf7495
|
Merge
|
2010-01-21 11:10:22 +01:00 |
Dominik Staubli
|
60b6807f24
|
Domain datagram working counter calculation bugfix: increment expected wc for a given slave & direction just once for each datagram
This bug occurs if you configure more than one SM in the same direction on the same slave
|
2010-01-21 11:09:31 +01:00 |
Martin Troxler
|
3aa10edd8b
|
Merged
|
2010-01-19 19:33:47 +01:00 |
Martin Troxler
|
012ff0901d
|
removed tabulators
|
2010-01-19 19:31:55 +01:00 |
Florian Pose
|
1753d24369
|
Fixed name of byte transmission time define; changed coding style.
|
2010-01-19 17:57:46 +01:00 |
Florian Pose
|
4f347b6da8
|
Disable use of hrtimer for scheduling by default. Does not work on some PPC targets.
|
2010-01-19 15:15:57 +01:00 |
Martin Troxler
|
a79eae489d
|
Silently use alias from SII if reading it from register 0x0012 fails
|
2010-01-11 15:43:02 +01:00 |
Florian Pose
|
91e5c0d860
|
Merged Komax changes.
|
2010-01-08 11:26:07 +01:00 |
Florian Pose
|
a163d3f1bd
|
Implemented ecrt_master() and ecrt_master_get_slave() in kernel space.
|
2010-01-07 17:26:39 +01:00 |
Matthias Luescher
|
10e265ca58
|
Merged
|
2010-01-04 11:28:29 +01:00 |
Matthias Luescher
|
bc69c4f97b
|
Fixed sdo request handling in case of failure
|
2010-01-04 11:27:37 +01:00 |
Martin Troxler
|
5d6ce8b992
|
Merged
|
2009-12-27 16:58:19 +01:00 |
Martin Troxler
|
49fc79081f
|
merged
|
2009-12-18 11:09:07 +01:00 |
Martin Troxler
|
1f23c5c2d2
|
undone changes of revision 1547: Abort SDO/FOE requests when slave is in INIT
|
2009-12-18 10:35:53 +01:00 |
Matthias Luescher
|
df099a1998
|
fix build for recent kernel versions (tested with 2.6.31)
|
2009-12-17 17:21:03 +01:00 |
Martin Troxler
|
8d4a5ed16a
|
removed busy loop in idle thread
|
2009-12-17 10:54:59 +01:00 |
Martin Troxler
|
926685db26
|
master FSM enables slave FSM
slave FSM should not be active when master is scanning or configuring the slaves
|
2009-12-15 10:59:07 +01:00 |
Martin Troxler
|
94fec37d0f
|
use given send interval to limit SDO/FOE traffic
|
2009-12-15 10:55:36 +01:00 |
Martin Troxler
|
8c486431ce
|
removed obsolete datagram reinit in fsm_sii
|
2009-12-15 10:53:28 +01:00 |
Florian Pose
|
344ec90545
|
Merged changes by Martin Troxler.
|
2009-12-14 13:25:50 +01:00 |
Florian Pose
|
699b184f6f
|
Merged changes from Martin Troxler.
|
2009-12-14 13:11:36 +01:00 |
Martin Troxler
|
e23af9cfdb
|
Postpone SDO request when slave is in INIT
|
2009-12-10 13:19:21 +01:00 |
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
|
a864fc8396
|
ec_print_data: show only the first 128 and the last 128 bytes of a data block
|
2009-11-30 12:26:24 +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
|
8e2d564639
|
Introduced mailbox/CoE defines; avoided duplicate code in CoE segmented
download.
|
2009-11-21 21:46:52 +01:00 |
Florian Pose
|
2ee30ffbd8
|
SDO segmented download.
|
2009-11-20 19:01:38 +01:00 |
Martin Troxler
|
bf63d965d8
|
Merge
|
2009-11-19 14:44:57 +01:00 |
Martin Troxler
|
dfeb99b1cb
|
applied komax patch to version r1822
- adapted to 2.6.31 (-rt): init_MUTEX -> sema_init, net_device_ops (Matthias Lüscher)
- 8139too eth driver for 2.6.31 (Matthias Lüscher)
- scan_busy queryable in user mode (ec_master_info_t) (Martin Troxler)
- read alias from register 0x0012 (TODO: reread alias after sii write) (Martin Troxler)
- cancel external SDO/FOE,Reg&SII requests (Martin Troxler)
|
2009-11-19 14:39:10 +01:00 |
Florian Pose
|
bd90926ab3
|
Use net_device_ops also for EoE devices from 2.6.29 on.
|
2009-11-19 13:53:33 +01:00 |
Florian Pose
|
3a757b8dcc
|
Print complete Ethernet frame during debug.
|
2009-11-05 09:25:25 +01:00 |
Florian Pose
|
49c2f676d5
|
Bugfix: Unqueue datagram before destroying.
|
2009-10-29 17:28:49 +01:00 |
Florian Pose
|
fa26232937
|
Later freeing of netdev.
|
2009-10-28 14:59:34 +01:00 |
Florian Pose
|
fce4304366
|
Added missing newline.
|
2009-10-28 14:01:23 +01:00 |
Florian Pose
|
98132eff81
|
Avoid zeroing mailbox datagram because of VoE handlers.
|
2009-10-28 13:47:39 +01:00 |
Florian Pose
|
ed57943fd4
|
Using snprintf for interface name.
|
2009-10-28 13:17:08 +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
|
5bc430d1a7
|
Removed unused sysfs macros.
|
2009-10-13 16:52:56 +02:00 |
Florian Pose
|
e3b459e060
|
Fixed clearing slaves: Also clear external requests before. Thanks to Martin
Troxler.
|
2009-10-06 13:50:30 +02:00 |
Florian Pose
|
700226ac83
|
DC synchrony monitoring methods.
|
2009-08-21 12:15:16 +02:00 |
Florian Pose
|
da10aa7043
|
Merge
|
2009-08-21 09:46:29 +02:00 |
Florian Pose
|
1aa450c318
|
Fixed SDO upload segment response for 10 bytes mailbox length (thanks to Joerg
Mohre).
|
2009-08-21 09:45:53 +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
|
6161473018
|
Switched from Subversion to Mercurial.
|
2009-08-13 15:18:53 +02:00 |
Florian Pose
|
10c7501851
|
Implemented CompleteAccess for SDO downloads.
|
2009-08-13 13:53:56 +02:00 |
Florian Pose
|
4099c6905b
|
Check for NULL pointer in ecdev_receive().
|
2009-08-11 12:15:20 +00:00 |
Florian Pose
|
c2cf92f9ec
|
Fixed setting watchdog intervals.
|
2009-08-06 12:52:53 +00: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
|
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 |