cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet initialization

Lecordier.Guy
Associate II
Posted on December 22, 2015 at 09:13

Dear ST team,

I run into some problem with Ethernet due to some initialization missing.

In my system I use an external DRAM for the bss section and the internal ram for the data which use DMA.

The bss is initialized at startup, the internal ram is not initialized.

The heth structure is a part of a C++ object which I put in the internal ram, the constructor initializes some parameters of the C++ object but not the heth structure, I assumed it was done by the initialization code.

But It seems some parameters are not initialized by the ethernet code especially the heth.State & Lock and the heth.ETH_DMARxFrameInfos.SegCount.

I put a memset(&heth, 0, ) in the constructor and all is ok. May be these parameters could be initialized in the low_level_init () routine.

Regards

0 REPLIES 0