Activity for EtherCAT Explorer

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Ok, I missed something. Marco

  • EtherCAT Explorer EtherCAT Explorer updated /SetupEtherCATExplorer_0.5.exe

  • F. Chaxel F. Chaxel committed [r32]

    WriteEEProm progressbar patch

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Marco, The read back is between Pause and Resume in this code. Line 250 is OK to take into account the write and the read process. I've made a mistake at the line 276 where the code should be : progress.Value += 128; Update will be done today, and also with a Setup with this version. Thank you very much. Have a good week-end. Bye.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, I appreciate your solution to avoid modifying the SOEM lib. Everything works now, but with one mistery left: I don't understand why the "EEPROM read" needs Pause and Resume to work properly, but the read back I added, that does exactly the same, doesn't need Pause and Resume. Can you see a reason for that? By the way, in my opinion the read back is necessary because ec_readeepromAP successful, means that the communication between the master and the ESC and between the ESC and the EEPROM was ok,...

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi Marco, Great job. Sure the flow to and from the EEProm through the I2C ou SPI bus is too slow compare to Ethernet 100 Mbs. So if data are not queued in the device it's a problem. I really dislike modifying a lib from a third party. As I understand it, a read is OK with Pause & Resume, but a Write is not OK. ec_writeeepromAP function return >0 if it's OK so I've modfiy only the code in EEprom_Write (SoemWrapper.c) to loop 4 times (see line 214) rather than a modification in ethercatmain.c. ec_readeepromAP...

  • F. Chaxel F. Chaxel committed [r31]

    Some progress to Read/Write EEprom

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, from the WireShark trace, captured during programming, (see attachement) we can see that there are many "EEPROM command error". This is not unusual as it happen if the EEPROM interface, and the EEPROM itself , is not fast enought to cope with the master requestes. This is explained in the Beckhoff documentation as follows: 11.2.1.1 Missing Acknowledge Missing acknowledges from the EEPROM chip are a common issue, especially if a fast PDI uses the EEPROM interface. E.g., a write access to the EEPROM...

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, some wrong bytes randomly. I am trying to track down what happen using WireSharK. Bye Marco

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi Marco, What is wrong ? Nothing written, some bad bytes ? Bye

  • Marco S. Marco S. modified a comment on discussion General Discussion

    Hi, ok for the restored patch in the wrapper, but the EEPROM write still fails. It failed also in R29, also programming the EEPROM in one shot (in my previous post I was wrong). The only way I found to make it work is to disable the cyclic slave polling, commenting out line 242 in MainDialog.cs. The added functions Pause and Resume actually stop and restart the slave polling but this has a good effect on the EEPROM read but not on the EEPROM write. I don't know why ... Regards Marco

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, ok for the restored patch in the wrapper, but the EEPROM write still fails. It failed also in R29, also programming the EEPROM in one shot (in my previous post I was wrong). The only way I found to make it work is to disable the cyclic slave polling, commenting out line 242 in MainDialog.cs. The added functions Pause and Resume actually stop and restart the slave polling but this has a good effect on the EEPROM read but not on the EEPROM write. I don't know why ... Regards Marco P.S. A minor...

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi, Houps, Yes some wrong files manipulations. Maybe now it will be fine. Thanks for your help. Bye

  • F. Chaxel F. Chaxel committed [r30]

    EEPromWrite, some news

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, the last revision (r29) works only if I write the data to the EEPROM in only one shot (without the progress bar) because you forgot to put my latest patch into the wrapper. uint16 data = ((uint16)buf[i]) & 0x00FF; data |= ((uint16)buf[i + 1]) << 8; Anyway Pause and Resume the cyclical activity do their job. Good night. Marco

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Thank you Marco. I've just update the source code both for the Interrop code & Explorer. I've added a way to Pause and Resume the cyclical activity, and I've use it during the read and write operations. Can you test it ? Bye.

  • F. Chaxel F. Chaxel committed [r29]

    Pause & Resume RTthread

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, I tested the write EEPROM function with your last code, and it fails with many wrong bytes. This is due to the interference between the cyclic slave polling (10mS sample time) and the programming process. I disabled the cyclic slave polling, in a very crude way, commenting out line 242 in MainDialog.cs // SoemInterrop.Run(); In this way the programming operation succeeds Please note that also the read EEPROM function fails if the cyclic slave polling is running. You can check this executing several...

  • F. Chaxel F. Chaxel committed [r28]

    WriteEEprom with progress bar

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi, Some very interested EtherCAT shields sold by this society. Maybe I will try to buy some. Bye.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, thanks, I will get back to you when I have some useful result. No problem for the risk of bricking my EtherCAT board. I use this EtherCAT shield for Arduino and I have the capability of restore the EEPROM in any situation. https://www.bausano.net/en/hardware/ethercat-e-arduino/easycat.html Bye Marco

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi, Code updated. Absolutly not tested. Let me know if it's OK or not ... take care with your devices, Wrong EEprom write can be a problem ... maybe up to factory return. Bye

  • F. Chaxel F. Chaxel committed [r27]

    Bug fix : ReadEEProm alway in device 1 & Fix by Marco S.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, I realize now that my patch is wrong. It works with my application because I write the EEPROM in just one chunk, and then starting from 0. The patch must be: uint16 data = ((uint16)buf[i]) & 0x00FF; // Marco new data |= ((uint16)buf[i + 1]) << 8; // " and not: uint16 data = ((uint16)buf[start + i]) & 0x00FF; // Marco wrong data |= ((uint16)buf[start + i + 1]) << 8; // " Good night Marco

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Fine. I will update the code tomorow, I've see some wrong code for read/write EEprom. But I do not have device now to test it. So please wait a day or two, then get the source code and check it. Bye.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, I tested my patch only using the wrapper with my application and I though that the EterCAT Explorer included all the necessary to program the EEPROM. I will try to add the missing code and, if I will succeed, I will get back to you. Regards Marco

  • F. Chaxel F. Chaxel modified a comment on discussion General Discussion

    Hi, Yes the version number as not been updated. Since I've never tested Write eeprom the menu should be enabled by setting the option EEPromWriteEnable to true. But no code is inside. Somedoby should program it and test it : The code as to be replaced. MessageBox.Show("Not yet implemented", "EtherCAT Explorer", MessageBoxButtons.OK, MessageBoxIcon.Information);

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi, Yes the version number as not been updated. Since I've never tested Write eeprom the menu should be enabled by setting the option EEPromWriteEnable to true.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Hi, I downloaded the release 0.5 but I see that the "write memory" function is still disabled. Further the release version in the "about" is still stuck to 0.3. Please see attachements. Regards Marco

  • Marco S. Marco S. posted a comment on discussion General Discussion

    Thanks for your feedback ! :-) Marco

  • F. Chaxel F. Chaxel committed [r26]

    EEprom_write fixed by Marco S.

  • EtherCAT Explorer EtherCAT Explorer released /SetupEtherCATExplorer_0.5.exe

  • F. Chaxel F. Chaxel posted a comment on discussion General Discussion

    Hi, Thank you. I see your message with some delay. I will update the source code and build a release of the EXE. Bye.

  • Marco S. Marco S. posted a comment on discussion General Discussion

    I use the EtherCAT explorer with satisfaction but I have seen that the EEprom_Write function doesn't work propely. I worked to fix the issue and, after some debug, I replaced line 210 in the SoemWrapper.c file: uint16 data=buf[start]+(((uint16)buf[start+1])<<8); with: uint16 data = ((uint16)buf[start + i]) & 0x00FF; data |= ((uint16)buf[start + i + 1]) << 8; Now the EEprom_Write works fine, and I hope somobody can take advantage of this. Marco

  • F. Chaxel F. Chaxel committed [r25]

    Download snapshot information

  • F. Chaxel F. Chaxel committed [r24]

  • F. Chaxel F. Chaxel committed [r23]

    Somes dots

  • EtherCAT Explorer EtherCAT Explorer released /SetupEtherCATExplorer_0.4.exe

  • F. Chaxel F. Chaxel committed [r22]

    Usage of the WapperDll in release mode

  • F. Chaxel F. Chaxel committed [r21]

    some dots

  • F. Chaxel F. Chaxel committed [r20]

    64 bits dll version

  • F. Chaxel F. Chaxel committed [r19]

    Printf remove in soem code & Read PDO sample in...

  • F. Chaxel F. Chaxel committed [r18]

    One dot.

  • F. Chaxel F. Chaxel committed [r17]

    Missing files

  • F. Chaxel F. Chaxel committed [r16]

    Interfaces list for Java

  • F. Chaxel F. Chaxel committed [r15]

    Java Master code sample

  • F. Chaxel F. Chaxel committed [r14]

    Preparation for Java

  • EtherCAT Explorer EtherCAT Explorer released /SetupEtherCATExplorer_0.3.exe

  • F. Chaxel F. Chaxel committed [r13]

    Version beta 0.3

  • F. Chaxel F. Chaxel committed [r12]

    Minor modifications

  • F. Chaxel F. Chaxel committed [r11]

    Small changes

  • EtherCAT Explorer EtherCAT Explorer released /SetupEtherCATExplorer_0.2.exe

  • F. Chaxel F. Chaxel committed [r10]

    EEPROM operation

  • F. Chaxel F. Chaxel committed [r9]

    Improvement, start of Read EEprom, changes in u...

  • F. Chaxel F. Chaxel committed [r8]

    Array decoding

  • F. Chaxel F. Chaxel committed [r7]

    Version alpha 0.2 - Boot state, Acknowledge

  • F. Chaxel F. Chaxel committed [r6]

    Acyclic console code sample. PDO simple fields ...

  • F. Chaxel F. Chaxel committed [r5]

    Add SimpleMaster console code

  • F. Chaxel F. Chaxel committed [r4]

    Read device XML description file

  • F. Chaxel F. Chaxel committed [r3]

    Slave state management & Acyclic Read/Write PDO

  • F. Chaxel F. Chaxel committed [r2]

    First functional version

  • EtherCAT Explorer EtherCAT Explorer released /README.txt

  • F. Chaxel F. Chaxel committed [r1]

    First update

1