Open Ashvin22 opened 1 year ago
That's quite hard without knowing the whole code.
Without a register write or power cycle the registers wouldn't reset, so I would start with the hardware. Please verify that the power supply of your W5500 is stable, e.g. by tracking with a multimeter) and track executions of reset functions.
Hi,
I am working on W5500 as TCP clinet with STM32.
At power cycle reset I am configuring W5500 with bbelow details and i have read back the configuration details to verify it. I am debugging TCP client application with debug logs over serial communication to monitor the status of application.
After configuration is done i am able to connect with server, able to sent and receive data. `>>> :: SnCrntState - SnPrevtState : 0x17 - 0x13 :: <<<
It is working fines for few minutes and then rendomly disconnect from server and when I have place debug logs for network info in socket closing state, i am getting all configuration as zero. `>>> :: SnCrntState - SnPrevtState : 0x00 - 0x17 :: <<<
I am not getting any idea , how the network configuration has been reset.
Can anyone help me here to trace the issue?
Thanks & Regard, Ashvin Makwana