TODO
author Martin Troxler <ch1010277@ch10pc446>
Wed, 05 Jan 2011 11:33:31 +0100
changeset 2030 2bd8ad8bf41f
parent 1977 e9f722488fcd
child 2011 04fdb4abf120
permissions -rw-r--r--
Sii write wait_event() deadlock fixed: use wait_event_interruptible and refcount ec_master_sii_write_request_t objects with kref
-------------------------------------------------------------------------------

EtherCAT master TODO

$Id$

vim700: spelllang=en spell

-------------------------------------------------------------------------------

Version 1.5.0:

* Ethernet drivers:
    - Fix link detection in generic driver.
    - Add native drivers from 2.6.24 up to 2.6.31.
* ethercat tool:
    - Implement ranges for slaves and domains.

Future issues:

* Remove allow_scanning flag.
* Output skipped datagrams again.
* Check for Enable SDO Complete Access flag.
* Do not output 'SDO does not exist' when querying data type.
* Always write down PDO assignment/mapping in doubt? If not, add an interface
  for enforcing this.
* Read AL status code on spontaneous state change.
* recompile tool/CommandVersion.cpp if revision changes.
* Log SoE IDNs with real name ([SP]-x-yyyy).
* Only output watchdog config if not default.
* Implement CompleteAccess for SDO uploads.
* Output warning when send_ext() is called in illegal context.
* Change SDO index at runtime for SDO request.
* Implement ecrt_slave_config_request_state().
* Remove default buffer size in SDO upload.
* Override sync manager size?
* Show Record / Array / List type of SDOs.
* Distributed clocks:
    - Use vendor correction factors when calculating transmission delays.
    - Skip setting system time offset when application detached.
    - How to use the SYNC1 shift time?
    - Do not output graph, if topology calculation failed.
    - Set the "Cyclic Generation Start Time" based on the slave's
      "System Time" register instead of using the application time.
    - Check if register 0x0980 is working, to avoid clearing it when
      configuring.
* Mailbox protocol handlers.
* Mailbox state machine using toggle bits.
* External memory for SDO transfers.
* C++ implementation of the library.
* Bus simulator interface.
* Move master threads, slave handlers and state machines into a user
  space daemon.
* Allow master requesting when in ORPHANED phase
* Mailbox gateway.
* Separate CoE debugging.
* Evaluate EEPROM contents after writing.
* Optimize alignment of process data.
* Redundancy with 2 network adapters.
* Interface/buffers for asynchronous domain IO.
* Make scanning and configuration run parallel (each).
* ethercat tool:
    - Add a -n (numeric) switch.
	- Check for unwanted options.
    - Fix number of digits in negative integer hex output.
    - Data type abbreviations.
    - Add -x switch for hex display.
    - Implement CompleteAccess
    - Implement --output-file argument in foe_read.
    - Implement indent in 'ethercat ma'
    - Implement 0xXXXX:YY format for specifying SDOs.
    - Implement reading from stream for soe_write.
    - Output error after usage.
* Simplify master fsm by introducing a common request state to handle external
  requests (replace write_sii, sdo_request, etc).
* Remove stdio uses in userspace library?
* Fix casting away constness during expected WC calculation.
* Fix bus scan hang when calling ecrt_master_deactivate().

Smaller issues:

* Read out CRC counters.
* Configure slave ports to automatically open on link detection.
* Fix datagram errors on application loading/unloading.

Less important issues:

* Allow VLAN tagging.
* Determine number of frames, the NIC can handle.

-------------------------------------------------------------------------------