Hi All,
s7g2 (Custom Board)
SSP 1.7.0
e2Studio 7.8.0
https://community.renesas.com/embedded-system-platform/synergy/f/forum/29533/how-to-flash-code-for-s7g2-dk-from-sd-card/101602#101602
we are trying to Flash the Firmware. (as shared in the above post)
So,
//FirmWare Upgrade using Buffer uPrev_Posture=tx_interrupt_control(TX_INT_DISABLE); //Disabling Interrupts
//Stop HTTP Server uHTTPServerDelSts=nx_http_server_delete(&g_http_server0);
//Disable IP Services uIP0DelSts=nx_ip_delete(&g_ip0);
While Deleting we are getting 0x28 (dec 40)
which as per document says :NX_SOCKETS_BOUND (0x28) This IP instance still has UDP orTCP sockets bound to it. Allsockets must be unbound anddeleted prior to deleting the IPinstance.
1. How Do we know which service still uses sockets?
2. How to gracefully Close them.
3. After IP Delete: a. the helper thread is still running, the device is still pinging...
Regards
Surojit