DS80C400 Maxim, DS80C400 Datasheet - Page 69

no-image

DS80C400

Manufacturer Part Number
DS80C400
Description
The DS80C400 network microcontroller offers the highest integration available in an 8051 device
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS80C400
Manufacturer:
DALLAS
Quantity:
748
Part Number:
DS80C400-FNY
Manufacturer:
DALLAS
Quantity:
85
Part Number:
DS80C400-FNY
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C400-FNY+
Manufacturer:
TDK-Lambda
Quantity:
34
Part Number:
DS80C400-FNY+
Manufacturer:
Maxim
Quantity:
3 861
Part Number:
DS80C400-FNY+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C400-FNY+
Manufacturer:
MAXI/DALLAS
Quantity:
20 000
Figure 11. Wake-Up Frame-Filter Structure
31
RESERVED
Embedded ROM Firmware
The DS80C400 incorporates an embedded ROM specifically designed for hosting the MxTNI™ runtime
environment and the MxTNI C libraries. The ROM firmware implements three major components: a full TCP/IPv4/6
stack with industry-standard Berkeley socket interface, a preemptive task scheduler, and NetBoot functionality. The
NetBoot component uses the TCP/IP stack, socket layer, and task scheduler to provide automatic network boot
capability. NetBoot allows an application to be downloaded from the network and executed by the microcontroller.
To use the ROM firmware, the system is required to have the following hardware components:
Note 1: Merged program/data memory configuration is required.
Note 2: Java applications and NetBoot require a DS2502(-E48). Applications written in C can program the MAC address.
Note 3: NetBoot functionality requires the external clock frequency to be at least 7MHz. The clock doubleris not turned on until after NetBoot,
thus 100Mbps NetBoot is not possible unless the external clock source is at least 25MHz. When not in NetBoot, the system clock (external clock
source after internal multiplication or division) must be a minimum of 25MHz for use of the Ethernet 100Mbps mode.
Selecting ROM Code Execution
The DS80C400, following each reset, begins execution of program code at address location 000000h. Since the
DS80C400 contains internal ROM and supports external program code, the user must select which of these two
program memory spaces should be accessed for initial program fetching. There are two mechanisms that control
selection of the internal DS80C400 ROM code. These two controls are the EA pin and the bypass ROM (BROM)
SFR bit. No matter the state of the BROM bit, if the EA pin is held at a logic low level, the ROM code is not entered
and is not accessible to the user code. If the EA pin is at a logic high level, the BROM bit is then examined to
determine whether the internal ROM firmware should be executed or bypassed. If BROM = 0, the ROM code is
executed. Otherwise (BROM = 1), the ROM is bypassed and execution is transferred to external user code at
address 000000h. The BROM bit defaults to 0 on a power-on reset, but is unaffected by other reset sources. This
code selection process can be seen in
DS80C400 ROM Code Execution Flow
Once the internal DS80C400 ROM code has been selected (EA = 1, BROM = 0), it must first execute some basic
configuration code to provide functionality to subsequent ROM operations. Next, the ROM code reads the state of
port pin P1.7. The ROM associates the logic state of P1.7 with the user desire to invoke the serial loader function. If
the serial loader pin (P1.7) is a logic 1, the ROM monitors for activity on serial port 0 and tries to respond to the
external host with its own serial banner. Once serial communication has been established at a supported baud
rate, signified by correct reception of the DS80C400 loader banner and prompt, the user can issue commands. The
serial loader commands are described later in the data sheet. If the serial loader pin is pulled to a logic 0, the ROM
reads the state of port pin P5.3. Much like the association made between P1.7 and invocation of the serial loader,
the ROM links the logic state of P5.3 with the user desire to begin the NetBoot process. If the NetBoot pin (P5.3) is
asserted (logic 0), the ROM initiates the NetBoot process. If the NetBoot pin is not asserted (logic 1), the ROM
executes the find-user-code routine to identify executable user code.
described above.
MxTNI is a trademark of Maxim Integrated Products, Inc.
FILTER 3 OFFSET
64kB SRAM external memory, mapped (Note 1) at address locations 000000h–00FFFFh
Memory (SRAM or flash) to store user-application code
DS2502(-E48) 1-Wire chip (to hold physical MAC address) (Note 2)
External crystal or oscillator (Note 3)
COMMAND
FILTER 3
FILTER 1 CRC-16
FILTER 3 CRC-16
RESERVED
FILTER 2 OFFSET
Figure
COMMAND
FILTER 2
FILTER 0 BYTE MASK
FILTER 1 BYTE MASK
FILTER 2 BYTE MASK
FILTER 3 BYTE MASK
12.
69 of 97
RESERVED
FILTER 1 OFFSET
COMMAND
FILTER 1
Figure 12
FILTER 0 CRC-16
FILTER 2 CRC-16
illustrates the ROM decisions
RESERVED
FILTER 0 OFFSET
COMMAND
FILTER 0
0

Related parts for DS80C400