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.

PRU-ICSS-INDUSTRIAL-SW: HSR/MII does't work PRU_ICSSG0 of TMDS243EVM

Part Number: PRU-ICSS-INDUSTRIAL-SW
Other Parts Discussed in Thread: TMDS243EVM

Tool/software:

Hi, 

I am using hsr_prp_demo in ind_comms_sdk_am243x_09_02_00_15 with TMDS243EVM.

(hsr_mii_demo_am243x-evm_r5fss0-0_freertos_ti-arm-clang)

Now I changed the HSR-PRP instance from the default ICSSG1 to ICSSG0.  and accordingly,

“MDIO FW WA Configuration” in mdioManualModeSetup() in the demo app has been modified.

(otherwise, the program will abort by accessing REGISTER in ICSSG1)

As a result, the demo app is now running, but HSR doesn't seem to be working properly.

So I checked RedPru0DmemInit() and there was no initialization of LRE_HSR_MODE.

Is it necessary to set LRE_HSR_MODE like RedPru1DmemInit()?

And is there anything else that needs to be corrected?

Best Regards,

  • but HSR doesn't seem to be working properly.

    What exactly does not work, assigning this thread to an expert who can check for any other dependencies on ICSS instance

  • Hi, Pratheesh.

    Thank you reply.


     > What exactly does not work, assigning this thread to an expert who can check for any other dependencies on ICSS instance


    I have set up a redundancy network using two switches (Moxa PT-G503) and test it as follows.

    1. PC(E) responds ping from PC(A)
    2. disconnect between PT-G503(B) and PT-G503(C)
    3. PC(E) responds ping from PC(A) via  TMDS243EVM(D).

    PRU-ICSS1 instance (default) is no problem from case1. to 3.
    But PRU-ICSS0 in the same environment, there is no ping response in case 3.

    Best Regards,shino.

  • Hi shino, 

    Thanks for sharing the details.

    - I see you would need to update CSL_PRU_ICSSG1_DRAM0_SLV_RAM_BASE to CSL_PRU_ICSSG0_DRAM0_SLV_RAM_BASE in mdioManualModeSetup(). (Ideally, we should use the instance baseaddress from prusshandle handle)

    - I do not think you need any changes in RedPru0DmemInit() or RedPru1DmemInit() as they are already independent of instance. 

    Can you please share the memory dump of ICSSG1 when using ICSSG1 and memory dump of ICSSG0 when using ICSSG0. This will help us to compare and see if there are any differences with respect to ICSSG initialization. 

    We will try to go through the HSR example/driver in the meantime, to see if there are any other instance specific hardcoding.

    Thanks,
    Himanshu

  • Hi, Himanshu.

    Sorry, HSR worked on PRU_ICSSG0.

    The problem was caused by my PHY being linked with 1GbE.

    The ticket is CLOSE.

    Best Regards,shino.