I'm having trouble about reading IP address of the M52259. I try to use ipcfg_get_ip() function but return value of the function does not make sense.
Is there any idea about this?
Have a look at sh_ipconfig.c in shell library, function Shell_ipconfig_status(), to see how to use such functions.
Anyway, did you initialize ethernet interface and got/set some IP address already?
The function doesn't change it's OUT parameters (so they can remain unitialized), if there's no information yet.
Retrieving data ...