I am not able to get get an IP_ADDRESS on my S5D9 board. When I call nx_http_client_get_start, it is always returning status as 21.
I installed the bsp for this board using instruictions from here https://renesasrulz.com/synergy/f/synergy---forum/8894/from-seedstudio-s5d9-vs-pk-s5d9/33540#33540
In reply to adboc:
I have called nx_dhcp_start and it returning 0(SUCCESS). As shown below
status_dhcp = nx_dhcp_start(&g_dhcp_client0); // Getting 0
err_one = nx_ip_interface_status_check(&g_ip0, 0, NX_IP_LINK_ENABLED, &status, NX_WAIT_FOREVER); // Taking infinite time
err_two = nx_ip_status_check(&g_ip0, NX_IP_ADDRESS_RESOLVED, &status, TX_WAIT_FOREVER);
In this case status_dhcp is 0 and nx_ip_interface_status_check is taking long time since i have passed NX_WAIT_FOREVER, if i specified timeout value err_one is getting 0x43
I am using S5D9 IOT ENABLER Board. So is there any problem with BSP packages ?
In reply to suru:
Thanks Adboc, It working now. I changed the pin and channel in the properties of the ethernet driver from the configuration menu