EasyCAT Arduino shield
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
20 Jun 2025 10:55 - 20 Jun 2025 10:59 #330566
by meister
Replied by meister on topic EasyCAT Arduino shield
accidentally flashed my ethercat servo with something wrong, and restored everything with this tool and the original esi xml
so yes, it really works
I use it to configure my LAN9252 board
EDIT:
uhhh, found this site: markosankovic.github.io/2016/06/28/esi-to-sii-binary.html
i think i need to test this ''
I must have overlooked it somehow
so yes, it really works
I use it to configure my LAN9252 board
EDIT:
uhhh, found this site: markosankovic.github.io/2016/06/28/esi-to-sii-binary.html
i think i need to test this '
ethercat sii_write ...
I must have overlooked it somehow

Last edit: 20 Jun 2025 10:59 by meister.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
20 Jun 2025 15:53 #330581
by meister
Replied by meister on topic EasyCAT Arduino shield
because of the strange licenses from siitool i will write my own in python
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 754
- Thank you received: 253
20 Jun 2025 16:26 #330583
by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
I see, the "-m" flag makes it write the pdos.
But what about the sdos? I don't see them coming over.
But what about the sdos? I don't see them coming over.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
20 Jun 2025 16:39 #330584
by meister
Replied by meister on topic EasyCAT Arduino shield
I haven't seen it yet either
but I haven't used it yet either

Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 754
- Thank you received: 253
21 Jun 2025 06:15 - 21 Jun 2025 06:16 #330616
by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
The xml to eeprom translation is a missing piece. With the pdos and sdos. Siitool comes halfway.
Currently I see no other option than to use TwinCAT. If there was a way for TwinCAT to only do
the translation of xml into an eeprom binary file that would help. But no, I have to take out the card
from the machine and bring it to the Windows/Twincat machine and flash the eeprom from the xml file
with TwinCAT.
If you like JavaScript, you can start from the eeprom_generator which already can do the eeprom content,
without pdos and sdos again. There is a src/generators/EEPROM.js you can have a look at.
EasyCAT uses LAN9252 I have read so should be directly usable.
github.com/MetalMusings/MyOwnEtherCATDev...ils/EEPROM_generator
Currently I see no other option than to use TwinCAT. If there was a way for TwinCAT to only do
the translation of xml into an eeprom binary file that would help. But no, I have to take out the card
from the machine and bring it to the Windows/Twincat machine and flash the eeprom from the xml file
with TwinCAT.
If you like JavaScript, you can start from the eeprom_generator which already can do the eeprom content,
without pdos and sdos again. There is a src/generators/EEPROM.js you can have a look at.
EasyCAT uses LAN9252 I have read so should be directly usable.
github.com/MetalMusings/MyOwnEtherCATDev...ils/EEPROM_generator
Last edit: 21 Jun 2025 06:16 by Hakan.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
21 Jun 2025 12:00 #330628
by meister
Replied by meister on topic EasyCAT Arduino shield
The following user(s) said Thank You: Hakan
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
21 Jun 2025 15:25 #330635
by meister
Replied by meister on topic EasyCAT Arduino shield
new discovery, there is no sdos data in the eeprom.
could not find any in the documentation or in a sanmotion servo eeprom, the data is probably read from the firmware.
could not find any in the documentation or in a sanmotion servo eeprom, the data is probably read from the firmware.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 754
- Thank you received: 253
21 Jun 2025 16:22 #330641
by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
You are right.
I read out eeprom from a slave I know has SDOs.
But nothing with the SDO names in the eeprom bin file.
So, it is possible the siitools -m could produce a good eeprom.
I'll test later this evening, I have a device I can experiment with.
I read out eeprom from a slave I know has SDOs.
But nothing with the SDO names in the eeprom bin file.
So, it is possible the siitools -m could produce a good eeprom.
I'll test later this evening, I have a device I can experiment with.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 754
- Thank you received: 253
21 Jun 2025 18:48 - 21 Jun 2025 18:58 #330653
by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
Yes it works! Awesome!
That -m flag made all the difference.
I took the XML file and generated an eeprom content withwrote that to the eeprom withMade sure to reset the device and do aAnd yes yes yes, it works. Thanks man. Will save me a lot of walking
between the workshop and the "office".
That -m flag made all the difference.
I took the XML file and generated an eeprom content with
siitool -m < esi.xml > eeprom.bin
ethercat sii_write -p 3 eeprom.bin
ethercat rescan
between the workshop and the "office".
Last edit: 21 Jun 2025 18:58 by Hakan.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 352
22 Jun 2025 21:02 #330727
by meister
Replied by meister on topic EasyCAT Arduino shield
ready for testing:
github.com/multigcs/esitool/
there are some testfiles in tests/
and they are all bit exactly as generated by the siitool
but i need more testfiles and maybe some tester
github.com/multigcs/esitool/
there are some testfiles in tests/
and they are all bit exactly as generated by the siitool
but i need more testfiles and maybe some tester
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds