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 patch file

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

could you tell me the specific details ,how to operate ,the document i do not  understand.

  • Please explain in details what you are trying to do. What is this patch? Where is the document you refer located?
  • could you tell me how allocated AMIC110 kernel resources  and what is the role of the M3 core?     preferably with a block diagram to describe.       When running ethercat slave source code, how to work together between the kernel?     

  • Hi

    The PRU-ICSS EtherCAT runs on top of TIRTOS based Processor-SDK, not Linux so there is no kernel.

    The M3 Core is not used in the AMIC110 applications. It can be used for power management.

    The API Guide is available here http://processors.wiki.ti.com/index.php/PRU_ICSS_EtherCAT_firmware_API_guide

    Additional information is available on the Sitara FAQ http://processors.wiki.ti.com/index.php/FAQ_Sitara_Industrial .

    David

  • I use CCS version 6.2, go to this step PDK Example and Test Project Creation

    detected test project about i2c,but can't find the path,  CCS version 7.1 also have this problem   This is a question about the AMIC110 SDK

  • Hi
    Thank you.
    A couple of things that will help.
    PRU-ICSS EtherCAT 1.0.5 requires Processor SDK 4.1.0 (pdk_AM335x_1_0_8). This is described in the component version section of the PRU-ICSS EtherCAT User Guide processors.wiki.ti.com/.../PRU_ICSS_EtherCAT . Using another version of the processor SDK is not guaranteed to work.

    This is not the latest version of the Processor SDK which is 4.2.0.

    A link to a previous version of the Processor SDK is found by going to the previous release section in the current processor SDK download page. For the RTOS on windows this would be found near the bottom of this page software-dl.ti.com/.../index_FDS.html

    Please note that Processor SDK 4.1.0 requires CCS 7.2.0.00013. A link for an online download of this version of CCS is included on the same page. I typically prefer an offline download for CCS. This can be found at processors.wiki.ti.com/.../Download_CCS

    The installation instructions for what CCS features to is in the Processor SDK getting started guide in the Download and install software section processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide

    One thing to watch for after installing CCS. is that CCS will offer to perform updates. This is good however there can be an update that we wish to avoid. One of the updates can be to go from the current version for example CCS 7.2 to CCS 7.3. It is important uncheck that box and not perform that update!

    To avoid issues - I always start a pru-icss-ethercat and Processor SDK installation in an empty directory. If I wish to maintain a previous version I was working on, I first uninstall CCS and then rename the existing directory to a another name, like ti_ver5_save.

    Once CCS, Processor SDK, and PRU--ICSS EtherCAT have been installed, it is necessary to start CCS up so that it can detect what has been installed wait a few minutes for CCS to complete it's scan and then close CCS.

    Nothing needs to be built in the Processor SDK to support the PRU-ICSS EtherCAT examples if you are using a TI AM335x ICEv2 or any of the EVMs listed as supported in processors.wiki.ti.com/index.php .

    To create the project files follow the steps in processors.wiki.ti.com/index.php

    David
  • I use pdk_am335x_1_0_7, processor_sdk_rtos_am335x_4_00_00_04, PRU-ICSS-EtherCAT_Slave_01.00.04.00, CCS7.1.0,windows7

    rebuilding GPIO test project appear three warnings, as shown in the picture above,rebuilding other projects will be such a situation and Can not open am335x.cfg

    what should I do?

  • Hi

    It looks like you may have installed the Processor SDK in a directory other than the default c:\ti.and CCS is unable to find the paths.  When installing the Processor SDK and CCS in a directory other than C:\ti - it is necessary to take additional steps when creating the Processor SDK examples. The start of the description is

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Getting_Started_Guide#Setting_up_CCS_for_EVM_and_Processor-SDK_RTOS

    Take the link for the custom installation path http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Install_In_Custom_Path

    On that page you will want to look at two items:

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Install_In_Custom_Path#Changes_to_CCS_Configuration

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Install_In_Custom_Path#Creating_PDK_Example.2FTest_Projects_When_CCS_is_Installed_to_Custom_Path 

    Later when you wish to create a PRU-Industrial Project it will be necessary to update the projectcreate .bat or sh file in C:\your_directory\PRU-ICSS-EtherCAT_Slave_version\protocols\ethercat_slave\projects definitions for

    Set CCS installation directory path(Mandatory) - The path where folder 'eclipse' is located
    set "CCS_INSTALL_DIR=C:\ti\ccsv7"

    ::Set the CCS workspace location(Mandatory). Workspace will be created if it doesn't exist!   I always leave the base directory %USERPROFILE%\ but name the workspace to something like ECS_verX
    set "CCS_WORKSPACE_LOC=%USERPROFILE%\ccs_workspace"      

    :Set PDK Installation directory path(Mandatory for AM335x projects)
    set "AM335x_PDK_INSTALL_PATH=C:\ti\pdk_am335x_1_0_7\packages"

    David

  • The above is the CCS7.3 installation directory

    This is ti-processor-sdk-rtos-am335x-evm-04.02.00.09-Windows-x86 installation directory

    The above is all the components installed

    After installing SDK and CCS, open the CCS installation below

    Then build the project and rebuild it

    There is still a warning, the warning of other projects is the same

    I reinstall the WIN10 system, SDK and CCS are the default installation path, I do not know where the problem appears, how should I do, thank you

  • Hi

    Set PDK Installation directory path(Mandatory for AM335x projects)
    set "AM335x_PDK_INSTALL_PATH=C:\ti\pdk_am335x_1_0_7\packages"

    When installing Processor SDK 4.0.0 in a directory other than C:\ti

    is correct

    David

  • Sorry, I do not understand what you mean

    CCS7.3 and SDK4.2 installed in the same directory, as you can see follows

    Then I opened the CCS installation component,but there are two  warnings during installation edma3_lld_2_12_05_30B , as you can see follow

    I do not know if this warning led to a problem later in the build project 

    and you told me set "AM335x_PDK_INSTALL_PATH=C:\ti\pdk_am335x_1_0_9\packages"  Is it like the following operation?

    Compile project will be warned  as you can see follow

    How to set PDK path? What should I do at each step? Thank you

  • Hi

    When following the steps in http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Getting_Started_Guide#Download_and_install_software

    The warning that you see about unsigned content is normal. We just select OK and continue.

    I get the same warning when building the application.

    The console should show

    'Finished building target: GPIO_LedBlink_iceAMIC110_armTestProject.out'

    followed by

    C:/ti/pdk_am335x_1_0_9/packages/MyExampleProjects/GPIO_LedBlink_iceAMIC110_armTestProject/Debug GPIO_LedBlink_iceAMIC110_armTestProject AM335x arm

    ' '

    **** Build Finished ***

    David

  • could you give me a PRU-ICSS-EherCAT-slave link to support CCS7.3 SDK 4.2? PRU-ICSS-EherCAT-slave download link
  • I proceed to the next step

    The next step is to execute the following command on the command line:       patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.04.02\protocols\pdk_patches\04.00.00\PRSDK-2507_amic_spi_pinmux.patch -d C:\ti\pdk_am335x_1_0_7\packages -p0 --binary --verbose

    The result shows the following:

    The document shows this:

    Where is the problem?  Related links below

    processors.wiki.ti.com/.../Industrial_Protocol_Package_Getting_Started_Guide

  • Hi,

    You may try the latest EtherCAT 1.0.5 available from here software-dl.ti.com/.../index_FDS.html

    The migration to PRSDK v4.2 is described in the section: processors.wiki.ti.com/.../PRU_ICSS_EtherCAT

    Regards,
    Garrett
  • Hi, a wild guess.. could you try this?:

    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.04.02\protocols\pdk_patches\04.00.00\PRSDK-2507_amic_spi_pinmux.patch -d C:\ti\pdk_am335x_1_0_7\ -p0 --binary --verbose?

    it seems it is looking files at \packages\ti\, instead of only \ti\ (as before)

    Also, as Garret pointed out, we have a newer EthereCAT slave version that you can try.

    thank you,
    Paula
  • Do you have ethercat development environment to build a video tutorial? It is too slow to build a development environment in terms of documentation,
  • Hi,

    We will plan to have a how-to video for the build. In the meantime, did you have chance to try the latest software?
    Depending on the level of directory/path, you may need adjust -p (-p0 or -p1) option when applying patch.

    Regards,
    Garrett
  • I want to download PRU ICSS EtherCAT Slave 01.00.03. could you give me a download link?

  • You can find the release 01.00.03 here - software-dl.ti.com/.../index_FDS.html

    Regards,
    Garrett
  •  I have compiled AMIC11x arm ethercat_slave_full and generated .out file. When I download the app to the development board, the program is running normally, but after the power is turned on, there is no running program on the development board. Is the program not downloaded to flash? What should I do, AMIC11x arm ethercat_slave_full should be configured with TwinCat software?

  • Which EtherCAT release are you using? You need flash both bootloader, firmware, and application ('app' file generated from .out file) using CCS flash write tool, then can run program after power cycle. You have to use the latest R1.0.5 to boot the EtherCAT from flash. The steps are listed here - processors.wiki.ti.com/.../PRU_ICSS_EtherCAT and essentially you need

    1) use <PDK_INSTALL_DIR\packages\ti\starterware\starterware\tools\flash_writer\spi_flash_writer_AM335X.out to flash
    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
    Note, the MLO for AMIC110 in previous processor SDK release has a known issue and is fixed in the latest Processor SDK 4.3 - software-dl.ti.com/.../index_FDS.html

    Regards,
    Garrett
  • I want to know ecat_frame_handler_ti.bin
                     Ecat_host_interface_ti.bin
                      And the tiesc_eeprom_ti.bin where is the path
  • Should I Reinstall SDK 4.3 to Get MLO Files? Could you send me an MLO file? Or tell me the specific steps
  • Regarding the .bin file, please check the thread - e2e.ti.com/.../656996
    You can just install PDK from the SDK 4.3 to get the MLO file.

    Regards,
    Garrett
  • I have downloaded the above file to flash as required 

    But I didn't do the following

    Apply the PDK patch for Thumb mode. For the DDR-less EtherCAT application to build, it is critical that the Processor SDK is built in Thumb mode. A patch file is included in the PRU-ICSS-ETHERCATSLAVEv1.00.05 package at [INSTALLDIR]/protocols/pdk_patches/04.01.00/AM335x_PDK_1_0_8_thumb_mode.patch. After applying this patch the Processor SDK PDK needs to be cleaned and rebuilt. Follow the PDK rebuild procedure.

    I want to know where the LLD path is     Is the following right?

    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -d C:\ti\pdk_am335x_1_0_8\packages\ti\drv

  • The command looks like this:

    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -p0 -d C:\ti\pdk_am335x_1_0_8\packages

    -Garrett
  • Use the command line cd to the C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\patch-2.5.9-7-bin\bin folder to execute the command patch.exe -i C:\ti\PRU-ICSS- EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -p0 -d C:\ti\pdk_am335x_1_0_8\packages

    The following problem occurs

    Where does the problem occur?

  • You need convert the patch file from unix to dos format with ”unix2dos.exe AM335x_PDK_1_0_8_thumb_mode.patch“ first, see the instruction in processors.wiki.ti.com/.../PRU_ICSS_EtherCAT

    -------------------------------------------------
    Applying a Patch file

    Download Windows Patch Utility from gnuwin32 sourceforge. ( Note that this is not a TI tool - See licensing information page for more details)
    Download Dos2Unix/Unix2Dos-Text file format converters from gnuwin32 sourceforge. ( Note that this is not a TI tool - See licensing information page for more details)
    Extract the zip files to the Windows PC. Patch file utility(Patch.exe) and unix2dos.exe utility can be found in their bin folders.
    Launch DOS Command prompt ( Start->Run->cmd).
    CD to the folder [INSTALL-DIR]/third_party/protocols/ethercat_slave/patch which contains TI_ECAT.patch.
    Execute unix2dos.exe as given below
    [Dos2Unix/Unix2Dos-DIR]/bin/unix2dos.exe TI_ECAT.patch
    --------------

    We are working on a how-to video to explain the build/load process and hopefully will help address these issues while bringing up the demo.

    Regards,
    Garrett
  • When did the video of this EtherCAT DDR-less demo complete?
  • CD to which folder to execute the following command?
    Which commands should be executed by AMIC110 ddrless?
    Can you tell me the specific steps?

  • CCS7.2  SDK4.1  PRUICSS1.0.5

    Successfully built AMIC11x arm ethercat_slave_full   release mode

    Start this step now On-chip Memory (DDRless) Execution of EtherCAT Slave Application

    steps as follows

    1: start/run/comand cd AM335x_PDK_1_0_8_thumb_mode.patch Execute the following command

    C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\dos2unix-7.4.0-win32\bin\unix2dos.exe AM335x_PDK_1_0_8_thumb_mode.patch

    2:cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\patch-2.5.9-7-bin\bin Execute the following command

    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -d C:\ti\pdk_am335x_1_0_8\packages

    3: cleaned and rebuilt PDK  Execute the following command

    cd to C:\ti\pdk_am335x_1_0_8\packages     Execute pdksetupenv.bat    Execute gmake all

    4:Copy the files in this directory(C:\ti\pdk_am335x_1_0_8\packages\ti\starterware\tools\ti_image)  tiimage.exe to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0

    start/run/comand cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0

    Execute the following command

    tiimage.exe 0x4a334000 NONE ecat_frame_handler.bin ecat_frame_handler_ti.bin

    tiimage.exe 0x4a338000 NONE ecat_host_interface.bin ecat_host_interface_ti.bin

    tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    note:

    1) tiesc_eeprom.bin can be generated from ESI file using SSC Tool. Below is the detailed procedure:

    a. Open SSC Tools

    b. Go to Tools->EEPROM Programmer

    c. In EEPROM Programmer, go to File->Open. Here select the TI_ESC.xml ESI file from the path “[IA_SDK_HOME]\protocols\ethercat_slave\ecat_appl\esi”

    d. Now in the Device Description drop down select “TIESC-001”

    e. File->Save as. Select “Save as type” as “binary (*.bin)”. Provide the path and Save.

    f. This will generate the binary file for TIESC-001 eeprom. Using “tiimage.exe” to convert this binary to tiimage binary which can be flashed to the board.

      tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    5:Open ccs launch selected configuration  and connect A8

    use <PDK_INSTALL_DIR\packages\ti\starterware\starterware\tools\flash_writer\spi_flash_writer_AM335X.out to flash

    load file follows

    a  flash MLO to 0x0     (MLO get from SDK4.3 bootloader_boot_mcspi_noDDR_a8host_release_ti)

    b tiesc_eeprom_ti.bin 0x10000

    c ecat_host_interface_ti.bin 0x14000

    d ecat_frame_handler_ti.bin 0x19000

    e  flash app to 0x20000    

    (app get from C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\projects\ethercat_slave_full_AMIC11x_arm\AMIC11x_release\app)

    6 Power on and restart

    The result is  it's not working.

    Please help to check are there any mistake in my steps

    my questions

    I did not do the following work  about step one  1)        Step 2 is the same as above

    None of these steps have been done

    What I want to ask is which folder should I go to and which commands should I perform?

    Please tell me the specific steps

    My development board is ICE-AMIC110

    Thank you 

  • The MLO is supposed to be built in the folder C:\ti\pdk_am335x_1_0_10\packages\ti\starterware\bootloader, however it appears the build is broken due to the changes in rules.make. At this point, you have to apply the patch git.ti.com/.../fb449773510e62f06232c80e564577ae2268bfe6 to Processor SDK 4.2 and build with the command
    gmake bootloader BUILDCFG=boot BOOTMODE=mcspi PLATFORM=amic110-ddrless PROFILE=release -s KW_BUILD=no USE_DDR=no

    The MLO will be generated in packages\ti\starterware\binary\bootloader\bin\amic110-ddrless\gcc\bootloader_boot_mcspi_noDDR_a8host_release_ti.bin

    Regards,
    Garrett
  • CCS7.2 SDK4.1 PRUICSS1.0.5
    Successfully built AMIC11x arm ethercat_slave_full release mode

    Start this step now On-chip Memory (DDRless) Execution of EtherCAT Slave Application

    steps as follows
    1: start/run/comand cd AM335x_PDK_1_0_8_thumb_mode.patch Execute the following command
    C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\dos2unix-7.4.0-win32\bin\unix2dos.exe AM335x_PDK_1_0_8_thumb_mode.patch

    2:cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\patch-2.5.9-7-bin\bin Execute the following command
    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -d C:\ti\pdk_am335x_1_0_8\packages

    3: cleaned and rebuilt PDK Execute the following command
    cd to C:\ti\pdk_am335x_1_0_8\packages Execute pdksetupenv.bat Execute gmake all

    4:Copy the files in this directory(C:\ti\pdk_am335x_1_0_8\packages\ti\starterware\tools\ti_image) tiimage.exe to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0

    start/run/comand cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0
    Execute the following command
    tiimage.exe 0x4a334000 NONE ecat_frame_handler.bin ecat_frame_handler_ti.bin
    tiimage.exe 0x4a338000 NONE ecat_host_interface.bin ecat_host_interface_ti.bin
    tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    note:
    1) tiesc_eeprom.bin can be generated from ESI file using SSC Tool. Below is the detailed procedure:
    a. Open SSC Tools
    b. Go to Tools->EEPROM Programmer
    c. In EEPROM Programmer, go to File->Open. Here select the TI_ESC.xml ESI file from the path “[IA_SDK_HOME]\protocols\ethercat_slave\ecat_appl\esi”
    d. Now in the Device Description drop down select “TIESC-001”
    e. File->Save as. Select “Save as type” as “binary (*.bin)”. Provide the path and Save.
    f. This will generate the binary file for TIESC-001 eeprom. Using “tiimage.exe” to convert this binary to tiimage binary which can be flashed to the board.
    tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    5:Open ccs launch selected configuration and connect A8
    use <PDK_INSTALL_DIR\packages\ti\starterware\starterware\tools\flash_writer\spi_flash_writer_AM335X.out to flash
    load file follows
    a flash MLO to 0x0 (MLO get from SDK4.3 bootloader_boot_mcspi_noDDR_a8host_release_ti)
    b tiesc_eeprom_ti.bin 0x10000
    c ecat_host_interface_ti.bin 0x14000
    d ecat_frame_handler_ti.bin 0x19000
    e flash app to 0x20000
    (app get from C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\projects\ethercat_slave_full_AMIC11x_arm\AMIC11x_release\app)

    6 Power on and restart


    The result is it's not working.
    Please help to check are there any mistake in my steps

  • I want to use AMIC110 as a slave station. How should slave mode be configured?
    What does this ecat_ti_esc_spi_slave project do?
  • The ethercat_slave_full_AMIC11x_arm\AMIC11x_release\app will configure AMIC110 as EtherCAT slave station.
    ecat_ti_esc_spi_slave project is an demo to configure AMIC110 in ET1100 emulation mode and communicate with C2000 using SPI interface, see details here - processors.wiki.ti.com/.../EtherCAT_DDRless_on_AMIC110_C2000

    Regards,
    Garrett
  • My built AMIC11x arm ethercat_slave_full project will not run after power up
    This is my step
    Please help me find out what I did wrong
    Thank you

    CCS7.2 SDK4.1 PRUICSS1.0.5
    Successfully built AMIC11x arm ethercat_slave_full release mode

    Start this step now On-chip Memory (DDRless) Execution of EtherCAT Slave Application

    steps as follows
    1: start/run/comand cd AM335x_PDK_1_0_8_thumb_mode.patch Execute the following command
    C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\dos2unix-7.4.0-win32\bin\unix2dos.exe AM335x_PDK_1_0_8_thumb_mode.patch

    2:cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\patch-2.5.9-7-bin\bin Execute the following command
    patch.exe -i C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\pdk_patches\04.01.00\AM335x_PDK_1_0_8_thumb_mode.patch -d C:\ti\pdk_am335x_1_0_8\packages

    3: cleaned and rebuilt PDK Execute the following command
    cd to C:\ti\pdk_am335x_1_0_8\packages Execute pdksetupenv.bat Execute gmake all

    4:Copy the files in this directory(C:\ti\pdk_am335x_1_0_8\packages\ti\starterware\tools\ti_image) tiimage.exe to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0

    start/run/comand cd to C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\firmware\v1.0
    Execute the following command
    tiimage.exe 0x4a334000 NONE ecat_frame_handler.bin ecat_frame_handler_ti.bin
    tiimage.exe 0x4a338000 NONE ecat_host_interface.bin ecat_host_interface_ti.bin
    tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    note:
    1) tiesc_eeprom.bin can be generated from ESI file using SSC Tool. Below is the detailed procedure:
    a. Open SSC Tools
    b. Go to Tools->EEPROM Programmer
    c. In EEPROM Programmer, go to File->Open. Here select the TI_ESC.xml ESI file from the path “[IA_SDK_HOME]\protocols\ethercat_slave\ecat_appl\esi”
    d. Now in the Device Description drop down select “TIESC-001”
    e. File->Save as. Select “Save as type” as “binary (*.bin)”. Provide the path and Save.
    f. This will generate the binary file for TIESC-001 eeprom. Using “tiimage.exe” to convert this binary to tiimage binary which can be flashed to the board.
    tiimage.exe 0x4030F400 NONE tiesc_eeprom.bin tiesc_eeprom_ti.bin

    5:Open ccs launch selected configuration and connect A8
    use <PDK_INSTALL_DIR\packages\ti\starterware\starterware\tools\flash_writer\spi_flash_writer_AM335X.out to flash
    load file follows
    a flash MLO to 0x0 (MLO get from SDK4.3 bootloader_boot_mcspi_noDDR_a8host_release_ti)
    b tiesc_eeprom_ti.bin 0x10000
    c ecat_host_interface_ti.bin 0x14000
    d ecat_frame_handler_ti.bin 0x19000
    e flash app to 0x20000
    (app get from C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\projects\ethercat_slave_full_AMIC11x_arm\AMIC11x_release\app)

    6 Power on and restart


    The result is it's not working.
    Please help to check are there any mistake in my steps
  • >>a flash MLO to 0x0 (MLO get from SDK4.3 bootloader_boot_mcspi_noDDR_a8host_release_ti)

    bootloader_boot_mcspi_noDDR_a8host_release_ti is not available from PSDK 4.3.

    Did you apply patch and rebuild the MLO in PSDK 4.2 (pdk_am335x_1_0_9) rather than 4.3?

    Regards,
    Garrett
  • Hello, the document does not say the specific steps in the application PRSDK_4_2_migration.patch, can you tell me how to do it?
    I know I need to use the [Dos2Unix/Unix2Dos-DIR]/bin/unix2dos.exe and patch.exe commands
    But I don't know which path to use these commands

    I read the following document
    But do not know how to operate

  • I know this is confusing - The PRSDK_4_2_migration.patch is to rebase the EtherCAT from PRSDK 4.1 to PRSDK 4.2, but it doesn't address the MLO issue. You don't have to rebase to PRSDK 4.2 for EtherCAT app.

    The patch in the git.ti.com/.../fb449773510e62f06232c80e564577ae2268bfe6 is specific to MLO issue. You can download the files and merge to your PRSDK starterware folder (3 files change: sbl_am335x_platform.c, component.mk, platform.mk)

    Regards,
    Garrett
  • I downloaded SDK 4.2 and replaced SDK4.1 startware folder with SDK4.2 startware folder  Is this okay?

    There is a problem with Booting Via McSPI

    I don't know how to configure step two(configure the board for SPI boot mode)What should be done specifically? thank you

  • >>I downloaded SDK 4.2 and replaced SDK4.1 startware folder with SDK4.2 startware folder  Is this okay?

    No, but you can copy the 3 updated files (sbl_am335x_platform.c, component.mk, platform.mk) from PRSDK 4.3 to PRSDK4.2 and then build in the PRSDK4.2 to get the MLO.

    You can skip the step two for AMIC110 ICE, "The default SYSBOOT settings for the AMIC110 ICE are 1000_0000_0001_1000b. These settings correspond to a boot sequence of SPI0, MMC0, USB0, and UART0.", see details in section 2.1 Boot Configuration, 

    Regards,

    Garrett

  • Is all the project programming to SPI flash require bootloader in ddrless mode?
  • Only the EtherCAT project on AMIC110 uses DDR-less bootloader.

    Regards,
    Garrett
  • Thank you very much for your guidance. The ICE-AMIC110 is working, but I have encountered some problems in configuring Twincat.

    This is the status after scanning in Connection Twincat

    project:AMIC11x arm ethercat_slave_full

    AMIC11x arm ethercat_slave_full successfully working in ddrless mode

    Next step is to configure Twincat software as follow

    1    I do not know which file should be copied to <Drive>:\TwinCAT\3.1\Config\Io\EtherCAT folder

    note(C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\examples\ethercat_slave\esi\TiEtherCATLib

       or       C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\ecat_appl\esi\TI_ESC)      could you told me which one?

    2 Start the TwinCAT XAE (VS2013)

    3 Create a new TwinCAT XAE project: File > New > Project > TwinCAT Project

    4 Goto TwinCAT > Show Real Time Ethernet Compatible Devices and Install TwinCAT RT Ethernet intermediate driver

    5 In Solution Explorer go to your new TwinCAT project > I/0 > right click Device1(EtherCAT)> select Scan Boxes

    my question is why TI Boxn (ti-esc) is not detected automatically?

    Is it related to the TwinCAT installation directory or related to the TwinCAT project workspace?

  • 1) If it's AMIC11x arm ethercat_slave_full, you need C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.05.00\protocols\ethercat_slave\ecat_appl\esi\TI_ESC

    2) Are you able to install the Ethernet adapter to "realtime capable' instead of 'for demo use only'? Some Ethernet adapter may not be supported by TwinCAT.

    Regards,
    Garrett
  • How should I get TwinCAT driver for real-time Ethernet adapter?

    as you said I just install  realtek PCIe GBE Family Controller for demo use only

    could you send me a link about  Supported Network Controller by Beckhoff Ethernet Driver          The link on the document cannot be opened

  • I don't have issue to open the link where lists the supported Ethernet controller.

    How do you confirm the AMIC110 DDR-less booted up?

    Alternatively, have you tried to build the project in debug mode, then you can just use JTAG emulator,e .g. xds200, to load from CCS to the target board and run, and then try to communicate with TwinCAT?

    Regards,
    Garrett
  • Does twincat3.1 support Realtek PCIe GBE Family Controller?