Commit Graph

1164 Commits

Author SHA1 Message Date
Florian Pose 0d76e9719b Prefer EEPROM sync manager information for config. 2006-07-17 13:01:38 +00:00
Florian Pose a6045ba242 Added missing AL status code messages. 2006-07-17 12:58:47 +00:00
Florian Pose 96cb13803c Avoided crashes on kernel 2.4 acc. to patch by M. Schwerin. 2006-07-06 08:39:48 +00:00
Florian Pose 62f69ac0fb Removed warnings acc. to patch by M. Schwerin. 2006-07-06 08:38:08 +00:00
Florian Pose 0fdda5afef Applied include patch by M. Schwerin. 2006-07-06 08:31:55 +00:00
Florian Pose 6fdf205382 Renamed command structure to datagram. 2006-07-06 08:23:24 +00:00
Florian Pose 4a72709aa1 Minor changes in fsm.c and slave.c 2006-06-27 20:24:32 +00:00
Florian Pose 682c27d1d8 Slave: state_error -> error_flag, error_flag only in slave state machine. 2006-06-27 20:08:15 +00:00
Florian Pose a5eb823057 Introducing infrastructural slaves that do not contain process data. 2006-06-27 19:46:25 +00:00
Florian Pose 2bafa768f0 Removing "Modules.symvers" on make clean. 2006-06-27 19:31:26 +00:00
Florian Pose 92a035f82b Added missing documentation. 2006-06-26 16:05:30 +00:00
Florian Pose 004e2af8de Better modules_install targets. 2006-06-26 14:20:36 +00:00
Florian Pose 1d15573863 types.c: BK1120 outputs and EL1004. 2006-06-26 11:28:24 +00:00
Florian Pose dba003179f Removed mbox_command out of slave. 2006-06-21 10:09:36 +00:00
Florian Pose 90cc2fd7e7 Removed debugging output. 2006-06-21 10:08:30 +00:00
Florian Pose cb123b86ae Minor changes. 2006-06-21 09:09:55 +00:00
Florian Pose 85bd5d131d Variable-sized data fields, BK1120. 2006-06-20 14:40:04 +00:00
Florian Pose b01cc85944 Bugfix: Freerun mode not stopped cleanly on device unloading. 2006-06-14 10:23:02 +00:00
Florian Pose 65a14a38fa Applied patches by Maximilian Schwerin. 2006-06-12 14:37:38 +00:00
Florian Pose 51af5bb52f EEPROM writing via SysFS. 2006-06-02 14:25:45 +00:00
Florian Pose 67c2858334 EEPROM write enable SysFS entry. 2006-06-02 12:01:47 +00:00
Florian Pose a62a25ba44 Consistent Makefiles. 2006-06-02 09:02:18 +00:00
Florian Pose 429c0b26cb Read complete eeprom data from slave and map it into SysFS. 2006-06-02 08:38:04 +00:00
Florian Pose b0c8f6d50f Changed EEPROM string/property names and changed sii_desc property to sii_name. 2006-05-29 07:48:33 +00:00
Florian Pose f26a32f340 Corrected output at slave count change. 2006-05-26 14:35:29 +00:00
Florian Pose 4950aed6eb Better state-dependent behaviour for EoE-capable slaves. 2006-05-26 14:28:49 +00:00
Florian Pose 7b3672d62b Correct behaviour of master state machine in RT mode. 2006-05-26 14:26:57 +00:00
Florian Pose a1850ae9c3 Added some documentation. 2006-05-22 09:16:12 +00:00
Florian Pose 6e392ae881 SysFS write access for slave state. 2006-05-22 07:34:58 +00:00
Florian Pose fa97fca47e Read current AL status of slaves while scanning bus. 2006-05-19 14:05:58 +00:00
Florian Pose 0a166b3f43 Link down treated as topology change in state machine. 2006-05-19 13:58:15 +00:00
Florian Pose 47585b668a Fixed bug with coupling multiple EoE handlers. 2006-05-19 13:39:35 +00:00
Florian Pose bcd07c466b Changed free-run frequency to HZ. 2006-05-19 13:38:16 +00:00
Florian Pose 4ea2816432 EoE in Free-Run mode; Finished slave configuration state machine. 2006-05-19 13:23:11 +00:00
Florian Pose 1ff86791ee Minor changes in module.c 2006-05-18 17:49:52 +00:00
Florian Pose 2916e10b50 Changed license headers and added EtherCAT license notice. 2006-05-18 12:35:47 +00:00
Florian Pose 59364271ce Minor changes in master.h 2006-05-17 09:22:31 +00:00
Florian Pose f36dd15ccc Removed EoE workqueue option. 2006-05-16 13:03:09 +00:00
Florian Pose 13c2904e0b Added finite state machine (FSM) processing. 2006-05-16 11:57:06 +00:00
Florian Pose dbb65b089d Removed unnecessary includes. 2006-05-15 12:57:24 +00:00
Florian Pose df6f48c98a Started freerun state machine development. 2006-05-12 14:48:24 +00:00
Florian Pose 0afb6324b8 No master locking, if no EoE devices are "up". 2006-05-12 12:40:45 +00:00
Florian Pose 6a12d7f440 Added debug interface for network monitors. 2006-05-11 13:29:06 +00:00
Florian Pose abb3ab22fd EoE processing with kernel timer again. 2006-05-11 09:23:45 +00:00
Florian Pose cab99683df Added EC_EOE_FREQUENCY 2006-05-10 13:56:23 +00:00
Florian Pose c5a63ad548 EoE with workqueue; bugfix in ec_master_init() 2006-05-10 11:51:05 +00:00
Florian Pose aba8b95ca7 EoE documentation updates. 2006-05-09 10:13:53 +00:00
Florian Pose add42dae3e EoE: State machine with function pointers, documentation. 2006-05-09 09:45:42 +00:00
Florian Pose e85475c233 EoE - TX fragmenting works. TCP traffic possible. 2006-05-08 16:46:43 +00:00
Florian Pose 47706fe130 EoE: Corrected faulty MAC address. 2006-05-05 14:45:02 +00:00
Florian Pose 4d37692dcf EoE: TCP traffic possible; TX fragmenting to do. 2006-05-05 13:07:49 +00:00
Florian Pose 7df9388fed EoE frame queuing, receiving of fragmented frames; no TCP possible yet. 2006-05-05 07:20:10 +00:00
Florian Pose ff8472d164 removed unnecessary private structure in eoe net_device. 2006-05-03 08:01:20 +00:00
Florian Pose 013a4a0edc moved stats into eoe struct; persistent rx-skb; tx queue. 2006-05-03 07:47:04 +00:00
Florian Pose 94c930a5bb Using kernel Ethernet constants. 2006-05-03 07:19:19 +00:00
Florian Pose 83220ba14f EoE frame receiving; regarding open/stop commands. 2006-04-26 16:43:01 +00:00
Florian Pose 9821b7ca87 command timeout, EoE processing with kernel timer. 2006-04-26 10:15:02 +00:00
Florian Pose 1f345f7df6 Prepared EoE processing with workqueue. 2006-04-25 13:43:13 +00:00
Florian Pose abdfe2f3a5 documentation update. 2006-04-25 12:15:54 +00:00
Florian Pose c7020c319d Locking callback interface. 2006-04-25 12:04:04 +00:00
Florian Pose ba806d5094 EoE net_device implementation. 2006-04-25 11:39:33 +00:00
Florian Pose 0aea75964c Restart free run mode after requesting failed. 2006-04-24 12:30:38 +00:00
Florian Pose 42fca68ae7 Doxygen added interface modules and file documentation. 2006-04-24 10:10:02 +00:00
Florian Pose b3389cee9f GPLv2 License and enhanced Doxygen output. 2006-04-21 12:35:17 +00:00
Florian Pose 2e17997172 Introduced version number define. 2006-04-20 14:34:58 +00:00
Florian Pose 91c739da77 Translated all comments and documentation to english language. 2006-04-20 13:31:31 +00:00
Florian Pose 7818664587 Prepared Free-Run mode 2006-04-12 10:40:32 +00:00
Florian Pose be21ebac29 Now fetching port physical layer from EEPROM 2006-04-11 14:39:17 +00:00
Florian Pose ad6b1732d6 Better calc. of coupler address; coupler address in SysFS; better output of ec_list 2006-04-11 14:12:01 +00:00
Florian Pose 4d86dd4cfe Slave (special) type in SysFS 2006-04-11 12:51:20 +00:00
Florian Pose 52a37f1e08 Macro for SysFS attribute definition 2006-04-11 10:17:30 +00:00
Florian Pose c225959b1c More slave fields in SysFS; DL link status for 4 ports 2006-04-11 10:05:21 +00:00
Florian Pose 849e02da7c Slaves stored in list, slaves in SysFS 2006-04-11 09:12:00 +00:00
Florian Pose 5b1d341ea9 Advanced build system 2006-04-11 08:26:18 +00:00
Florian Pose d876fe7731 Sourced SysFS attribute show method prototypes out of headers. 2006-04-10 15:00:03 +00:00
Florian Pose 4d3e4f5625 MERGE branches/sysfs -> trunk (whole SysFS implementation) 2006-04-10 14:25:02 +00:00
Florian Pose 652cb7d123 Sending of multiple frames 2006-04-10 10:53:12 +00:00
Florian Pose 02493380b0 Altered CoE "Get object description response" fields 2006-04-10 10:50:45 +00:00
Florian Pose 0d72a7dfcb Fixed bug concerning spuriously shown EoE-Errors. 2006-04-07 14:35:29 +00:00
Florian Pose 84bd407874 Better outputs concerning responding slaves. 2006-04-06 09:32:30 +00:00
Florian Pose 03ae7f543b AL status code reading after failed state transition. 2006-04-05 14:02:56 +00:00
Florian Pose d3ecd483fa Fixed state acknowledgement. 2006-04-05 13:57:01 +00:00
Florian Pose 44c00c852d Bugfix: Discovered memory leak. 2006-04-05 11:46:13 +00:00
Florian Pose 780ae5af5d Renamed slave_set_fmmu() to slave_prepare_fmmu(). 2006-04-05 11:44:41 +00:00
Florian Pose 7c5a99a7db Fixed invalid format string. 2006-04-05 09:53:55 +00:00
Florian Pose 2549224604 Bugfix: Crash after failing to fetch SDO dictionary. 2006-04-05 09:50:57 +00:00
Florian Pose 7bd5f4dfb5 Plugfest: Configure mailbox for unknown slaves. 2006-04-05 08:58:00 +00:00
Florian Pose 586cfd3584 Plugfest: Schönheitskorrekturen an Mailbox. 2006-04-05 08:47:28 +00:00
Florian Pose 0adb0590fa Plugfest: Neue Slave-Typen. 2006-04-05 08:45:34 +00:00
Florian Pose c86b979bdd Plugfest: Globale Debug-Funktionen für Frame-Daten. 2006-04-05 08:23:40 +00:00
Florian Pose 2fa964880b Plugfest: master_open()/close() ausgelagert. 2006-04-05 07:55:51 +00:00
Florian Pose 98411701ac Plugfest: domain_process mit const-Zeiger. 2006-04-05 07:47:26 +00:00
Florian Pose 294639b752 Ausgaben verbessert, Mini-Modul angepasst. 2006-04-03 19:13:11 +00:00
Florian Pose 0eb95d938e Versuche mit EoE. 2006-04-03 15:47:12 +00:00
Florian Pose 4b4092fd7e Mailbox-Interface ausgelagert, erster EOE-Ansatz. 2006-04-03 14:12:45 +00:00
Florian Pose 8306f3e3c1 Dynamischer Kommandospeicher, Domain-Kommandos als Liste. 2006-04-03 10:03:34 +00:00
Florian Pose 819ab0ad9a Link Status ausgelesen. 2006-03-31 09:27:34 +00:00
Florian Pose aaf5d8646c TO-DO und Fragen aktualisiert, kleine Schönheitskorrekturen. 2006-03-29 15:45:25 +00:00
Florian Pose d919deed4b Verbosity level in ecrt_master_print(). 2006-03-29 15:23:10 +00:00
Florian Pose 0bea90e379 Laden der SDO-Subindizes. 2006-03-29 15:10:00 +00:00
Florian Pose 5722b4bc9a SDO-Schnittstelle verbessert. 2006-03-29 10:30:13 +00:00
Florian Pose 740bf6d767 SDO-Zugriff aufgeteilt in Expedited und Normal. Noch nicht fertig... 2006-03-28 17:40:57 +00:00
Florian Pose 3b8f2472a5 Dynamische Mailbox-Kommunikation, auch mit unbekannten Slaves. 2006-03-28 15:45:19 +00:00
Florian Pose 1e150e4553 Laden der SDO Dictionaries funktioniert. 2006-03-28 13:42:50 +00:00
Florian Pose 173d70ba3c Bugfix: Größerer Puffer für CoE-Daten beim SDO upload. 2006-03-28 12:38:05 +00:00
Florian Pose 9ae1bdf63e Unterstützte Prot. auslesen, Mailbox in Slave ausgelagert, Bugfix in Anzeige des Watch-Frames und erste SDO-List-Abfrage. 2006-03-27 15:52:08 +00:00
Florian Pose 43f05519d6 CRC-Counter nach ESC-Datasheet implementiert. 2006-03-27 12:04:55 +00:00
Florian Pose e9c68fda29 Watch-Kommando 2006-03-27 09:53:59 +00:00
Florian Pose e84f011468 Bugfix: Absturz bei unbekannter Klemme. 2006-03-24 08:56:16 +00:00
Florian Pose bc02897af2 Code aufgeräumt und kleines Speicherleck entdeckt. 2006-03-24 08:35:46 +00:00
Florian Pose 2c69194a1a Restliche EEPROM-Daten ausgelesen. 2006-03-22 11:42:44 +00:00
Florian Pose 7b95ac4e32 Nachmals verfälschte Umlaute korrigiert. 2006-03-21 18:28:16 +00:00
Florian Pose ca1ed1e29c Weitere EEPROM-Daten. 2006-03-21 15:45:11 +00:00
Florian Pose 6d4fc835e1 "kaputte" Umlaute korrigiert. 2006-03-21 15:10:18 +00:00
Florian Pose 5483f50edf Bugfix: Absturz behoben, EEPROM-Infos. 2006-03-21 15:00:50 +00:00
Florian Pose 199dcda810 64bit-Division vermieden. 2006-03-21 14:35:52 +00:00
Florian Pose 58d3c00f3d Verschiedene Timeouts verlängert. 2006-03-21 14:23:23 +00:00
Florian Pose f9c4eecee9 Kategorie-Daten aus EEPROM lesen. 2006-03-21 13:57:15 +00:00
Florian Pose bdf2a74f90 Slave-Alias korrigiert. 2006-03-20 15:40:34 +00:00
Florian Pose e6ac6a1900 Slave alias implementiert. 2006-03-20 15:28:25 +00:00
Florian Pose 290d5d86a4 Do-Schleifen ersetzt. 2006-03-20 13:36:10 +00:00
Florian Pose a63d1c52a4 Feldregistrierung: NULL als data_ptr möglich, field_count 0 = 1. 2006-03-20 12:54:17 +00:00
Florian Pose 002ea06431 Bugfix: SDO download. SDO abort codes ausgeben. 2006-03-20 11:02:39 +00:00
Florian Pose 39c4b88d02 Bugfix: EXPORT_SYMBOL für ec_master_prepare_async_io() vergessen. 2006-03-20 08:24:12 +00:00
Florian Pose 463876bb83 Bugfix: Registrieren von mehreren Feldern gleichzeitig geht jetzt. 2006-03-19 15:21:57 +00:00
Florian Pose 34f0114eb6 Bugfix: EL3162 - "Product Name" war falsch. 2006-03-19 14:58:49 +00:00
Florian Pose c9e8fc62c9 ecrt_master_prepare_async_io() hinzugefügt. 2006-03-17 16:25:02 +00:00
Florian Pose e310c9f3e4 Domänen-Status (ecrt_domain_state) hinzugefügt. 2006-03-17 15:18:13 +00:00
Florian Pose 1c0347347a MERGE branches/async -> trunk (alle Unterschiede übernommen) 2006-03-17 14:21:35 +00:00
Florian Pose 38f5bccbca MERGE branches/async -r243:244 -> trunk (intypes). 2006-03-08 13:23:56 +00:00
Florian Pose b38ffbe720 MERGE branches/async 222:233 -> trunk (Kommando-Warteschlangen). 2006-03-06 15:12:34 +00:00
Florian Pose 11d861522b Link-Down-Verhalten verbessert. 2006-03-02 13:08:07 +00:00
Florian Pose 0ffbd968a6 Link-State im Device. 2006-03-02 11:19:27 +00:00
Florian Pose 3a98ea9715 Domains als Liste verwaltet. 2006-02-28 13:07:05 +00:00
Florian Pose a84b1adce5 Zyklische Ausgaben um "Verzögerte" Rahmen erweitert. 2006-02-28 11:36:29 +00:00
Florian Pose cc6039fd29 Code-Dokumentation verbessert. 2006-02-28 11:14:49 +00:00
Florian Pose 42f8695d18 Code-Dokumentation angepasst. 2006-02-28 11:10:57 +00:00
Florian Pose 59be77d01d Rahmen jetzt zustandslos. 2006-02-28 09:25:51 +00:00
Florian Pose 324ce91d67 Wiederholtes Senden, wenn keine Antwort. 2006-02-28 09:09:08 +00:00
Florian Pose d1010330d4 Bessere Ausgaben beim Starten und beenden. 2006-02-26 12:26:23 +00:00
Florian Pose 5fcbcc89c2 Master wird nach nicht erfolgreichem Request resettet. 2006-02-24 17:29:31 +00:00
Florian Pose 48ed6bda64 printk durch Makros ersetzt. 2006-02-24 16:10:52 +00:00
Florian Pose cbcf404f96 Buskoppler werden jetzt gesondert behandelt. 2006-02-24 13:54:27 +00:00
Florian Pose 52aaf39561 Nicht registrierte Slaves in PREOP schalten. 2006-02-24 13:34:31 +00:00
Florian Pose 61c05edf56 CANopen SDO read implementiert. 2006-02-24 13:14:51 +00:00
Florian Pose 4b24372bb2 Compile-Warnings mit ADEOS behoben. 2006-02-24 13:14:21 +00:00
Florian Pose 59782cc7be Frame-Debugging ins Device ausgelagert und verbessert. 2006-02-24 13:09:13 +00:00
Florian Pose f99f9b3e23 EC_READ/WRITE-Makros verwenden Makros aud asm/byteorder.h und werden konsequent verwendet. 2006-02-24 10:19:26 +00:00
Florian Pose d02fbc8701 EL31XX-Typ korrigiert. 2006-02-23 14:51:45 +00:00
Florian Pose 48dad7c5c5 Feature-Flag der Klemmentypen nicht mehr benötigt. 2006-02-23 13:54:27 +00:00
Florian Pose b49d9be301 Neues Slave-Interface, CRC-Prüfung und mehrfaches Scannen nun ungefährlich. 2006-02-23 13:38:54 +00:00
Florian Pose 4d65b22b0f Dynamische FMMU-Konfiguration, zwei Kopieroperationen eingespart, Einrückungen angepasst. 2006-02-23 09:58:50 +00:00
Florian Pose 30f4dfcc59 Klemme Beckhoff EL2032 hinzugefügt. 2006-02-22 17:36:28 +00:00
Florian Pose c5e95b0bc5 Bug: NULL pointer dereference in master/device.c behoben. 2006-02-20 08:30:30 +00:00
Florian Pose 58edfcfe3e Neue ASCII-Adressierung und Code-Dokumantation. 2006-02-14 14:50:20 +00:00
Florian Pose 0e547f96aa EL5101-Inkrementalgeberklemme hinzugefügt. 2006-02-14 14:40:47 +00:00
Florian Pose efa310c45e SSI-Klemmen-Interface und kleinere Änderungen. 2006-02-13 14:11:33 +00:00
Florian Pose fb4b07cf52 CANopen over EtherCAT. 2006-02-03 16:23:52 +00:00
Florian Pose 842f163d28 Unbekannte Klemmen erlaubt, EL5001 integriert. 2006-02-03 10:46:33 +00:00
Florian Pose 0dc495bf11 register_slave_list() und Bugfix in deactivate_slaves() 2006-01-26 13:41:47 +00:00
Florian Pose a8ef8e2cbf Code-Dokumentation mit Doxygen aufgearbeitet. 2006-01-26 09:12:09 +00:00
Florian Pose 5ceefe4379 Bugfix im Master, ec_master_reset() und laufendes Beispiel in rt. 2006-01-20 16:04:10 +00:00
Florian Pose 5fb6877412 Mit neuer Schnittstelle wieder lauffähig. 2006-01-20 13:32:31 +00:00
Florian Pose b0443360ec Vereinheitlichte Schnittstellen, Include-Verzeichnis und Module getrennt. 2006-01-17 18:28:15 +00:00