I am using a Wiznet812MJ module with a PIC chip and i have written my own routines to write and read from wiznet registers.
I have reached far enough so that I can send a ping request from a computer and get a response back from the wiznet module.
Now I’m trying to create sockets but I am having problems. I am writing some data to wiznet’s DHAR, DIPR and DPORT registers and when I read them back, I get only default values of those registers instead of the values I wrote. But if I write the same value to RMSR, TMSR or GAR registers then I can read them back later fine.
The reason I’m writing and reading from the above registers is just for diagnostic purposes because I couldnt get the UDP socket to work when I wrote data on Mode Register and command register, so I wanted to see whether I could actually write and read on other registers and that’s what I found out.
Can you tell me why these particular registers are being reset to defaults? Am I missing something here?