Main page & What's new? Information and Services MPE Software MPE Hardware Development Hardware Free Downloads Pricelist Contact Us or Place an Order |
PowerNet TCP/IP StackLast updated 4 March 2008 Designed for Embedded Systems
Telnet to a single-chip microcontroller board PowerNet v4.2, the MPE TCP/IP stack software, is a Forth implementation of the TCP, UDP and IP Internet Protocol layers. The IP network protocol is one of the best supported systems available today on both Local and Wide Area Networks. The UDP Protocol allows for simple transmission and reception of data packets, is small and fast, and is useful for simpler and higher bandwidth applications. The TCP protocol is the heart of the Internet and high level networking. Using PowerNet, your applications can talk to a local PC or to remote systems all over the world. The changes in version 4.2 result from use of the stack in direct internet-facing devices which work in a hostile environment. N.B. The combination of PowerNet, PowerView and PowerFile/FATfiler permits the construction of fully web-enabled controllers that have low memory requirements and low power consumption. Applications using this stack include PABXs, ISDN routers, access control systems, vending machines, dataloggers and biometric scanners. PowerNet is regularly used with ARM, H8S and 68xxx CPUs. You can download the user manual. This and the code manual are supplied on the PowerNet CD. PowerNet has also been ported to VFX Forth for Windows using Winsock, and VFX Forth for Linux using the BSD API, providing the same features with very little source code change. The hosted versions of PowerNet also extends the web server to support SOAP. See VFX Forth for more details. Royalty Free No restrictions or hidden costs. Simply buy the software and use it. PowerNet requires a 32 bit Forth system as provided by the MPE Forth cross compilers. High degree of portability The PowerNet code can be reconfigured for different CPU targets via a simple set of definitions. The user simply needs to supply the hardware drivers required. Modular design The software is supplied with example drivers for both Ethernet and Serial interfaces. These drivers can form the template for any implementation. Small memory footprint Powernet uses a near copyless implementation for good performance and low memory footprint. PowerNet v4 is smaller and faster than previous releases. A full build on an ARM including the Forth open interpreter/compiler, RTOS support, three serial drivers, Ethernet driver, UDP and TCP, and Echo, Telnet and HTTP (with ASP, CGI and ForthScript) servers requires 116kb of ROM. With version 4, RAM usage has been reduced so that a complete Forth system with Ethernet, Telnet and a web server requires less than 16kb of RAM. Simple high level API PowerNet can use console I/O words such as Choice of transport layers PowerNet can support either direct Ethernet hardware or SLIP (Serial Line IP). Its routing table and despatch mechanisms permit a PowerNet system to have several I/O ports of different types, including Ethernet and SLIP ports with IP forwarding. Web Server PowerNet multi-threaded HTTP implementation allows your embedded applications to serve Web pages. CGI and ASP facilities are provided, and the underlying Forth interpreter may be used (at your discretion) as part of the ForthScript system. Application hooks allow: pages to be stored in memory, DataFlash or in files; user defined authentication; user defined scripting. Telnet PowerNet multi-threaded Telnet implementation allows your embedded applications to be remotely managed across the network with a user-defined level of access to the embedded Forth interpreter. Hooks are provided for user-defined server announcement messages and login. Any standard Telnet client such as the Windows Telnet client or HyperTerminal Personal Edition may be used. Client code Client-side code has not been neglected. Example files show you how to connect to a remote web server, transfer data to and from, and even to download and program a new firmware image. Example client configuration code shows you how to simplify production configuration. DHCP PowerNet support for DHCP allows units to configure their own IP address from a local DHCP server such as the one in nearly all routers. A consequence is that IP addresses need not be configured during production and installation. For systems that do not have a DHCP server, it is possible to fall back to the APIPA (Automatic Private IP assignment) protocol used by Microsoft Windows. SNTP The SNTP client permits you to set the time of day clock from a remote site. If you need more precision, user-definable hooks allow you to perform clock synchronisation to the microsecond level. Configuration tools PowerNet provides tools for storage of application data such as unit serial number and identifier in EEPROM or Flash. These tools can also be used for production configuration and system installation. ICMP support PowerNet support for ICMP protocol allows for quick and easy network testing via the industry standard PING program. TFTP support PowerNet support for the TFTP protocol allows your embedded applications to be remotely updated across a network or the Internet. PowerNet consists of:
Change HistoryPowerNet v4.2 has additional security features and protection for internet-facing devices. Despite the changes, the footprint change is only an increase of 400 bytes of code and four bytes of RAM. PowerNet v4.0 introduced DHCP and SNTP, additional client-side code, production configuration tools, and reduced RAM usage. Use of UDP has been enhanced by the use of a user-extensible port chain. PowerNet v3.0 was a major upgrade from earlier versions, and incorporates the improvements from six years of field experience, plus performance and code size improvements. In particular the multi-threaded server architecture in PowerNet v3.0 is completely new. |