I'm trying to get the NuttX simulator working with TCP/IP networking. I
used the sim:nsh defconfig as a base, then used "make menuconfig" to select
TCP/IP, ICMP, and ping commands.

My host is Ubuntu 19.10 Eoan. I installed bridge-utils and configured a
bridge device nuttx0 and gave it an IP address 10.0.1.1. From linux I can
ping the bridge.

I can compile and run the simulator. Commands seem to work. I can configure
the eth0 interface with IP address 10.0.1.2 and bring it up using ifup. But
when I try to ping the bridge, the nuttx simulator immediately exits with
no messages.

I checked the .config against the sim:nettest defconfig, and my settings in
.config match that one.

What am I doing wrong? How do I debug this?

I don't use TCP/IP networking with the simulator.  Perhaps Xiao Xiang will respond later.

I am creating a simulator example that runs the TCP blaster example using the loopback 127.0.0.1 device.  I will give that to you once I verify it.


Reply via email to