Hi
I am developing an UDP server using TM4C1294XL board.
After several tests, using the "SDOCM00107378: NDK examples for EK-TM4C1294XL do not work" code, I found that with or without this code, the EMAC freezes in some compilation. In other words, if I add some code in my program, after compilation and debugging it, sometimes it freezes the ethernet communication. Even if the code added is not related with communication.
So, I am wondering if this problem is not related as a BYTE ALIGNMENT in object code. As example, when the EMAC freezes, I add or delete the additional line in code below:
UInt32 ui32FlashConf;
ui32FlashConf = HWREG(0x400FDFC8); // add or delete if EMAC freezing occurs
ui32FlashConf = HWREG(0x400FDFC8);
ui32FlashConf &= ~(0x00020000);
ui32FlashConf |= 0x00010000;
HWREG(0x400FDFC8) = ui32FlashConf;
Doing this, my program run perfectly.
Could someone enlight this issue, please?
Thank you.