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.

AM2432: EIP stack seems to be not working normally though dp83822 has been negotiated successfiully with pc

Part Number: AM2432
Other Parts Discussed in Thread: DP83826E

Hi experts,

Firstly,the EIP scanner in pc can works normally with the AM243x_LP running as a EIP adapter.

Secondly,I used the same scanner and made it work with my board which selects AM2432 and dp83822.The program in board is changed from that in AM243x_LP.

And dp83822 can be detected by the pc and negotiated at 100MHz successfully.

Here it is:

However,the problem is the board excutes and uart logs in ccs doesn't show any info about 'Forward open Connection' .

Here is the latter part of the uart logs by AM2432 board:

+EI_API_ADP_pruicssStart
-EI_API_ADP_pruicssStart
Assembly 0x64 size: 0
Assembly 0x64 size: 2 (attrId 0x340)
Assembly 0x64 size: 4 (attrId 0x341)
Assembly 0x64 size: 6 (attrId 0x342)
Assembly 0x64 size: 8 (attrId 0x343)
Assembly 0x64 size: 10 (attrId 0x344)
Assembly 0x64 size: 12 (attrId 0x345)
Assembly 0x64 size: 14 (attrId 0x346)
Assembly 0x64 size: 16 (attrId 0x347)
Assembly 0x64 size: 18 (attrId 0x348)
Assembly 0x64 size: 20 (attrId 0x349)
Assembly 0x64 size: 22 (attrId 0x34a)
Assembly 0x64 size: 24 (attrId 0x34b)
Assembly 0x64 size: 26 (attrId 0x34c)
Assembly 0x64 size: 28 (attrId 0x34d)
Assembly 0x64 size: 30 (attrId 0x34e)
Assembly 0x64 size: 32 (attrId 0x34f)
Local interface IP is 192.168.1.19
EI_API_ADP_getMacAddr: 1c:63:49:20:7c:d3

And here is the part of the logs by AM243x_LP:

+EI_API_ADP_pruicssStart
-EI_API_ADP_pruicssStart
Assembly 0x64 size: 0
Assembly 0x64 size: 2 (attrId 0x340)
Assembly 0x64 size: 4 (attrId 0x341)
Assembly 0x64 size: 6 (attrId 0x342)
Assembly 0x64 size: 8 (attrId 0x343)
Assembly 0x64 size: 10 (attrId 0x344)
Assembly 0x64 size: 12 (attrId 0x345)
Assembly 0x64 size: 14 (attrId 0x346)
Assembly 0x64 size: 16 (attrId 0x347)
Assembly 0x64 size: 18 (attrId 0x348)
Assembly 0x64 size: 20 (attrId 0x349)
Assembly 0x64 size: 22 (attrId 0x34a)
Assembly 0x64 size: 24 (attrId 0x34b)
Assembly 0x64 size: 26 (attrId 0x34c)
Assembly 0x64 size: 28 (attrId 0x34d)
Assembly 0x64 size: 30 (attrId 0x34e)
Assembly 0x64 size: 32 (attrId 0x34f)
Local interface IP is 192.168.1.11
EI_API_ADP_getMacAddr: 1c:63:49:25:19:d6
Configuration Size 64 byte
0x1 0x21 0x2 0x31 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x1 0x31 0x0 0x31 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
Forward open Connection Serial Number: 0x1757

So,what's the problem?What I should do next?

regards

sigong

  • If the problem is still related with the PHYs,what can I do to verify it?

  • Hi sigong,

    Thanks for your query.

    I will check on this and get back to you.

    Regards

    Ashwani

  • Hi Ashwani,

    I think it helpful to add these info.

    The info about REG in logs is read and output in function 'CUST_PHY_DP83826E_setMIIMode' which is excuted in the initial process of dp83822.

    Because when the initial period has been away,I could not use these phy_read or phy_write function.

    From the logs,we can find :

    BMCR  0x7849;

    SOR1   0x2001;

    SOR2   0x0000.

    However,the value of SOR1 does not seem to match my hardware configuration.Is it related with the time of the read-execution?

    Can you give me some advice?Thank you.

    If more info are needed,please do not hesitate to tell me.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    [MCSPI] Loopback example started 3
    Pruicss max =3 selected PRU:3
    The data is corrupted, write default values.
    Did Map 0x30080000 len 0x2000 to 0x30080000 (dram0)
    Did Map 0x30082000 len 0x2000 to 0x30082000 (dram1)
    Did Map 0x300b4000 len 0x4000 to 0x300b4000 (iram0)
    Did Map 0x300b8000 len 0x4000 to 0x300b8000 (iram1)
    Did Map 0x30090000 len 0x10000 to 0x30090000 (shdram)
    Did Map 0x300a2000 len 0x400 to 0x300a2000 (control0)
    Did Map 0x300a4000 len 0x400 to 0x300a4000 (control1)
    Did Map 0x300a0000 len 0x2000 to 0x300a0000 (intc)
    Did Map 0x300a6000 len 0x2000 to 0x300a6000 (cfg)
    Did Map 0x300a8000 len 0x2000 to 0x300a8000 (uart0)
    Did Map 0x300ae000 len 0x2000 to 0x300ae000 (iep)
    Did Map 0x300b0000 len 0x2000 to 0x300b0000 (ecap0)
    Did Map 0x300b2000 len 0x400 to 0x300b2000 (mii_rt)
    Did Map 0x3009f000 len 0x1c00 to 0x3009f000 (mdio)
    Did Map 0x3008a000 len 0x2000 to 0x3008a000 (txPru0Iram)
    Did Map 0x3008c000 len 0x2000 to 0x3008c000 (txPru1Iram)
    Did Map 0x300a5000 len 0x100 to 0x300a5000 (txPru0CtlReg)
    Did Map 0x300a5000 len 0x100 to 0x300a5000 (txPru1CtlReg)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards

    sigong

  • Thanks sigong,

    Which SDK you are working on ?

    I understand that you are facing the problem when running EIP on custom PHY.

    You are not facing any problem while executing EIP on AM243-lp and AM243-evm out of box. correct ?

    software-dl.ti.com/.../INDUSTRIAL_COMMS_TI_STACK.html

    Regards

    Ashwani

  • Thank you for the response.

    The SDK in use is ind_comms_sdk_am243x_09_00_00_03.

    And there is no problem currently while executing EIP on AM243x-lp.

    Regards

    sigong

  • Hi Ashwani,

    I'm sorry for some wrong info because of wrong operations.

    I changed the PHY's address ,rectifyed and executed the READ operation until the link-status LED is on.

    Here is the latest logs:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    Starting NULL Bootloader ...
    DMSC Firmware Version 8.6.4--v08.06.04 (Chill Capybar
    DMSC Firmware revision 0x8
    DMSC ABI revision 3.1
    INFO: Bootloader_runCpu:155: CPU r5f1-0 is initialized to 800000000 Hz !!!
    INFO: Bootloader_runCpu:155: CPU m4f0-0 is initialized to 400000000 Hz !!!
    INFO: Bootloader_loadSelfCpu:207: CPU r5f0-0 is initialized to 800000000 Hz !!!
    INFO: Bootloader_runSelfCpu:217: All done, reseting self ...
    [MCSPI] Loopback example started 3
    Pruicss max =3 selected PRU:3
    The data is corrupted, write default values.
    Did Map 0x30080000 len 0x2000 to 0x30080000 (dram0)
    Did Map 0x30082000 len 0x2000 to 0x30082000 (dram1)
    Did Map 0x300b4000 len 0x4000 to 0x300b4000 (iram0)
    Did Map 0x300b8000 len 0x4000 to 0x300b8000 (iram1)
    Did Map 0x30090000 len 0x10000 to 0x30090000 (shdram)
    Did Map 0x300a2000 len 0x400 to 0x300a2000 (control0)
    Did Map 0x300a4000 len 0x400 to 0x300a4000 (control1)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    About PHY 3:

    BMCR  0x786D;

    SOR1  0x3FC3;

    SOR2   0x0000.

    Maybe that is helpful to locate to the key point.Thank you.

    Regards

    sigong

  • Hi Ashwani,

    The thread you metion is undergoing.

    We all try to find the key point currently.

    Regards

    sigong

  • The thread you metion is undergoing.

    As it is same issue discussion going on.

    Can we close this thread ?

    Regards

    Ashwani