This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK Issue with Custom Subnet configuration on router

Hello,

HW: TM4C129EXL-LP | RTOS : 2.14.4.31 |

I have faced the following issue:

ss in flash
Starting the TCP Echo example
System provider is set to SysMin. Halt the target to view any SysMin contents in ROV.
Service Status: DHCPC    : Enabled  :          : 000
Network Open Hook Fired
Service Status: DHCPC    : Enabled  : Running  : 000
Network Added: If-1:192.168.3.2
Network IP Address Hook Fired

Service Status: DHCPC    : Enabled  : Running  : 017
00012.200 TcpTimeoutRexmt: Retransmit Timeout
Network Removed: If-1:192.168.3.2
Network IP Address Hook Fired
Service Status: DHCPC    : Disabled :          : 000
Network Close Hook Fired
FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...

The target is configured to obtain IP address automatically from the router. On the router side I modified Default Subnet Mask from 255.255.255.0 to 255.255.255.240 and set the new IP range as you can see on the attached picture.

When I tried to connect with this new router config I can not connect to target and gave me the error aboveAfter I revert changes on the router the problem gone. Fortunately I don't have to make Subnet Mask restriction on my project right now, but in the near future I have to.
Have you ever seen this behavior?

  • Hello Daniel,

    Tried same set up as yours with custom subnet (DHCP server running on Ubuntu PC), not seeing any issue.

    From the log you shared looks like your Socket connection is dropped because of TCP re-transmission timeout and I think it might be due to router not acknowledging  previous transmissions.

    Regards,

    Prasad

  • Hi Daniel,

    Were you able to get past this issue?

    If not, you should try to look into that register dump that you're seeing in your CCS console output.

    Daniel Vamos said:
    FSR = 0x0000 HFSR = 0x40000000 DFSR = 0x0000000b MMAR = 0xe000ed34 BFAR = 0xe000ed38 AFSR = 0x00000000 Terminating execution...

    First, you should increase the size of your SysMin buffer in your *.cfg file.  I can see that the output buffer is not big enough, so you aren't getting the full output in the CCS console.

    Try adding/changing the SysMin buffer size in your *.cfg file:

    SysMin.bufSize = 4096; // increase to 4K

    After that, rebuild/rerun.  You should see more details of the register dump.  With the full details, you can follow the steps listed here to see where that crash exception happened.

    Steve