This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Auto reset when changing DHCP and Passive

using mdk 4.72.10.0
device lpc2388

after two years I finally upgraded to the latest keil mdk
everything works except for this strange anomaly.

if I change the IPMode (between Dhcp and Static) or change the ftp (between Passive and Active)

the software automatically resets (A reset was previous needed but one had to do it in software)

Does the keil library automatically handle the reset for you (If so were is this documented?)

//****************************************************************************************
if I call
updateInternetSectorParameter(FTP_MODE_OFFSET, (unsigned char *) &networkActiveMode, 1);
or
updateInternetSectorParameter(MY_IP_MODE_OFFSET, (unsigned char *)&networkDHCPMode, 1);

witch in turn (updateInternetSectorParameter ) calls

WriteBlock(INTERNET_SECTOR, (U8*)writeBuf, 1);

once (WriteBlock) is called the system hangs for 5 seconds and then resets

I already increased any time out I could find with no change
any Ideas