Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] J721EXSOMXEVM: Ethernet Switch UART change

Part Number: J721EXSOMXEVM

Hello,

On J7 EVM, UART2 is used for Ethernet switch logs. On our custom board we would like to send Ethernet Switch logs on UART7.

Could you please let me know what changes I have to make to redirect Ethernet switch logs on UART7?

Thank you,

Satish

  • Hi Satish,

    Sorry for the delay. I will take a look with Ethernet experts

    Regards

    Vineet

  • Satish,

    If you are using SDK 7.1 - Could you try the following changes?

    1. <SDK>/pdk/packages/ti/drv/enet/examples/utils/include/enet_apputils.h
      • Set initParams.uartInst value in EnetBoard_boardInit() function to new UART instance number.
      • If the new UART instance is not in Main domain, also change initParams.uartSocDomain in the same function.
    2. <SDK>/pdk/packages/ti/drv/enet/examples/utils/V1/enet_board_pinmux_j721e_data.c
      1. Update gUartPinCfg array with the pin mux settings corresponding to the new UART instance.

    If you are using SDK 7.0 or older, the changes would be in CPSW LLD (<SDK>/pdk/packages/ti/drv/cpsw). Filenames and function names are very similar.

  • Hi Misael,

    Thank you for the reply.

    I have made the changes according to your recommendation. After making these changes I issued "make -sj PLATFORM=j721e_evm cpsw_apputils_baremetal" command and it generated "cpsw_apputils_baremetal.aer5f". 

    Could you please let me know what is this aer5f file and how I should use this file to generate new Ethernet firmware image?

    I am currently using SDK 7.0.

    Thank you,

    Satish

  • Hi Misael,

    Eventually, I was able to generate a new firmware image with "make ethfw_all" command from ethfw source code in RTOS .

    Now I can see the logs on Ethernet logs on UART7. Thank you for your help.

    By mistake, I clicked on my post as well as a suggested answer but that is not true. The answer you suggested fixed my issue and I marked it as resolved as well.

    Thank you again,

    Satish

  • Adding two threads on UART port change to this thread.

    1. EthFW UART port change in vision_apps

    2. UART port change on Ethernet Switch

    Regards

    Vineet