When i use the fnet stack in my project, i find the enet registers read wrong.It's value equal the address.And when i write to the register,i got error.Can someone help me?
Solved! Go to Solution.
After comparison, I solved it. When I use fnet in the SDK project, I need to configure the clock enable of enet and bind the clock source to fnet.
I tried to make GCR.UAA = 1, but it didn't work.
After debugging, I found that when I added the enet module of the SDK to the project, the value of the register could be read correctly, even without initializing enet. But I cannot understand why the enet module must be added?
(But fnet still can't work, this may be due to different configuration items of fent and enet modules.)
After comparison, I solved it. When I use fnet in the SDK project, I need to configure the clock enable of enet and bind the clock source to fnet.