Excellence in Low-Power
The way MICOM/DSP should be
w
ELECTRONICS
m KS32C5000(A)/KS32C50100 o .c 32-bit RISC Microcontroller U for t4 Solution e Network e h S ta a om .c .D 4U w et w he aS
Mar. 1999
w
w
w
.D
at
Contents
n
Network Protocol
n n n n
What is Network ? OSI Reference Model and TCP/IP TCP/IP Networking Software & Basic Protocol Real-time Operating System
n
Real-time Operating System
n n n n
Developping System with pSOSystem pSOSystem BSP Developping System with Nucleus Nucleus H/W Device Driver
n
Applicable System with SAMSUNG’s NetMCU
n n n n
Managed HUB Managed Switching HUB Router / Layer-3 Switching Printer Server
n n n
Network Printer Cable Modem UPS Management Controller
ELECTRONICS
Net MCU
What is Network ?
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
Network Components
l
Hosts
l
• Any computing system that is attached to an internet Networks • Collection of two or more hosts that are interconnected using a particular form of data link technology
Router
l
• The device that provides connectivity between the various indivisual networks
n
Physical Network Technologies
l
Local Area Network (LAN)
l
• High speed, short distance • Ethernet, Token Ring, FDDI Wide Area Network (WAN) • Low speed, global networks, long distance • X.25, ISDN with HDLC
3
ELECTRONICS
Net MCU
OSI Reference Model and TCP/IP
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
OSI Reference Model
l
7 Layer for provides connectivity between the various indivisual networks
n
TCP/IP Networking Software l TCP/IP networking software provides a unified interface that is independent of the various indivisual networks
OSI Model Layers
Application Layer Presentation Layer Session Layer Transport Layer Network Layer Data Link Layer Physical Layer
Socket & Application Layer UDP TCP IP (Internet Protocol) NI (Network Interface) MAC(MEDIA ACCESS CONTROL)
MII PHY MDI MEDIUM
S/W H/W
ELECTRONICS
4
Net MCU
TCP/IP Networking Software & Basic Protocol
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
Network Interface Layer
l l
H/W MAC Driver ARP (Address Resolution Protocol)
• Mapping Internet address to physical network address Obtain Internet address from physical network address
l
RARP (Reverse Address Resolution Protocol)
•
n
IP (Internet Protocol) Layer
l l
Routing, Fragmentation, Reassembly of Datagrams ICMP Protocol
• Error report and network management tasks
n
Transport Layer
l
TCP (Transmission Control Protocol)
• Deliver packet by connection-oriented method Deliver packet by connectionless method
l
UDP (User Datagram Protocol)
•
n n
Socket Layer
l
Application Programming Interface TFTP, FTP, TELNET, DNS, NFS, RPC, SMTP, SNMP
5
Application Layer
l
ELECTRONICS
Net MCU
Real-time Operating System (RTOS)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
Why we need RTOS ? l Task management l Memory allocation l Interrupt completion service l Easy to develop application system that has network interface What kind of RTOS is supported for SAMSUNG’s NetMCU ? l pSOS+ (ISI) l Nucleus (ATI)
n
n
Where can we get H/W device driver for RTOS ?
l
Samsung WEB-Site : www.samsungsemi.com
n
How can we use the H/W device driver ?
l
After download the H/W device driver from Samsung WEB site, you should extract and rebuild again for your purpose
6
ELECTRONICS
Net MCU
Developping System with pSOSystem
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
pSOSystem Components
l l l l
pSOS+ : Single Processor Kernel pSOS+m : Multiprocessor Kernel pROBE+ : Target Based Debugger pHILE+ : File Management
l l l l
pNA+ : TCP/IP Networking PPP pREPC+ : ANSI C Run-time Library Drivers/Board Support Package(BSP)
n
pSOSystem Debugging Environments l S/W Debugging Environments
• pROBE+ ROM : Target Based Debugger interface ROM Ü Customer can get from Samsung WEB site and ISI • pRISM+ : Debugger interface running on host system Ü Customer should pay charge to ISI
l
H/W Debugging Environments
• Embedded-ICE Ü Customor can get from ARM agent • ARM SDT(Software Development Toolkit) Ü Customor can get from ARM agent
ELECTRONICS
7
Net MCU
pSOSystem BSP(Board Support Package)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
What is pSOSystem BSP(Board Support Package) ?
l
H/W device driver for pSOS system • Timer • Serial Driver (UART, HDLC) • MAC Driver
pROBE+
Net Utility (pSH+, TELNET, FTP)
pREPC+ pROBE+ Interface Driver Terminal Driver DISI Serial Driver UART0 UART1 HDLCA
pNA+(TCP/IP, UDP)
pHILE+ (RamDISK)
SLIP/PPP
BSP
Ethernet Driver HDLCB MAC DRAM
ELECTRONICS
8
Net MCU
Developping System with Nucleus
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
Nucleus Components
l l l
Kernel NET4.0 : TCP/IP Protocol stack Extended Protocol Package for Nucleus NET
l l
PPP File System
n
Nucleus Debugging Environments l S/W Debugging Environments
• UDB
Ü
Not supported yet
l
H/W Debugging Environments
• Embedded-ICE Ü Customor can get from ARM agent • ARM SDT(Software Development Toolkit) Ü Customor can get from ARM agent
n
Supports
l l l
Samsung : H/W Device Driver for Nucleus ATI : All Nucleus stack Application : Application designer (Customer side)
9
ELECTRONICS
Net MCU
Nucleus H/W Device Driver
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
H/W device Driver for Nucleus
• Timer • Serial Driver (UART, HDLC) • MAC Driver
Net Utility (TFTP, TELNET, FTP)
NET4.0(TCP/IP, UDP)
RamDISK Driver
Terminal Driver
PPP
H/W device Driver
UART0
Ethernet Serial Driver Driver HDLCB MAC DRAM
UART1
HDLCA
l
PMAKE
ELECTRONICS
10
Net MCU
Applicable System with SAMSUNG’s NetMCU
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n n n
n n
Managed HUB Managed Switching HUB Router / Layer-3 Switching l Modem Router l IP Router / IP Sharing l ISDN Router l ADSL Router Printer Server Network Printer
n n
Cable Modem UPS Management Controller
ELECTRONICS
11
Net MCU
Network Topology
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
n
Network Topology l The physical and/or electrical configuration of cabling and connections comprising a network -- the shape of the system. l Bus, Star, Mesh, Ring, Star
n
Star Topology
l l
Most popular each device has its own cable run connecting the device to a common hub or concentrator. Only one device is permitted to use each port on the hub.
ELECTRONICS
12
Net MCU
Single Speed Managed HUB (10MBps)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
Console UART MAC 10M 7-wire I/F PHY AUI I/F 10M 7-Wire HDLC System Manager HDLC
Boot ROM DRAM
AUI port
Serial Management Serial Management
AUI I/F TP Ports
10M IRB
AUI I/F TP Ports
10M IRB
AUI I/F TP Ports
10M IRB
RIC 10Mbps only TP port
RIC
RIC
ELECTRONICS
13
Serial Management
Net MCU
Single Speed Managed HUB (100MBps)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
System Console UART MAC HDLC Manager HDLC
Boot ROM DRAM
2 PHY PHY MII I/F 100M TP 100MBps Up-load TP port
PHY configuration MII port
Serial Management Serial Management
MII I/F TP Ports
100M IRB
MII I/F TP Ports
100M IRB
MII I/F TP Ports
100M IRB
RIC
RIC 100Mbps only TP port
RIC
ELECTRONICS
14
Serial Management
Net MCU
Dual Speed Managed HUB (10/100MBps)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
System
Boot ROM DRAM
Console
UART MAC HDLC
Manager HDLC
Bridge Chip
DRAM I/F MII I/F MII I/F
DRAM
10Mbps I/F
100Mbps I/F
Serial Management
Serial Management
100M IRB
MII I/F TP Ports
10M IRB
100M IRB
MII I/F TP Ports
10M IRB
100M IRB
MII I/F TP Ports
10M IRB
RIC
RIC 10/100Mbps TP dual speed port
RIC
ELECTRONICS
15
Serial Management
Up/Down Selectable 10/100 TP Port
Net MCU
Managed Switching HUB (10/100MBps)
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
Boot ROM
Console
UART MAC System Manager
DRAM
Glue Logic
Switch Controllr
System Bus
DRAM
Management
Management
Switch Engine Quad MAC PHY(MII) I/F
Switch Engine Quad MAC PHY(MII) I/F
Switch Engine Quad MAC PHY(MII) I/F
Quad PHY
Quad PHY 10/100Mbps TP dual speed port
Quad PHY Up/Down Selectable 10/100 TP Port
ELECTRONICS
16
Management
Net MCU
Excellence in Low-Power The way MICOM/DSP should be
Router
SYSTEM MCU
n
Function l Multiple LAN users to access the Internet simultaneously, using a single IP address through a 33.6k/56kb or ISDN modems. l World Wide Web (WWW) for setup with your Router l Supports BOOTP/DHCP for automatic IP address assignment l Standard 10/100 BaseT network interface with 4 port HUB.
n
Software for Router
l
TCP/IP stack
• • • • UDP TCP ICMP ARP/RARP
l l l l l l l
l l l
Routing Database RIP DNS resolver
Packet filtering Network Address Translation (NAT) PPP (PAP/CHAP/LCP), ML-PPP Dynamic/static IP support SNMP HTTP BOOTP/DHCP
ELECTRONICS
17
Net MCU
Asynchronous Modem Router
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
Console UART MAC 10M 7-wire I/F PHY AUI I/F 10M 7-Wire External I/O port AUI I/F 10M IRB External UART (PC16x50) System Manager
Boot ROM DRAM
TP Ports 10MbpsTP port RS232 I/F
External Asynchronous Modem
Telephone Line
ELECTRONICS
18
Net MCU
Synchronous Modem Router
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
Net MCU
Console UART MAC 10M 7-wire I/F PHY AUI I/F 10M 7-Wire V.35 I/F Chip HDLC System Manager HDLC
Boot ROM DRAM
AUI I/F
10M IRB V.35 I/F
DSU/CSU
T1/E1 line
TP Ports
External
10MbpsTP port V.35 I/F
Synchronous Modem
Telephone line
ELECTRONICS
19
Net MCU
ISDN Reference Model
SYSTEM MCU
Excellence in Low-Power The way MICOM/DSP should be
R S T U 18K feet U V
TE2
TA NT2 NT1 ISDN Network LT ET
PC/ V.34 Modem/ FAX
TE1
ISDN Device
PBX
En