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.

LP-AM243: Cannot find IP adress in 1-Gbps Full-Duplex mode

Part Number: LP-AM243

Hi TI support team,

I am working on example: "enet_lwip_cpsw_am243x-lp_r5fss0-0_freertos_ti-arm-clang"

every thing is ok, i think.

But i can not see ip adress or IP: 0.0.0.0 in 1-Gbps Full-Duplex mode as pic below.

     

sometime program run in down mode 100Mb. It always show IP address to me example: 192.168.1.12, and then i can ping to 191.168.1.12.

       

Can you guide me how to define or get IP address in 1-Gbps Full-Duplex mode.

  • Hi,

    Can you please let me know SDK version you are using?

    Normally, we see 1Gbps not working due to timing/delay issues causing packet drops resulting in no IP. We had issue of packet drop in our earlier versions of SDK which is fixed in SDK8.1.

    Regards,

    Prasad

  • Hello Mr Prasad Jondhale.

    I used: "mcu_plus_sdk_am243x_08_01_00_36" and "Code Composer Studio 11.1.0"

    Can you sahe me SDK8.1 iss it here: "mcu_plus_sdk_am243x_08_01_00_36"??

    thanks and best regards,

  • Hi,

    The version you have has fix for the packet drop issue. Not sure why you are still seeing packet drop.

    Can you please print the statistics and see anything unusual?

    [FAQ] MCU-PLUS-SDK-AM243X: How do I get CPSW diagnostic statistics using debug gels in MCU+ SDK Enet LLD? - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    Regards,

    Prasad

  • Hi Mr Prasad,

    Today i checked print state as your recommend.

    I receive 2 case test like below:

    1. If  port status return nothing. I always can run terminal and see Cpsw handle like PIC below and don't return IP

    2. If  ports return status info. I always see terminal console issue inform the same in all case test like that:

    ==========================
    ENET LWIP App
    ==========================
    Enabling clocks!
    Starting lwIP, local interface IP is dhcp-enabled
    CPSW_3G Test on MAIN NAVSS
    EnetUdma_openRxCh: [Enet UDMA] UDMA RX Channel open failed: 0xffffffff
    EnetHostPortDma_open: Failed to open Enet DMA RX channel: -1
    Cpsw_openInternal: CPSW: Failed to open CPSW DMA
    Cpsw_closeInternal: Assertion @ Line: 921 in /home/gtbldadm/nightlybuilds/repo_manifests/scripts/jenkins/mcu_plus_sdk_am243x_08_01_00_36/source/networking/enet/core/src/per/V1/cpsw.c: hCpsw->hRxRsvdFlow != NULL

    And here is the PIC i capture:

    Return Port 0 and port 1 info:

           

    Only return port 1 info:

      

                

      

    --> Could you please give me some suggestion to do next?

    --> What different between ports return data and return no data?

    --> What and where i need to do to fix IP address config(ex: 192.168.1.12) in gigabit mode? Because some time i received address: 192.168.1.12 in 100Mb mode. 

    --> can you send me "enet_lwip_cpsw_am243x-lp_r5fss0-0_freertos_ti-arm-clang" example you test run well by email: duong.vu@intins.vn ?

    thanks and best regards,

  • Hi Duong,

    Below error tells that the sysfw image is not latest or consistent with what the SDK version is using.

    EnetUdma_openRxCh: [Enet UDMA] UDMA RX Channel open failed: 0xffffffff
    EnetHostPortDma_open: Failed to open Enet DMA RX channel: -1
    Cpsw_openInternal: CPSW: Failed to open CPSW DMA

    Are you using SBL NULL mode or using gels to configure SOC?

    Can you please share your sysfw boot logs?

    Regards,

    Prasad

  • hello Mr Prasad,

    (Your question): Are you using SBL NULL mode or using gels to configure SOC?

    --> can you explain more. I am new member TI chipset, can you send me link to understand SBL NULL mode and gels to configure SOC?

    If i understand SBL mode is default, right.

    (Your question): Can you please share your sysfw boot logs?

    --> where to get sysfw boot logs?

    I have a question: when" enet_lwip_cpsw" example run in 100M mode it return IP 192.168.1.12.

    So i can ping to 192.168.1.12. 

    But if i turn off LP-243x power and turn on it again. I can not ping address 192.168.1.12?

    Why and what happen mr Prasad?

    Regards,

  • Hi Duong,

    No issues. You can get more details about SBL NULL vs gel files approach of initializing the SOC.

    AM243x MCU+ SDK: SBL NULL (ti.com)

    AM243x MCU+ SDK: EVM Setup (ti.com)

    Can you share your typical development flow? How do you load binary into R5F - via CCS or it's flashed. 

    Regards,

    Prasad