This project implements a TCP/IP stack using the Berkeley API wrapper. The SAME54 Curiosity Ultra acts as a TCP Server and transmits a continuous stream of data to a client. The client program is implemented in C.
- SAME54 Curiosity Ultra Development Board
- KSZ8061 PHY Daughter Board
The project has been tested in the following versions:
- MPLABX IDE v6.15
- XC32 v2.50
- Harmony3
- csp v3.13.1
- core v3.11.1
- dev_packs v3.13.0
- littlefs v2.6.0
- wolfssl v4.7.0
- net v3.10.0
- crypto v3.7.6
- Mount the KSZ8061 module to the Ethernet PHY Module slot (J800 to J803)
- Connect USB cable for programming and power
- Connect an ethernet cable from the KSZ8061 to the host computer running the client application.
The SAME54 TCP server should start up as soon as power is applied.
- Open a terminal application such as PuTTY or TeraTerm.
- Power up the SAME54 Curiosity Ultra. The following should show:
- From the client machine, compile the client program with
gcc -o client berkeleyAPIclient.c
- Run the client with
./client
- The client program will echo the data being sent by the server. This may be further verified by observing the Wireshark capture. It should be similar to the stream below: