EasyCAT Arduino shield

More
1 year 4 months ago #330560 by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
Can you share how to create the eeprom content from an XML file?

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330562 by meister
Replied by meister on topic EasyCAT Arduino shield
what will you pay me for it ?

;P

Converter:
github.com/synapticon/siitool

eepromtool (write flash):
github.com/OpenEtherCATsociety/SOEM/blob...romtool/eepromtool.c

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330563 by meister
Replied by meister on topic EasyCAT Arduino shield
create:
Code:
$ siitool -m  -c -o eeprom.bin esi.xml  = eeprom.bin generated

check:
Code:
$ siitool -p eeprom.bin  Error, SII probably malformed. No 0xffff at the end found First print preamble and config Preamble: PDI Control: ................ 0x0c80 PDI Config: ................. 0xee42 Sync Impulse Length: ........ 2000 ns (raw: 0x00c8) PDI Config 2: ............... 0x0000 Configured Station Alias: ... 0x0000 Checksum of Preamble: ....... 0x003c (ok) Identity:   Vendor ID: ................ 0x00400000   Product ID: ............... 0x00000715   Revision ID: .............. 0x00002ef8   Serial Number: ............ 0x00000000 Default mailbox settings:   Bootstrap Mailbox:   Received Mailbox Offset: .. 0x0000   Received Mailbox Size: .... 0   Send Mailbox Offset: ...... 0x0000 ....................       Entry 8:       Entry Index: .............. 0x60fd       Subindex: ................. 0x00       String Index: ............. 64 (Digital inputs)       Data Type: ................ 0x07 (Index in CoE Object Dictionary)       Bitlength: ................ 32

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330565 by Hakan
Replied by Hakan on topic EasyCAT Arduino shield
Ok, I have seen those.
When you write an eeprom this way and then list the pdos with "ethercat pdos", do you see the ones you expect to see?
 

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #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 '
Code:
ethercat sii_write ...
'
I must have overlooked it somehow :)




 
Last edit: 1 year 4 months ago by meister.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #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.

Time to create page: 0.200 seconds
Powered by Kunena Forum