bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
26
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
3.2.4 Part [FLASH]
The Telnet interface supports programming and erasing of flash memories. The bdiWind system has
to know which type of flash is used, how the chip(s) are connected to the CPU and which sectors to
erase in case the ERASE command is entered without any parameter.
CHIPTYPE type
This parameter defines the type of flash used. It is used to select the cor-
rect programming algorithm.
Note: A workspace is necessary for STRATA, MIRROR, AT29, MPC5xx.
format
AM29F, AM29BX8, AM29BX16, I28BX8, I28BX16,
AT49, AT49X8, AT49X16, STRATAX8, STRATAX16,
AT29X8, AT29X16,
MIRROR, MIRRORX8, MIRRORX16,
M58X32, AM29DX16, AM29DX32
AM29BDDX16, AM29BDDX32
MPC555, MPC555SHD, MPC565, MPC565SHD
Example:
CHIPTYPE AM29F
CHIPSIZE size
The size of one flash chip in bytes (e.g. AM29F010 = 0x20000). This value
is used to calculate the starting address of the current flash memory bank.
For MPC5xx internal flash, this parameter is not used.
size
the size of one flash chip in bytes
Example:
CHIPSIZE 0x80000
BUSWIDTH width
Enter the width of the memory bus that leads to the flash chips. Do not en-
ter the width of the flash chip itself. The parameter CHIPTYPE carries the
information about the number of data lines connected to one flash chip.
For example, enter 16 if you are using two AM29F010 to build a 16bit flash
memory bank.
For MPC5xx internal flash, this parameter is not used.
with
the width of the flash memory bus in bits (8 | 16 | 32)
Example:
BUSWIDTH 16
FILE filename
The name of the file to program into the flash. This name is used to access
the file via TFTP. If the filename starts with a $, this $ is replace with the
path of the configuration file name. This name may be overridden interac-
tively at the Telnet interface.
filename
the filename including the full path or $ for relative path.
Example:
FILE F:\gnu\mpc\bootrom.hex
FILE $bootrom.hex
FORMAT format [offset]
The format of the file and an optional address offset. The optional param-
eter "offset" is added to any load address read from the program file.
format
SREC, BIN, AOUT, ELF or IMAGE
Example: FORMAT
SREC
FORMAT ELF 0x10000