Florian Pose
3197ca4a23
Removed kobject from slave_config.
2008-06-12 07:45:27 +00:00
Florian Pose
fbdb093ec0
Clear domains before slave configs, because domain references the FMMU
...
configurations.
2008-06-12 07:32:05 +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
2a7a7e2e5c
Replaced misleading %i by %u.
2008-06-10 11:54:39 +00:00
Florian Pose
825836dd77
Removed master info from sysfs.
2008-06-05 15:44:58 +00:00
Florian Pose
7194a43da1
Implemented 'ethercat debug' command.
2008-06-05 14:33:36 +00:00
Florian Pose
e5f7d6f400
Introduced ec_master_domain_count() and ec_master_find_domain().
2008-06-04 10:10:05 +00:00
Florian Pose
8b8b470eaa
Introduced ec_master_find_slave().
2008-05-30 10:46:14 +00:00
Florian Pose
85e8f72c68
Output subindices with %02X.
2008-05-30 09:39:29 +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
c294906bbf
Moved setting of the allow flags.
2008-04-25 12:13:26 +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
593a5fda9c
Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
...
-> "Pdo mapping"; created ecrt_slave_config_pdo_assign_clear() and
ecrt_slave_config_pdo_mapping_clear().
2008-04-03 13:34:13 +00:00
Florian Pose
f69b21af02
Renamed EEPROM to SII.
2008-03-17 09:38:48 +00:00
Florian Pose
f28f42ceb1
Introduced ec_sdo_request_state_t, making ec_request_t private again;
...
therefore added EC_REQUEST_INIT and renamed EC_REQUEST_IN_PROGRESS to
EC_REQUEST_BUSY and EC_REQUEST_COMPLETE to EC_REQUEST_SUCCESS.
2008-03-04 11:37:51 +00:00
Florian Pose
0b5b3b9e9b
Removed slave pointer from ec_sdo_request_t class.
2008-02-29 16:20:12 +00:00
Florian Pose
350c159a9d
Renamed [PS]DO to [PS]do.
2008-02-22 12:29:30 +00:00
Florian Pose
3a50cd0ff1
Allow bus configuration when link is down.
2008-02-19 09:58:48 +00:00
Florian Pose
6189092aed
Implemented most realtime interface changes for version 1.4, improved
...
ec_pdo_t and ec_pdo_entry_t classes, added fmmu_config_t, adjusted
minimal example, etc...
2008-02-19 08:22:20 +00:00
Florian Pose
c5b3ade0c0
Updated Doxygen documentation.
2007-09-24 12:12:11 +00:00
Florian Pose
1c829731ed
Improved EoE handling: Avoided skipping of datagrams and release lock
...
while processing.
2007-09-12 14:48:53 +00:00
Florian Pose
7369f5a5a2
Removed measure_bus_time().
2007-09-12 14:07:28 +00:00
Florian Pose
7597e2795e
Store skipped information in datagrams; name datagrams for statistics
...
output.
2007-09-12 14:06:35 +00:00
Florian Pose
c4b87f7317
Added --enable-eoe conditional.
2007-09-12 13:10:15 +00:00
Florian Pose
0a99c21c72
Show bus status and PDO slaves status in master info file.
2007-09-12 12:30:48 +00:00
Florian Pose
9590fc6e37
Fixed EtherCAT addressing problem on big-endian systems. The slaves
...
address is now a four-byte-array, that is filled with little-endian
(EtherCAT) values on datagram creation.
2007-09-06 09:28:38 +00:00
Florian Pose
808ad3e2f1
Added ecrt_master_get_slave_by_pos().
2007-08-10 13:46:34 +00:00
Florian Pose
68e6dfc108
Implemented debug frame ring to output the last n frames for debugging
...
reasons.
2007-08-09 15:01:14 +00:00
Florian Pose
f76d31ec92
Included datagram queuing in critical section in idle task; added some
...
debugging and comments.
2007-08-09 14:47:37 +00:00
Florian Pose
cc0cee6757
Re-ordered criteria for datagram matching.
2007-08-09 14:40:29 +00:00
Florian Pose
20daa81763
Minor change.
2007-08-09 14:28:54 +00:00
Florian Pose
480d12021b
Added debugging output for unmatched frames and those that timed out.
2007-08-07 13:33:57 +00:00
Florian Pose
c9c595f94e
Introduced frames_timed_out flag to notice bus failure when link down is
...
not detected.
2007-05-03 14:29:21 +00:00
Florian Pose
f5d3ec538a
Completely lock master while an EoE cycle is executing.
2007-03-16 14:42:04 +00:00
Florian Pose
9466d51185
Dynamic creation of EoE handlers.
2007-03-16 14:00:12 +00:00
Florian Pose
2a1920caaa
Removed unecessary clearing of EoE handlers in master init function;
...
fixed possible bug on failing to initialize or add master kobject.
2007-03-16 11:23:08 +00:00
Florian Pose
f5a7e78786
Slave configuration exclusively from master thread; removed
...
ec_master_sync_io(); introduced events in the master state machine;
locking of slave scanning and slave configuration through allow_scan
and allow_config flags.
2007-03-12 18:21:42 +00:00
Florian Pose
b09000d770
Fixed skipped datagrams when not in FSM idle phase.
2007-03-12 13:59:06 +00:00
Florian Pose
571917dd1a
Introduced idle flag in master state machine.
2007-03-12 12:11:43 +00:00
Florian Pose
594c3bb715
Made waiting for device semaphore uninterruptible.
2007-03-12 08:47:56 +00:00
Florian Pose
6ef75e4d45
Replaced master variable 'atomic_t available' by integer and used
...
semaphore in module.c instead.
2007-03-12 08:42:02 +00:00
Florian Pose
2907aebfdf
Implemented SDO reading with wait queues.
2007-03-09 15:11:29 +00:00
Florian Pose
b0c1fbaeb0
Removed X:Y addressing scheme, ec_slave_is_coupler(),
...
ec_master_calc_addressing(), coupler_index and coupler_subindex variables.
Adapted lsec script and examples.
2007-03-09 13:24:15 +00:00
Florian Pose
70482be0ac
Added parameters for vendor ID and product code to ecrt_get_slave(); PDO
...
registration functions now take a slave pointer as argument; changed
values for ec_bus_status_t.
2007-03-09 10:24:50 +00:00
Florian Pose
8ac6516b4e
Allow only MAC addresses as device identifiers; replaced master list by
...
master array; hand ober MAC addresses with array module parameters.
2007-03-08 18:15:25 +00:00
Florian Pose
37baf012fb
Removed ecrt_master_run(), removed datagram queueing from state
...
machines, added datagram injection, two different master thread
functions.
2007-03-08 13:02:42 +00:00
Florian Pose
b4bfda2e62
Introduced master status, ecrt_master_get_status(), tainted flag,
...
pdos_registered flags and pdo_slaves_offline counter.
2007-03-05 10:35:50 +00:00