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.

TM4C129 Ethernet/Flash Issue

Other Parts Discussed in Thread: TM4C129ENCPDT

Hey guys,

I've been battling a bug for a little while on a TM4C129ENCPDT related to Ethernet initialization/configuration. Looking around these forums, one repeated suggestion from TI staff has been to disable the Flash prefetch buffer before the initialization and re-enable it afterwards. This has fixed my problem, but I can't help but be curious why this fix works.

Is it an issue with Tivaware that will be corrected at some point? Or is it an issue with the peripherals themselves? I can't find any notes in the errata/datsheet regarding this bug, so I'm not sure what to think.

I'm not looking for a detailed answer, but I'd be more comfortable if I had some idea of what the root of the problem is. 

Thanks,

  • Hello Matthew,

    The last errata release did not have the issue, but the new one will have this mentioned.

    As for the root cause we have understood it to be a problem with the manner in which Crystal Startup interacts with the Clock switching circuit. To be able to prove the hypothesis we are running additional tests. One indication was the switchover of the Oscillator Clock Source to Crystal for which we did a code update to undo the same and instead using PIOSC even though the System works off the PLL and it did fix the issue as well.

    Regards
    Amit