MMnet101_en.pdf

(759 KB) Pobierz
M M n e t1 0 1
Ethernet Minimodule
User’s
Manual
R
REV 0.9
Many ideas one solution
924275008.362.png 924275008.373.png 924275008.384.png 924275008.395.png 924275008.001.png 924275008.012.png 924275008.023.png 924275008.034.png 924275008.045.png 924275008.056.png 924275008.067.png 924275008.078.png 924275008.089.png 924275008.100.png 924275008.110.png 924275008.121.png 924275008.132.png 924275008.143.png 924275008.154.png 924275008.165.png 924275008.176.png 924275008.187.png 924275008.198.png 924275008.209.png 924275008.220.png 924275008.231.png 924275008.242.png 924275008.253.png 924275008.264.png 924275008.275.png 924275008.286.png 924275008.297.png 924275008.308.png 924275008.319.png 924275008.330.png 924275008.341.png 924275008.344.png 924275008.345.png 924275008.346.png 924275008.347.png 924275008.348.png 924275008.349.png 924275008.350.png 924275008.351.png 924275008.352.png 924275008.353.png 924275008.354.png 924275008.355.png 924275008.356.png 924275008.357.png 924275008.358.png 924275008.359.png 924275008.360.png 924275008.361.png 924275008.363.png 924275008.364.png 924275008.365.png 924275008.366.png 924275008.367.png 924275008.368.png 924275008.369.png 924275008.370.png 924275008.371.png 924275008.372.png 924275008.374.png 924275008.375.png 924275008.376.png 924275008.377.png 924275008.378.png 924275008.379.png 924275008.380.png 924275008.381.png 924275008.382.png 924275008.383.png 924275008.385.png 924275008.386.png 924275008.387.png 924275008.388.png 924275008.389.png 924275008.390.png 924275008.391.png 924275008.392.png 924275008.393.png 924275008.394.png 924275008.396.png 924275008.397.png 924275008.398.png 924275008.399.png 924275008.400.png 924275008.401.png 924275008.402.png 924275008.403.png 924275008.404.png 924275008.405.png 924275008.002.png 924275008.003.png 924275008.004.png 924275008.005.png 924275008.006.png 924275008.007.png 924275008.008.png 924275008.009.png 924275008.010.png 924275008.011.png 924275008.013.png 924275008.014.png 924275008.015.png 924275008.016.png 924275008.017.png 924275008.018.png 924275008.019.png 924275008.020.png 924275008.021.png 924275008.022.png 924275008.024.png 924275008.025.png 924275008.026.png 924275008.027.png 924275008.028.png 924275008.029.png 924275008.030.png 924275008.031.png 924275008.032.png 924275008.033.png 924275008.035.png 924275008.036.png 924275008.037.png 924275008.038.png 924275008.039.png 924275008.040.png 924275008.041.png 924275008.042.png 924275008.043.png 924275008.044.png 924275008.046.png 924275008.047.png 924275008.048.png 924275008.049.png 924275008.050.png 924275008.051.png 924275008.052.png 924275008.053.png 924275008.054.png 924275008.055.png 924275008.057.png 924275008.058.png 924275008.059.png 924275008.060.png 924275008.061.png 924275008.062.png 924275008.063.png 924275008.064.png 924275008.065.png 924275008.066.png 924275008.068.png 924275008.069.png 924275008.070.png 924275008.071.png 924275008.072.png 924275008.073.png 924275008.074.png 924275008.075.png 924275008.076.png 924275008.077.png 924275008.079.png 924275008.080.png 924275008.081.png 924275008.082.png 924275008.083.png 924275008.084.png 924275008.085.png 924275008.086.png 924275008.087.png 924275008.088.png 924275008.090.png 924275008.091.png 924275008.092.png 924275008.093.png 924275008.094.png 924275008.095.png 924275008.096.png 924275008.097.png 924275008.098.png 924275008.099.png 924275008.101.png
 
Contents
1 INTRODUCTION ....................................................................................................................................... 4
A PPLICATIONS .............................................................................................................................................. 5
F EATURES .................................................................................................................................................... 5
2
CONSTRUCTION OF THE MODULE ............................................................................................... 5
B LOCK DIAGRAM .......................................................................................................................................... 5
M ODULE PIN - OUT ......................................................................................................................................... 7
AT MEGA 128 MICROCONTROLLER ............................................................................................................. 13
E THERNET CONTROLLER LAN91C111 ..................................................................................................... 13
M EMORY CONTROLLER .............................................................................................................................. 14
RAM MEMORY ........................................................................................................................................... 15
D ATA F LASH MEMORY ................................................................................................................................. 15
RESET CIRCUIT ........................................................................................................................................ 16
LED DIODES ............................................................................................................................................... 16
3
CONNECTION OF THE MODULE WITH THE EXTERNAL WORLD ....................................... 17
C ONNECTION TO THE E THERNET NETWORK ............................................................................................. 17
RS-232 INTERFACE ................................................................................................................................... 18
RS-485 INTERFACE ................................................................................................................................... 18
USB INTERFACE ........................................................................................................................................ 19
R ADIO LINK ................................................................................................................................................. 19
LCD DISPLAY ............................................................................................................................................. 20
4
PROGRAMMING THE MODULE ..................................................................................................... 20
ISP CONNECTOR ........................................................................................................................................ 20
JTAG CONNECTOR .................................................................................................................................... 22
5
AN APPLICATION EXAMPLE ......................................................................................................... 23
6
EVALUATION BOARD ...................................................................................................................... 23
7
SPECIFICATIONS .............................................................................................................................. 24
8
TECHNICAL ASSISTANCE ............................................................................................................. 24
9
GUARANTEE ...................................................................................................................................... 24
10
ASSEMBLY DRAWINGS .............................................................................................................. 25
11
DIMENSIONS .................................................................................................................................. 26
12
SCHEMATICS ................................................................................................................................. 26
1 Introduction
Thank you very much for having bought our minimodule MMnet101 . It was created with the idea
of facilitating the communication of microprocessor systems through the Internet/Ethernet
networks.
The heart of the module is the RISC Atmega128 microcontroller with 128kB of program memory
and 64kB of (external) RAM memory, co-operating with the Ethernet LAN91C111 controller
(100BaseTX). The minimodule has an 512kB DataFlash serial memory for storage of WWW
pages and of any files e.g. with measurement data. The memory is connected to a fast SPI bus
with 8 Mb/s transmission speed.
MMnet101 operates under real-time control RTOS allowing to build applications with the use of
pseudo-concurrency in which different tasks are started and executed in the form of separate
threads. This permits an easy construction of applications which require parallel execution of
several tasks, for example servicing the TCP/IP stack and realizing the algorithm of control of an
industrial process. The RTOS system has an extended interface for handling peripheral
equipment, thanks to which the communication with them occurs via drivers registered in the
system. The system has drivers for the Ethernet controller, serial ports, the 1-Wire bus, the DS
1820 thermometer, LCD display RTC clock and DataFlash memory. The kernel of the RTOS
system and the TCP/IP stack together with implemented DHCP, UDP, ICMP, SMTP protocols and
HTTP with simple CGI-s were compiled to libraries.
The system incorporates a series of demonstration applications (WWW server, FTP, Telnet, TCP
client, TCP server, temperature monitoring and control, applications in the RTOS system) which
are basing on completed functions present in the IP stack and RTOS operating system libraries.
Attached libraries permit independent experiments (e.g. creation of web pages using the CGI
technique without penetrating the lower layers of the IP stack and the RTOS operating system).
The MMnet101 is delivered loaded with the WWW Server application and WWW demonstration
pages with examples of using CGI and Flash. The configuration of the server (MAC address, IP,
gateway, change of WWW page) can be effected remotely through serial RS232 or FTP ports.
Sources in C-language and ready libraries are attached to the server; they can be used to realize
one’s own projects. To modify and compile, the free C-compile GCC or C-compiler from
ImageCraft can be put into use.
We wish you nothing but success and a lot of satisfaction in designing and
developing new electronic equipment based on the MMnet101 minimodule.
4
924275008.102.png 924275008.103.png 924275008.104.png 924275008.105.png 924275008.106.png 924275008.107.png 924275008.108.png 924275008.109.png 924275008.111.png 924275008.112.png 924275008.113.png 924275008.114.png 924275008.115.png 924275008.116.png 924275008.117.png 924275008.118.png 924275008.119.png 924275008.120.png 924275008.122.png 924275008.123.png 924275008.124.png 924275008.125.png 924275008.126.png 924275008.127.png 924275008.128.png 924275008.129.png 924275008.130.png 924275008.131.png 924275008.133.png 924275008.134.png 924275008.135.png 924275008.136.png 924275008.137.png 924275008.138.png 924275008.139.png 924275008.140.png 924275008.141.png 924275008.142.png 924275008.144.png 924275008.145.png 924275008.146.png 924275008.147.png 924275008.148.png 924275008.149.png 924275008.150.png 924275008.151.png 924275008.152.png 924275008.153.png 924275008.155.png 924275008.156.png 924275008.157.png 924275008.158.png 924275008.159.png 924275008.160.png 924275008.161.png 924275008.162.png 924275008.163.png 924275008.164.png 924275008.166.png 924275008.167.png 924275008.168.png 924275008.169.png 924275008.170.png 924275008.171.png 924275008.172.png 924275008.173.png 924275008.174.png 924275008.175.png 924275008.177.png 924275008.178.png 924275008.179.png 924275008.180.png 924275008.181.png 924275008.182.png 924275008.183.png 924275008.184.png 924275008.185.png 924275008.186.png 924275008.188.png 924275008.189.png 924275008.190.png 924275008.191.png 924275008.192.png 924275008.193.png 924275008.194.png 924275008.195.png 924275008.196.png 924275008.197.png 924275008.199.png 924275008.200.png 924275008.201.png 924275008.202.png 924275008.203.png 924275008.204.png 924275008.205.png 924275008.206.png 924275008.207.png 924275008.208.png 924275008.210.png 924275008.211.png 924275008.212.png 924275008.213.png 924275008.214.png 924275008.215.png 924275008.216.png 924275008.217.png 924275008.218.png 924275008.219.png 924275008.221.png
Applications
The MMnet101 minimodule can be used as a design base for electronic circuits co-operating from the
Ethernet/Internet network, covering the following areas of interest:
·
Industrial remote controlling and monitoring systems
·
Telemetry
·
Intelligent buildings
·
Alarm systems
·
Weather stations and environment monitoring
·
Medical electronics
·
Heating and air-conditioning systems
·
Telecommunication
·
Road traffic monitoring
·
Remote data logging
·
Home automation
The MMnet101 minimodule can be also used in didactic workshops of information and electronic schools,
illustrating the aspects of co-operation of electronic circuits from the Ethernet/Internet network, as well as be
used to construct thesis circuits.
Features
·
Fast RISC microcontroller ATmega128 with up to 16 MIPS throughput
·
Ethernet controller IEEE 802.3 10/100Mb/s LAN91C111
·
128kB of in circuit programmable FLASH program memory
·
64KB of RAM memory
·
4kB of EEPROM memory
·
Serial DataFlash memory 4Mbits (512kBytes)
·
Reliable reset circuit
·
Crystal resonator 14.7456 or 16 MHz
·
4 LED diodes indicating: power, LAN activity, DataFlash activity
·
Fully SMD made on 4-layer PCB
·
1 x 20 terminals with 0.1" (2.54mm) pitch fitting every prototype board
·
Available free operating system with TCP/IP stack supporting many protocols
·
Available evaluation board and sample applications
·
Small dimensions: 56mm x 30.5mm
2
Construction of the module
Block diagram
The block diagram of the MMnet101 minimodule is shown in the drawing:
5
924275008.222.png 924275008.223.png 924275008.224.png 924275008.225.png 924275008.226.png 924275008.227.png 924275008.228.png 924275008.229.png 924275008.230.png 924275008.232.png 924275008.233.png 924275008.234.png 924275008.235.png 924275008.236.png 924275008.237.png 924275008.238.png 924275008.239.png 924275008.240.png 924275008.241.png 924275008.243.png 924275008.244.png 924275008.245.png 924275008.246.png 924275008.247.png 924275008.248.png 924275008.249.png 924275008.250.png 924275008.251.png 924275008.252.png 924275008.254.png 924275008.255.png 924275008.256.png 924275008.257.png 924275008.258.png 924275008.259.png 924275008.260.png 924275008.261.png 924275008.262.png 924275008.263.png 924275008.265.png 924275008.266.png 924275008.267.png 924275008.268.png 924275008.269.png 924275008.270.png 924275008.271.png 924275008.272.png 924275008.273.png 924275008.274.png 924275008.276.png 924275008.277.png 924275008.278.png 924275008.279.png 924275008.280.png 924275008.281.png 924275008.282.png 924275008.283.png 924275008.284.png 924275008.285.png 924275008.287.png 924275008.288.png 924275008.289.png 924275008.290.png 924275008.291.png 924275008.292.png 924275008.293.png 924275008.294.png 924275008.295.png 924275008.296.png 924275008.298.png 924275008.299.png 924275008.300.png 924275008.301.png 924275008.302.png 924275008.303.png 924275008.304.png 924275008.305.png 924275008.306.png 924275008.307.png 924275008.309.png 924275008.310.png 924275008.311.png 924275008.312.png 924275008.313.png 924275008.314.png 924275008.315.png 924275008.316.png 924275008.317.png 924275008.318.png 924275008.320.png 924275008.321.png 924275008.322.png 924275008.323.png 924275008.324.png 924275008.325.png 924275008.326.png 924275008.327.png 924275008.328.png 924275008.329.png 924275008.331.png 924275008.332.png 924275008.333.png 924275008.334.png 924275008.335.png 924275008.336.png 924275008.337.png 924275008.338.png 924275008.339.png 924275008.340.png 924275008.342.png 924275008.343.png
Zgłoś jeśli naruszono regulamin