This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi , everyone,
I use TwinCAT to test EtherCAT by connecting AMIC110 ICE EVM(TMDXICE110), but it has "PREOP to SAFEOP failed" Error
As shown below
D7 red led will blink in AMIC110 ICE EVM when this error occur
Windows 10 64-bit
TwinCAT 3.1 (3.1.4022.27)
CCS v8.3.0
pdk_am335x_1_0_13
PRU-ICSS-EtherCAT_Slave_01.00.07.02
pru_icss_ethercat_slave_prebuilt_01.00.07.02
processor_sdk_rtos_am335x_5_02_00_10
Binay Name | Flash Offset |
C:\ti\pdk_am335x_1_0_13\packages\ti\starterware\binary\bootloader\bin\amic110-ddrless\gcc\bootloader_boot_mcspi_noDDR_a8host_release_ti.bin | 0x0 |
C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02/protocols/ethercat_slave/ecat_appl/iceAM335x/tiesc_eeprom_ti.bin | 0x10000 |
C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02/protocols/ethercat_slave/firmware/v1.0/ecat_host_interface_ti.bin | 0x14000 |
C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02/protocols/ethercat_slave/firmware/v1.0/ecat_frame_handler_ti.bin | 0x19000 |
C:\ti\pru_icss_ethercat_slave_prebuilt_01.00.07.02\applications\ethercat_slave_demo\AMIC11x\arm\AMIC11x_release\app | 0x20000 |
Where app I use from the pru_icss_ethercat_slave_prebuilt_01.00.07.02 , as shown in the last step of the above table.
Then copy C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02\protocols\ethercat_slave\ecat_appl\esi\TI_ESC.xml file to C:\TwinCAT\3.1\Config\Io\EtherCAT when using TwinCAT test
The error "PREOP to SAFEOP failed": Invalid SM IN cfg still occurs
How can I solve this problem?
Garrett,
This problem has been solved for the solution you supply.
Thank you very much for your help.
Chihao.