Andreas Karlsson
767c38b0b6
Let XMC4 BSPs configure and keep ECAT PHY in reset
...
Configure ECAT_PHY_RESET as a general purpose output in BSP
and set/keep PHYs in reset and let the EtherCAT slave
stack handle release/re-configure of PHY reset to correct
alternate function after EtherCAT block is released from
reset.
fix #68
2019-10-07 16:31:09 +02:00
Ilias Patsiaouras
75a5514430
Feature/add al status code definitions ( #60 )
...
Add AL Status code definitions
2019-06-27 07:19:20 +02:00
Ilias Patsiaouras
38099d31ed
ecat control latch input selection and ecat reset request ( #56 )
...
* ecat port control common register initialization
2019-06-26 13:43:15 +02:00
nakarlsson
0f2959be46
Merge pull request #58 from elsp1991/bug/fi_foe_read_supported_build
...
fix build fail when FOE_READ_SUPPORTED is defined
2019-06-26 08:31:15 +02:00
Ilias Patsiaouras
576624fd70
fix build fail when FOE_READ_SUPPORTED is defined
2019-06-24 12:52:10 +02:00
Hans-Erik Floryd
b46bb0ab0e
Merge pull request #52 from hefloryd/feature/soesv3
...
Feature/soesv3
2019-05-09 15:45:42 +02:00
Hans-Erik Floryd
489c5e257e
bump version to 3.0.0
2019-05-09 15:44:03 +02:00
Hans-Erik Floryd
27ab8dfba5
cleanup applications
...
Remove rtl_lan9252demo and rtl_xmc4_irq as they are similar to other
applications.
2019-05-09 15:43:07 +02:00
Andreas Karlsson
e600a515c5
add support for legacy static PDO mapping
...
Add possibility to use static PDO mapping. Upgrade XMC43 bare-metal
example to SOESv3.0 and use the static mapping.
2019-05-09 15:43:07 +02:00
Andreas Karlsson
5770a66558
Update applications to SOES v3.0
2019-05-09 15:43:07 +02:00
Andreas Karlsson
68427b6e1e
EoE updates
...
- Add missing EoE include, make worker semaphore global to be able to
trigger from application
- Add an EoE fragment sent event callback
2019-05-09 15:43:07 +02:00
Andreas Karlsson
54de5af4b5
Update EoE application to new SOES version
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
14397b0575
add APP_setwatchdog
...
Add function to set watchdog count.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
d204255ad3
update objecthandler and hooks
...
Replace isCA with a set of flags to hold more data.
The pre_object_download_hook should return a COE abort code which is
an unsigned 32-bit value.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
236a02bfb4
add hook for setting default values
...
Add set_defaults_hook to let application override default values.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
55df56821a
use options.h for config
...
Simplify configuration by using options.h directly.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
e27b6bcbb1
move globals to ecat_slv
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
aa811ae2f4
add eoe to ecat_slv
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
675d3516fb
add options.h
...
Add a header file for setting default stack configuration
options. Options can be overriden by a user configuration file.
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
0170a15229
add sample application for dynamic pdos
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
5b33b077ca
add support for dynamic pdos
...
Add support for dynamic pdos, i.e. pdos that can be configured by the
EtherCAT master.
2019-05-09 15:43:07 +02:00
Andreas Karlsson
6fb665a701
Update App to use new DC checks, set error function, SM watchdog, fixed EEPROM delayed write and move generic slave functionallity to generic SOES
2019-05-09 15:43:07 +02:00
Andreas Karlsson
ca48f9db21
Move DC config to the applications
2019-05-09 15:43:07 +02:00
Andreas Karlsson
446b79d456
Add function to enter state with error
2019-05-09 15:43:07 +02:00
Hans-Erik Floryd
c8675af12c
bump version for release
2019-05-09 13:47:07 +02:00
nakarlsson
df1ef3f076
Merge pull request #51 from hefloryd/feature/bugfix
...
Minor bugfixes
2019-04-05 18:58:20 +02:00
Hans-Erik Floryd
0bbc40096a
bump patch version
2019-04-05 09:26:51 +02:00
Andreas Karlsson
ef6e55a6e2
Return data type for SDOinfo for type array and return maxsub of index 0 for array and record, maxsub from object VAR
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
1917a6f72b
fix infoerror abort code
...
The upper 16 bits of the infoerror abort code was invalid.
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
15e976f58e
do not pack ESCvar
...
ESCvar contains stack state data and does not need to be packed.
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
8abbbb1fb8
fail state change if SM2 overlaps SM3
...
Add a check to verify that SM2 does not overlap SM3.
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
c66a5efb32
fix access check when downloading to RxPDO or TxPDO
...
The access type field is a bitfield and may have additional bits
set. Use only read/write permission bits to verify access.
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
45f5c616ca
remove unused state variable
2019-04-04 15:07:26 +02:00
Hans-Erik Floryd
bdb212942b
fix rt-kernel build
2019-04-04 15:07:26 +02:00
nakarlsson
edcce5af0f
Merge pull request #48 from OpenEtherCATsociety/hotfix/ti_true_false_defines
...
Add define for TRUE/FALSE, needed include is missing in the AM335x TI…
2019-02-18 08:30:26 +01:00
Andreas Karlsson
830a7fb394
Add define for TRUE/FALSE, needed include is missing in the AM335x TI BSP
2019-02-18 08:26:24 +01:00
nakarlsson
7808b675e0
Merge pull request #46 from OpenEtherCATsociety/feature/eoe
...
generic EoE stack parts
2019-01-31 14:56:28 +01:00
Andreas Karlsson
973b774ddf
Prototype application for rt-kernel running lwIP and EoE
2019-01-24 17:51:06 +01:00
Andreas Karlsson
e38301eb5c
draft/concept EoE
2019-01-24 17:41:07 +01:00
nakarlsson
23291ba465
Merge pull request #43 from xoduddk123/linux_lan9252_drv_cleanup
...
linux lan9252 driver source cleanup
2018-05-10 15:03:11 +02:00
xoduddk123
4e7f341298
linux lan9252 driver source cleanup
...
Change to misc driver
Change space to tab
Removing unnecessary functions
2018-04-13 12:31:42 +09:00
nakarlsson
4bf6be795b
Merge pull request #42 from nakarlsson/master
...
Add support for TIESC
2018-02-20 09:03:08 +01:00
rtlaka
c08f90bb82
Acknowledge mailbox read by master on SM1 event instead of SM Status IntR
2018-02-19 11:17:31 +01:00
rtlaka
8711eb5968
Add support for tiesc, hal is created for tieschw, tiescbsp provided by TI
2018-02-12 20:03:08 +01:00
nakarlsson
b2bfd419a5
Merge pull request #41 from nakarlsson/master
...
Only read SM Status and Activate in the dedicated functions
2018-01-31 13:27:05 +01:00
rtlaka
ba3716ba52
Only read SM Status and Activate in the dedicated function for that purpose
2018-01-31 12:31:48 +01:00
magnjo
56a4dbf247
FoE EOF/file length detection. ( #35 )
...
* * Add length argument to FoE write_function().
* FOE_fclose() always call FoE write_function().
* Increment patch version.
2017-12-09 14:52:33 +01:00
Hans-Erik Floryd
49f488ece7
Merge pull request #34 from nakarlsson/master
...
add support for XMC DAVE toolchain
2017-11-23 16:02:34 +01:00
rtlaka
e27c903b9d
add support for XMC DAVE toolchain
2017-11-23 07:46:59 +01:00
nakarlsson
c05b7877e5
Merge pull request #33 from nakarlsson/master
...
pass AL event mask to the interrupt worker thread instead of hard coding it
2017-11-07 17:08:37 +01:00