Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

tini400_xnetboot.h File Reference


Detailed Description

External NetBoot library for the DS80C400.

The External Netboot library contains netboot code that can be invoked independently from the ROM. This library provides the latest NetBoot code that adds the following features: Improves TBIN2 loading to work with files larger than 64KB, disables all multicast traffic reception to improve reliability, supports the DS2502 and the DS1982 to hold a MAC ID (in addition to the DS2502-E48), supports setting the clock multiplier for improved performance, supports acquiring a DHCP IP from the Netgear WGT624 router.

This library works with IPv4 only.

The External Netboot library cannot reprogram the same flash chip it is running from, i.e. you need two separate flash memories.

You can use the library from assembly language - set r7 to the desired clock multiplier and jump to the XNETBOOT symbol.

EXTERN ECODE(XNETBOOT) mov r7, #2 ljmp XNETBOOT

Warning:
Note that debug symbols have to be turned off in order to avoid a linker error (the linker cannot handle line numbers greater than 65534 and will return an "L220" error when debug symbols are enabled).

Go to the source code of this file.

Defines

#define TINI400_XNETBOOT_VERSION   2

Functions

unsigned int xnetboot_version (void)
 Returns the version number of this XNETBOOT library.
void xnetboot_boot (unsigned char multiplier)
 Starts NetBoot.


Define Documentation

#define TINI400_XNETBOOT_VERSION   2
 

Version number associated with this header file. Should be the same as the version number returned by the xnetboot_version function.

See also:
xnetboot_version


Function Documentation

void xnetboot_boot unsigned char  multiplier  ) 
 

Starts NetBoot.

This function starts NetBoot and does not return to the caller.

Parameters:
multiplier The argument multiplier sets the clock multiplier (1, 2, or 4).

unsigned int xnetboot_version void   ) 
 

Returns the version number of this XNETBOOT library.

Returns:
Version number of this XNETBOOT library.


Copyright 2005 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.