Tool/software: Code Composer Studio
Hi,
My project is capable of switching between static IP and dynamic IP perfectly.
lwIPNetworkConfigChange(0, 0, 0, IPADDR_USE_DHCP);
Then I implemented in my code a routine for firmware update through the ethernet port.
while(1)
{
//...
if(g_bFirmwareUpdate == 0x72)
{
ROM_GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_1, GPIO_PIN_1);
SoftwareUpdateBegin(g_ui32SysClock);
}
}
However, after that, I noticed that every time I try to change from static to dynamic IP, my code goes into FaultISR.
I am not getting a solution to this problem, but I believe it may have something related to port 68 used by DHCP and BOOTP.
Has anyone ever experienced this?
Thanks!!!