| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
RM0319 Datasheet(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0319 Datasheet(HTML) 51 Page - STMicroelectronics |
|
51 / 368 page ![]() RM0319 BootROM Doc ID 022640 Rev 3 51/368 5.6.7 Ethernet boot Ethernet boot mode is supported via the MII0 interface of the SPEAR320S. There are two different Ethernet boot modes: ● Ethernet I2C boot mode ● Ethernet SPI boot mode The only difference between these two modes is the underlying protocol used to read the MAC address from EEPROM. The modes are selected by setting the booting pins (see Section 5.3). ● In Ethernet I2C boot mode, the device tries to read the MAC address from the EEPROM using the I2C protocol. The EEPROM is assumed to be present at I2C address 0x50. ● In Ethernet SPI boot mode, the device tries to read the MAC address from the EEPROM using the SPI protocol. EEPROM is assumed to be on CS 0. For both types of EEPROMs, BootROM first tries to see if it contains a valid MAC address or not. This is determined by reading two bytes from offset 0 (in both cases). For a MAC address to be valid, the first byte should be 0x55 and the subsequent byte should be 0xAA. Otherwise, it considers the MAC address stored in EEPROM as valid and reads it. So, the next 6 bytes (from offset 0x2 in the EEPROM) are considered as the MAC address and the booting proceeds further. Pictorially, for EEPROM to have a valid MAC address its contents should be: Address offset Contents Note: If there is no EEPROM present on the board or the MAC address is invalid, the device uses the default MAC address 00:80:E1:00:55:01 Additionally, Ethernet boot mode uses the following two protocols: ● DHCP: To acquire configuration information, such as IP address, default route and TFTP server IP address ● TFTP: To receive X-Loader and U-Boot images Once the device has its own IP, it can communicate with the TFTP server to download the images and execute them. The first image which is downloaded is X-Loader. It is responsible for initializing the PLLs and DDR memory. The U-Boot image is downloaded and run after X-Loader has completely run. The boot mode flow is described below. (see also Figure 14): 1. Once the SPEAr device gets the MAC address, it initiates the DHCP protocol and broadcasts a DHCP DISCOVER message. 2. The DHCP server (in the network) must be configured to recognize the MAC address that the device uses so that it can respond with appropriate network parameters (IP address, default Gateway, subnet mask and TFTP SERVER IP). So, in response to 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x55 0xAA MAC01 MAC02 MAC03 MAC04 MAC05 MAC06 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |