Nuvoton
/
NuMaker-mbed-tcp
NuMaker Ethernet TCP
README.md@19:43ee976c5259, 2020-09-01 (annotated)
- Committer:
- cyliang
- Date:
- Tue Sep 01 05:15:44 2020 +0000
- Revision:
- 19:43ee976c5259
- Parent:
- 5:f33d0ab82615
Support both of OS v5.15 and v6.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shliu1 |
5:f33d0ab82615 | 1 | # Getting started sample with ethernet TCP on mbed OS |
shliu1 |
5:f33d0ab82615 | 2 | |
shliu1 |
5:f33d0ab82615 | 3 | |
shliu1 |
5:f33d0ab82615 | 4 | ### Import NuMaker-mbed-tcp from on-line IDE |
shliu1 |
5:f33d0ab82615 | 5 | 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform. |
shliu1 |
5:f33d0ab82615 | 6 | 2. Please press the left-up icon "New", then choose "NuMaker Ethernet TCP" from the template list. |
shliu1 |
5:f33d0ab82615 | 7 | 3. Your NuMaker-mbed-tcp program is existed. |
shliu1 |
5:f33d0ab82615 | 8 | |
shliu1 |
5:f33d0ab82615 | 9 | #### Now compile |
shliu1 |
5:f33d0ab82615 | 10 | Please press compile icon. |
shliu1 |
5:f33d0ab82615 | 11 | |
shliu1 |
5:f33d0ab82615 | 12 | #### Burn Code & Execute |
shliu1 |
5:f33d0ab82615 | 13 | 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk. |
shliu1 |
5:f33d0ab82615 | 14 | 2. Copy the built binary file into "mbed" disk on you PC. |
shliu1 |
5:f33d0ab82615 | 15 | 3. Press device's reset button to execute, and you could get the below log by uart console. |
shliu1 |
5:f33d0ab82615 | 16 | ------------------------------------------------------------------------------- |
shliu1 |
5:f33d0ab82615 | 17 | Start TCP test |
shliu1 |
5:f33d0ab82615 | 18 | 100 full |
shliu1 |
5:f33d0ab82615 | 19 | Link Up |
shliu1 |
5:f33d0ab82615 | 20 | TCP client IP Address is 10.28.10.14 |
shliu1 |
5:f33d0ab82615 | 21 | -------------------------------------------------------------------------- |
shliu1 |
5:f33d0ab82615 | 22 | User could use tool or "ping" command to test RX/TX of TCP. |
shliu1 |
5:f33d0ab82615 | 23 |