This project contains a basic network stack and shell for the Tiva C-series microcontrollers. The shell contains the following commands:
- ping - Pings and IPv4 address.
- arp - Looks up the IPv4 address of a MAC address.
- raw - Toggles raw printing of Ethernet frames.
- ipconfig - Displays IPv4 configuration.
- setip - Sets IPv4 address.
- setsub - Sets IPv4 subnet.
- setgw - Sets IPv4 gateway.
- help - Prints available comands.
- uptime - Reports time that Tiva has been on the network.
Please see our full project report here.
Target uC: TM4C123GH6PM System Clock: 40 MHz
- MOSI (SSI2Tx) on PB7 (ST)
- MISO (SSI2Rx) on PB6 (SO)
- SCLK (SSI2Clk) on PB4
- ~CS connected to PB1
These are the driver files for the ENC28J60 SPI Ethernet board, originally copied from https://github.com/nihit30/ENC28J60-Library. Several modifications have been made to the source.
Has functions for configuring the hardware peripherals.
Contains interrupt service routines for timers, UART, etc.
One function for flashing the LEDs.
Contains formatted print functions for various structs used in the application.
Routines for adding and parsing commands to the shell.
Routines for resetting the timers.