You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="images"><span>A screen shot of FVPs running</span></span>
73
74
74
-
<span>a screen-shot for FVPs running</span></span>
75
+
<spanclass="notes">**Note:** FVP's `-a` option only takes `.elf` format images. To use the `--data` option with binary format images, please reference the [FVP reference guide](https://developer.arm.com/docs/100966/latest).</span>
75
76
76
-
<spanclass="notes">**Note:** FVP's `-a` option only takes .elf format images. To use the `--data` option with binary format images, please reference the [FVP Reference Guide](https://developer.arm.com/docs/100966/latest).</span>
77
+
#### Run Mbed OS sockets examples with Fast Models ethernet
77
78
78
-
#### Run Mbed OS sockets examples with Fast Models Ethernet
79
+
Fast Models ethernet is a special component not enabled by default.
79
80
80
-
Fast Models ethernet is a specical compoment which not been enabled by default. Two special options are required when using the ethernet compoment or any networking functions.
81
+
<spanclass="notes">**Note:** The current version of Fast Model ethernet implementations requires Fast Models 11.3 or later or DS-5 5.29.0 or later. Also, the simulated IP routing only works on TCP and IP protocols, but neither the ICMP nor the IGMP protocol. This means ping does not work. For more details about how the Fast Models ethernet MAC works, please reference the [Fast Models reference manual](https://developer.arm.com/products/system-design/fast-models/docs/100964/latest/introduction/network-set-up/user-mode-networking).</span>
81
82
82
-
<spanclass="notes">**Note:** Current version of Fast Model ethernet implementations requires Fast Models 11.3 or later or DS-5 5.29.0 or later. Also the simulated IP routing only works on TCP/IP protocol, but neither ICMP nor IGMP protocol. which means ping would not work. For more details about how the Fast Models ethernet MAC working, please reference the [Fast Models Reference Manual](https://developer.arm.com/products/system-design/fast-models/docs/100964/latest/introduction/network-set-up/user-mode-networking).</span>
83
+
Here, the `mbed-os-example-sockets` example demonstrates ethernet function. You can build the example as usual:
83
84
84
-
Here, `mbed-os-example-sockets` example is used to demonstrated ethernet function. The example can be build as usual:
85
85
```
86
86
$ mbed import mbed-os-example-sockets
87
87
$ cd mbed-os-example-sockets
88
88
$ mbed compile -t GCC_ARM -m FVP_MPS2_M3
89
89
```
90
-
While launching the mbed OS socket example with Fast Models Ethernet function, arguments `-C fvp_mps2.smsc_91c111.enabled=1` and `-C fvp_mps2.hostbridge.userNetworking=1` need to be passed in the command line:
90
+
91
+
While launching the Mbed OS socket example with the Fast Models Ethernet function, you need to pass the arguments `-C fvp_mps2.smsc_91c111.enabled=1` and `-C fvp_mps2.hostbridge.userNetworking=1` in the command-line:
92
+
91
93
```
92
94
$ FVP_MPS2_Cortex-M3 -C fvp_mps2.smsc_91c111.enabled=1 -C fvp_mps2.hostbridge.userNetworking=1 -a BUILD/FVP_MPS2_M3/GCC_ARM/mbed-os-example-sockets.elf
93
95
```
94
96
95
-
The FVPs start running, and the console output like::
97
+
The FVPs start running, and the console output looks like:
96
98
97
99
```
98
100
Mbed OS Socket example
@@ -107,7 +109,6 @@ External IP address: 217.140.106.54
107
109
Done
108
110
```
109
111
110
-
111
112
### Notes
112
113
113
114
1. Timing accuracy of Fast Models can't be guaranteed.
0 commit comments