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.

RTOS/AMIC110: PROFINET examples fail to run

Part Number: AMIC110
Other Parts Discussed in Thread: AM3359, SYSBIOS

Tool/software: TI-RTOS

Hi all,

I am trying to get the Profinet examples to run. Here is the situation:

New install of Windows 10. There is NOTHING installed on this system except:

Code Composer Studio 8.3.0.00009

Processor SDK am335x-evm-05.01.00.11

PRU-ICSS-Profinet_Slave-01.00.03.04

I configure the profinet_slave_IRT_AMIC11x_arm project as described in the manual. I load the workspace in CCS. The compilation is successful. I create a target.ccxml (XDS110 Probe and AMIC110 profile, GEL file iceAMIC110.gel). I start a debug session on AMIC110 ICE EVM. It terminates with: 

CortxA8: Unhandled ADP_Stopped exception 0x801AAD68

Next try: I switch to Build configuration: Debug. Compilation is successful. Debug session terminates with:

CortxA8: Unhandled ADP_Stopped exception 0x801B9568

Next try: I configure the profinet_slave_IRT_AM335x_arm project as described in the manual. I load the workspace in CCS. The compilation is successful. I create a target.ccxml (XDS100v2 Probe and ICE_AM3359 profile, GEL file TMDXICE3359.gel). I start a debug session on AM335x ICE v2. It terminates with:

CortxA8: Unhandled ADP_Stopped exception 0x801AB198

I did not try the debug build configuration...

There seems to be something wrong with either the example code or the documentation. I had similar behaviour on another workstation which had seen a lot of different installations of CCS's, PDK's etc. so I performed this clean install for troubleshooting. I need to get these examples running on EVMs to have a baseline for testing my custom design.

Regards,

Tom 

  • Tom,

    You might miss the note in the wiki - processors.wiki.ti.com/.../PRU_ICSS_Profinet , copied below:

    ---------------
    The application uses DMTimer4 as the clock source for the SYSBIOS Ticks (Refer to cfg file for details). The DMTimer module should be enabled for the application to load properly with the change. This needs to be done in the GEL file.

    Make the following changes in GEL File to enable DMTimer4

    Add the line inside hotmenu AM3359_ICE_Initialization()
    WR_MEM_32(CM_PER_TIMER4_CLKCTRL, PRCM_MODULEMODE_ENABLE);
    Add the defines in the GEL File
    #define CM_PER_TIMER4_CLKCTRL (PRCM_BASE_ADDR + 0x88)
    #define PRCM_MODULEMODE_ENABLE (2U)
    ------------
    on AMIC110 ICE, the function would be AMIC110_ICE_Initialization().

    Regards,
    Garrett