MMnet02_en.pdf
(
991 KB
)
Pobierz
M M n e t0 2
Ethernet Minimodule
User’s
Manual
R
REV 1.0
Many ideas one solution
Contents
1 INTRODUCTION
....................................................................................................................................... 3
A
PPLICATIONS
.............................................................................................................................................. 4
F
EATURES
.................................................................................................................................................... 4
2
CONSTRUCTION OF THE MODULE
............................................................................................... 5
B
LOCK DIAGRAM
.......................................................................................................................................... 5
M
ODULE PIN
-
OUT
......................................................................................................................................... 6
AT
MEGA
128
MICROCONTROLLER
............................................................................................................. 13
E
THERNET CONTROLLER
RTL8019AS
..................................................................................................... 13
M
EMORY CONTROLLER
.............................................................................................................................. 14
RAM
MEMORY
........................................................................................................................................... 19
D
ATA
F
LASH MEMORY
................................................................................................................................. 19
R
EAL
-
TIME CLOCK
...................................................................................................................................... 20
S
UPPLY OF POWER
.................................................................................................................................... 20
RESET
CIRCUIT
........................................................................................................................................ 20
LED
DIODES
............................................................................................................................................... 21
3
CONNECTION OF THE MODULE WITH THE EXTERNAL WORLD
....................................... 22
C
ONNECTION TO THE
E
THERNET NETWORK
............................................................................................. 22
RS-232
INTERFACE
................................................................................................................................... 23
RS-485
INTERFACE
................................................................................................................................... 23
USB
INTERFACE
........................................................................................................................................ 24
R
ADIO LINK
................................................................................................................................................. 24
LCD
DISPLAY
............................................................................................................................................. 25
E
XTERNAL PERIPHERALS ON THE SYSTEM BUS
......................................................................................... 26
4
PROGRAMMING THE MODULE
..................................................................................................... 27
ISP
CONNECTOR
........................................................................................................................................ 27
JTAG
CONNECTOR
.................................................................................................................................... 29
5
AN APPLICATION EXAMPLE
......................................................................................................... 30
6
EVALUATION BOARD
...................................................................................................................... 31
7
SPECIFICATIONS
.............................................................................................................................. 31
8
TECHNICAL ASSISTANCE
............................................................................................................. 32
9
GUARANTEE
...................................................................................................................................... 32
10
ASSEMBLY DRAWINGS
.............................................................................................................. 32
11
DIMENSIONS
.................................................................................................................................. 34
12
SCHEMATICS
................................................................................................................................. 34
1
Introduction
Thank you very much for having bought our minimodule
MMnet02
. 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 128kB of (external) RAM memory, co-operating with the Ethernet RTL8019AS controller
(10BaseT). The memory controller built around a programmable CPLD device manages the
address space of the microcontroller, generates address strobe/selection signals used during
extension of the server by external I/O units, and serves the banking of RAM memory. The
minimodule has an 8 MB 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. The MMnet02 has been equipped with a RTC clock built around the DS1307 device,
connected to the I2C bus. Together with the RTC circuit goes a socket for a lithium battery
providing many guaranteed years of uninterrupted clock operation.
MMnet02
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
MMnet02
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 MMnet02 minimodule.
3
Applications
The
MMnet02
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
MMnet02
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 10Mb/s
·
128kB of in circuit programmable FLASH program memory
·
128KB of RAM memory
·
4kB of EEPROM memory
Serial DataFlash memory 32 or 64Mbit (4 or 8MBytes)
(1)
·
·
Flexible memory controller, allowing suit address space to application requirements
I2C Real Time Clock and battery socket
(1)
·
·
Reliable reset circuit
·
Crystal resonator 14.7456 or 16 MHz
·
Crystal resonators 32.768 Hz for RTC and MCU internal timer/counter
·
4 LED diodes indicating: power, LAN activity, DataFlash activity
·
Fully SMD made on 4-layer PCB
·
2 x 32 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 43mm
Remarks:
1. Assembled in dependence on the MMnet02 version
4
2
Construction of the module
Block diagram
The block diagram of the MMnet02 minimodule is shown in the drawing:
Figure 1
Block diagram of the MMnet02 minimodule.
The minimodule is sold in three basic versions, denoted with letters from A to C, or in accordance with
individual orders.
Module
MMnet02- A
contains:
·
ATmega128 microcontroller
·
Ethernet controller RTL8019AS
·
128kB RAM
Module
MMnet02- B
contains:
·
ATmega128 microcontroller
·
Ethernet controller RTL8019AS
·
128kB RAM
·
One DataFlash 32Mb (4MB) memory
·
Real Time Clock with socket for lithium battery
Module
MMnet02- C
contains:
·
ATmega128 microcontroller
·
Ethernet controller RTL8019AS
·
128kB RAM
·
Two DataFlash memories with 64Mb (8MB) of total capacity
·
Real Time Clock with socket for lithium battery
5
Plik z chomika:
mikroprocesory
Inne pliki z tego folderu:
ADPmegaXXX_en.pdf
(67 KB)
AVR JTAG ICE User Guide.pdf
(539 KB)
EVBavr02_en.pdf
(640 KB)
EVBavr03_en.pdf
(663 KB)
EVBavr05_en.pdf
(604 KB)
Inne foldery tego chomika:
ARM
ARM Tools
AVR programy
AVR toolchain
EVB100
Zgłoś jeśli
naruszono regulamin