Dear Sir,
I think I found an error in NDK.
I have Ethernet function in my application, and the Ethernet sometimes works, sometimes fails.
I did some experiment to observe the Ethernet error.
When I clear all the data in DRAM to 0 before I run the Ethernet application, the ethernet function can work well.
If I don't do that, sometime it works, sometime it doesn't work.
If I set all the data in DRAM to 0xFF before I run the Ethernet application, the ethernet function fail.
Therefore, I think this is a bug caused by NDK initialization.
Some variables in NDK doesn't init well, and it depends on whether NDK "likes" the data in DRAM or not.
So currently I can only clear the DRAM data to 0 with my boot loader before running Ethernet function.
Can someone help me to do the correct NDK initialization? (I already studied spru 523 & 524)
Best Regards,
Eric Fang