bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
27
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
WORKSPACE address
If a workspace is defined, the BDI uses a faster programming algorithm
that runs out of RAM on the target system. Otherwise, the algorithm is pro-
cessed within the BDI. The workspace is used for a 1kByte data buffer and
to store the algorithm code. There must be at least 2kBytes of RAM avail-
able for this purpose. Programming MPC5xx internal flash also needs a
workspace in target RAM. A workspace is also required for the AT29 and
STRATA algorithm.
address
the address of the RAM area
Example:
WORKSPACE 0x00000000
ERASE addr [mode [wait]]The flash memory may be individually erased or unlocked via the Telnet
interface. In order to make erasing of multiple flash sectors easier, you can
enter an erase list. All entries in the erase list will be processed if you enter
ERASE at the Telnet prompt without any parameter. This list is also used
if you enter UNLOCK at the Telnet without any parameters.
address
Address of the flash sector, block or chip to erase
mode
BLOCK, CHIP, UNLOCK
Without this optional parameter, the BDI executes a sec-
tor erase. If supported by the chip, you can also specify
a block or chip erase. If UNLOCK is defined, the entry is
also part of the unlock list. This unlock list is processed
if the Telnet UNLOCK command is entered without any
parameters.
wait
The wait time in ms is only used for the unlock mode. Af-
ter starting the flash unlock, the BDI waits until it pro-
cesses the next entry.
Example:
ERASE 0xff040000 ;erase sector 4 of flash
ERASE 0xff060000 ;erase sector 6 of flash
ERASE 0xff000000 CHIP ;erase whole chip(s)
ERASE 0xff010000 UNLOCK 100 ;unlock, wait 100ms