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.

PROCESSOR-SDK-AMIC110: EtherCAT Slave application

Part Number: PROCESSOR-SDK-AMIC110
Other Parts Discussed in Thread: AMIC110

I now want to use this development board on the welding machine. The data collected by the welding machine and the development board are communicated via SPI. The official  provides two applications, ethercat_slave_full and ecat_ti_esc_spi_slave.
I have the following questions:
1: Which of the above application options is appropriate?
2: I built the ethercat_slave_full project. In ddrless mode, it is always unsuccessful. The following files are successfully downloaded to the corresponding address.
1) ecat_frame_handler_ti.bin 0x19000
      Ecat_host_interface_ti.bin 0x14000
              Tiesc_eeprom_ti.bin 0x10000
2) flash app to 0x20000
3) flash MLO to 0x0
After all the files are downloaded, the development board is powered back on, the red light (D19) is turned on and off, and Twincat cannot scan to TIESC-001. In the debug mode, the emulator is connected, and TWincat can browse to TIESC-001. everything is normal,
I now suspect that it is a problem with the MLO file, because the bootloader file is not used in accordance with the requirements of the documentation using the Processor SDK 4.2 Migration Guide but follow the steps below:
Install SDK4.2 in this path C:\ti\pdk_am335x_1_0_9\packages\ti\starterware to execute gmake bootloader BUILDCFG=boot BOOTMODE=mcspi PLATFORM=amic110-ddrless PROFILE=release -s KW_BUILD=no USE_DDR=no command,
Below is my configuration version CCS7.2 SDK4.1 PRU-ICSS1.0.5

I don't know where the problem is.

  • The RTOS team have been notified. They will respond here.
  • Hi,

    If you have an existing application with the architecture of MCU + ASIC(ET1100), and don't want to port the MCU application with EtherCAT stack to AMIC110, then you can choose the ecat_ti_esc_spi_slave project on AMIC110 to replace ASIC.

    If you plan to have one chip EtherCAT solution, then ethercat_slave_full project can be used.

    As you have Debug mode working, it indicates that you have the EtherCAT stack patched and built correctly, and yes it's very likely the culprit is MLO. From your description, it appears that you don't have the fix (git.ti.com/.../fb449773510e62f06232c80e564577ae2268bfe6 ) added into Processor SDK 4.2. See e2e.ti.com/.../656996

    Regards,
    Garrett
  • I do not understand what you mean
    What you mean is copySDK4.2 three files( sbl_am335x_platform.c platform.mk component.mk )to the corresponding directory of SDK4.1
    and then execute PRSDK_4_2_migration.patch?
    My steps are as follows:
    1:copySDK4.2 three files( sbl_am335x_platform.c platform.mk component.mk )to the corresponding directory of SDK4.1
    2::cd to PRSDK_4_2_migration.patch file directory to execute the following command
    C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\dos2unix-7.4.0-win32\bin\unix2dos.exe PRSDK_4_2_migration.patch
    3:cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\patch-2.5.9-7-bin\bin\patch.exe directory
    Execute the following command
    Patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\PRSDK_4_2_migration.patch -p0 -d C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00
    is all ringht?
  • Hi,

    PRSDK_4_2_migration.patch is irrelevant with the MLO issue.
    PRSDK_4_2_migration.patch is for migrating the EtherCAT application demo to SDK4.2.

    To build the DDR-less MLO for AMIC110, you need merge the changes in the git.ti.com/.../fb449773510e62f06232c80e564577ae2268bfe6
    to SDK4.2, then rebuild the MLO:

    gmake bootloader BUILDCFG=boot BOOTMODE=mcspi PLATFORM=amic110-ddrless PROFILE=release -s KW_BUILD=no BUILD_ICSS_DDRLESS_BOOT=yes

    see details:
    processors.wiki.ti.com/.../AM437x

    Regards,
    Garrett