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.

RTOS/TM4C129ENCPDT: RTOS/TM4C129ENCPDT ETHERNET LED

Part Number: TM4C129ENCPDT

Tool/software: TI-RTOS

Hi Guys!

Let me allow to ask one of you for the followings:
I have a problem with TM4C129ENCPDT and TI-RTOS.
I made a custom board for my controller, it works fine, but i tried to modify the ethernet led0 config/properties according to TM4C129encpdt datasheet 1766 page.
I tried to modify the register under TI-RTOS i always getting termination exc. i use the tivaware lib for this. 
I tried to modify the register under the example enet_lwip. This is not a rtos example and it works fine i think.
The lwIPInit function was modified before the  the emacinit is called. 

EMACPHYExtendedWrite(EMAC0_BASE, 0 , EPHY_LEDCFG,EPHY_LEDCFG_LED0_RXTX);
EMACPHYWrite(EMAC0_BASE, 0 , EPHY_LEDCR,EPHY_LEDCR_BLINKRATE_2HZ);

if i made these under TI-RTOS it is stucked.
Balazs 
i hope someone can help me with this. 
  • Hi,

     Please reference the very last reply by Todd in this post. https://e2e.ti.com/support/microcontrollers/other/f/908/t/619148#pi320995=2. I copy and paste his answer again here. Basically he is suggesting to copy the file (C:\ti\tirtos_tivac_2_16_01_14\products\tidrivers_tivac_2_16_01_13\packages\ti\drivers\emac\EMACSnow.c) to your local project folder and modify the file with the bolded addition. 

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    Nancy,

    I added the C:\ti\tirtos_tivac_2_16_01_14\products\tidrivers_tivac_2_16_01_13\packages\ti\drivers\emac\EMACSnow.c file into the TCP Echo project and then added the bolded line into EMACSnow_NIMUInit().

       EMACAddrSet(EMAC0_BASE, 0, (uint8_t *)device->mac_address);

       EMACPHYExtendedWrite(EMAC0_BASE, 0, EPHY_LEDCFG, 0x0588);

       /* Initialize the DMA descriptors. */

       EMACSnow_InitDMADescriptors();

    I built and ran the example. I know see both green D3 and D4 LEDs flashing to denote activity on the EK-TM4C1294XL LaunchPad. Is this what you wanted to do?

    Todd