Emerson PMPPC7448 user manual Monitor: Flash Commands, erase, flinfo

Models: PMPPC7448

1 136
Download 136 pages 56.22 Kb
Page 116
Image 116
Monitor: Flash Commands

FLASH COMMANDSeraseflinfoManual backgroundMonitor: Flash CommandsManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual backgroundManual background

00080070: ffffffff ffffffff ffffffff ffffffff ................

FLASH COMMANDS

The Flash commands affect the StrataFlash devices on the PmPPC7448 circuit board. There is one Flash bank on the PmPPC7448 board. The following Flash commands access the indi- vidual Flash bank as Flash bank 1. To access the individual sectors within each Flash bank, the sector numbers start at 0 and end at one less than the total number of sectors in the bank. For a Flash bank with 128 sectors, the following Flash commands access the individ- ual sectors as 0 through 127.

cp

The cp command can be used to copy data into the Flash device. For the cp command syn- tax, refer to “cp” on page 11-12.

erase

The erase command erases the specified area of Flash memory.

DEFINITION: Erase all of the sectors in the address range from start to end.

erase start end

Erase all of the sectors SF (first sector) to SL (last sector) in Flash bank # N.

erase N:SF[-SL]

Erase all of the sectors in Flash bank # N.

erase bank N

Erase all of the sectors in all of the Flash banks.

erase all

flinfo

The flinfo command prints out the Flash device’s manufacturer, part number, size, number of sectors, and starting address of each sector.

DEFINITION: Print information for all Flash memory banks.

flinfo

Print information for the Flash memory in bank # N.

flinfo N

11-14

PmPPC7448 User’s Manual

10006757-02

Page 116
Image 116
Emerson PMPPC7448 user manual Monitor: Flash Commands, erase, flinfo