Motorola MVME177 manual Sflashl Pflash ff800000 ff9fffff ffa00000

Models: MVME177

1 171
Download 171 pages 43 Kb
Page 132
Image 132

B

Debugger General Information

177-Diag>sflash;l

FLASH Memory Visible Now = Lower Half

177-Diag>sflash;u

FLASH Memory Visible Now = Upper Half

177-Diag>sflash

FLASH Memory Visible Now = Lower Half

The destination address DSAADR of the PFLASH command is always interpreted using the J8 removed mapping, all of Flash mapped in. See Figure B-1, Three Possible Mapping Options.

This mapping is used whether or not J8 is installed and regardless of the most recent SFLASH command.

This mapping is also used if a relative offset is supplied as the destination address.

This treatment of the destination address allows the same PFLASH command to be used whether or not J8 is installed. It also allows programming the entire 4MB of flash or any portion with a single PFLASH command.

Assuming J8 is installed, then for this command sequence:

sflash;l

pflash ff800000 ff9fffff ffa00000

The SFLASH;L command has no effect on the destination address used by the PFLASH command. It is only a convenient way for the user to change which portion of the Flash memory array is in view.

In this case PFLASH programs the flash beginning at the location of physical address ffa00000 when J8 is out. This copies the bug from ROM at physical address ff800000 into the upper half of flash.

For the sequence:

pflash ff800000 ff9fffff 0

The PFLASH command programs the flash beginning at the Flash Relative Address of 0 (which corresponds to the flash physical address ff800000 when J8 is out). This copies the bug from ROM at physical address ff800000 into the lower half of flash.

B-52

Page 132
Image 132
Motorola MVME177 manual Sflashl Pflash ff800000 ff9fffff ffa00000