Hello,
I had very hard time while working with W5300. Originaly i use STM32F4 in SRAM interface. I downloaded example for W5300.
Can read id no problem, so my hardware works.
Now program itself does not want to work, i have no idea why, it does open socked and send connect, no problem, but i just can’t get any data flow.
My question is this. How based on W5300_Drv_V1.2.6 driver get IP address from DHCP server ?
I am too new to all LAN stuff, maybe some one can help me out. And if you do, can you do that based on V1.2.6 driver ?
Or maybe some on has complete working example for STM32F4 in FMC mode how to make throughput test ?
I did try tah, but it didin’t worked.
should i just call DHCP run and that it ?
What would be correct procedure to get dhcp step by step using that code ?
loop the dhcp_run() until the return value of dhcp_run() will be DHCP_IP_LEASED.
If the return value is DHCP_IP_FAILED, you can process that is the timeout by counting.