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.

CCS/TM4C1294NCPDT: How to change default ethernet configurations.

Part Number: TM4C1294NCPDT

Tool/software: Code Composer Studio

Hi,

I am using the CCS 10.1.1 for the development. I am creating a network application. And I want to change some ethernet configuration runtime. I get one example code (httpget) from "resource manager" from the library "TI-RTOS for TivaC - 2.16.00.08 ". I found one function EMAC_init(). I am assuming that this function initializing the ethernet configurations. But I can't find where it is doing so. I run the example code in debug mode but still, I can't find where the ethernet configuration is done. Can you guide me on how I can change the default ethernet configuration?

  • Hi,

      The EMAC_init() is defined in C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\drivers\EMAC.c file. It will later reference the EMACSnow.c file in the emac directory. It is part of the TI-RTOS library. The library is linked during compile time. If you need to compile the library then please use the instructions from this post. https://e2e.ti.com/support/processors/f/791/t/947275. Personally, I have never tried to compile the library myself. I think it may be easier if you simply just copy the C:\ti\tirtos_tivac_2_16_00_08\products\tidrivers_tivac_2_16_00_08\packages\ti\drivers\emac\EMACSnow.c file to your CCS project. Make the modification you need and rebuild your project.