1295 - Lattice Mico System: Does Lattice provide TCP/IP network stack support for the TSMAC and MICO32?
Lattice Mico System: A TCP/IP network stack is not directly included with the TriSpeed MAC IP or Mico32 software. A software-based TCP/IP network stack called lwIP has been used in some Mico32 reference designs. lwIP is a light-weight implementation of the TCP/IP protocol suite that was originally written by Adam Dunkels. It is available as open source from lwIP Home Page.
An implementation of lwIP has been ported to the Mico32 CPU and provides the following network services:
IP (Internet Protocol) including packet forwarding over multiple network interfaces
ICMP (Internet Control Message Protocol) for network maintenance and debugging
UDP (User Datagram Protocol) including experimental UDP-lite extensions
TCP (Transmission Control Protocol) with congestion control, RTT estimation and fast recovery/fast retransmit
Specialized raw API for enhanced performance
Optional Berkeley-alike socket API
DHCP (Dynamic Host Configuration Protocol)
PPP (Point-to-Point Protocol)
ARP (Address Resolution Protocol) for Ethernet
lwIP is optimized for small code and data size. It is intended for embedded systems requiring very light-weight, low-overhead TCP/IP connectivity. It may not be suitable for every application. Example implementations of the lwIP TCP/IP stack can be found in the LatticeMico32 Tri-Speed Ethernet MAC Gigabit Demo.
Related Articles
TCP/IP Enablement Guide for CPNX GSRD v3.0
This Knowledge Article provides a quick, reader‑friendly overview of the Golden System Reference Design (GSRD) v3.0 TCP/IP Enablement Guide for CertusPro‑NX. The full guide walks through how to enable, modify, and run the built‑in TCP/IP capabilities ...
7009 - LatticeMicoSystem: Why does Lattice Mico System unable to find stdint.h library?
The version of gcc upon which Lattice Mico System is based is gcc 4.3.0 which is too old to include stdint.h. The only workaround is for user to create their own stdint.h file containing the typedefs and macros that the user's code require.
958 - Lattice Mico System: Can user deploy LatticeMico32 code to a non-volatile memory with the JTAG UART active?
Lattice Mico System: The LatticeMico32 Software Project Environment (SPE) provides a framework for interfacing to functions defined in the stdio.h library. Functions like fopen, fread, printf, and fclose are, by default, tied to the JTAG UART. The ...
3882 - Lattice Mico: Do iCE devices support LatticeMico8/LatticeMico32 Soft-Processor?
Solution: No, it does not. LatticeMico8/LatticeMico32 Soft-processor are not supported for iCE family devices.
3337 - Lattice Mico32 System: Can I integrate third party plugins ;like Tortoise Svn with LatticeMico System?
Currently LatticeMico System doesn’t support third party plugins. TortoiseSVN, is a third party plugin tool used with some main tools (such as Eclipse, Microsoft visual studio), but LatticeMico System is customized version of the Eclipse which ...