We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I wonder if there is any way to get information about failed dhcp process? I need to start dhcp, and if it's not succeeded, disable dhcp and use a default local ip (case of a direct connect to a pc). I understand, that i can monitor local ip, but is there a better way? Also when dhcp is not succesful, the mcb2300_debug complains that retransmit timeout is too big.
Thanks, Gennady
There is no option to enable both DHCP and static IP in commercial products like: small routers, print servers, ADSL modems, IP telephones etc. You can select either DHCP or static IP, but not both at the same time.
As far as I understand your problem, you would like to present ethernet examples for MCB2300 in two configurations: one for LAN with DHCP, and the other for direct connection to PC with static IP.
My suggestin would be to create 2 targets in uVision project, one for DHCP and the other for static IP. Then you can simply flash MCB2300 with a correct firmware. We have also a redesigned HTTP_demo example with changes just described above which is not a part of standard RL-ARM distribution. If you need it please let me know and I will send it to you.
Franc