Write; Verify - Renesas M-Station User Manual

Baseboard for 78k0 and 78k0s micro-boards
Table of Contents

Advertisement

9.2.4.5

Write

Clicking the Write command button programs the selected object file into the flash device. If you use
the Write command button instead of Program Sequence, you should use Blank Chk to insure that
the device is erased, and Erase if necessary before writing. Writing of a non-blank device may result
in incorrect data in the flash memory and a non-functional device.
The Write operation first initializes the device and then reads its silicon signature, after which data in
the selected file is written to the device. The Status window displays progress displaying the number
of bytes written with the total:
The Write operation does not write the entire memory space, only the bytes from 0000 through the end
of the block containing the highest byte of the user program.
For 78K0 devices, a block is 256 bytes. If a 78K0 program starts at 0000H and ends at
1234H, then the device is written from 0000–12FFH. The remainder is left in its erased
state.
For 78K0S devices, a block is 128 bytes. If a 78K0S program starts at 0000H and ends at
1234H, then the device is written from 0000–127FH. The remainder is left in its erased
state.
After writing, the program performs an internal verify operation to confirm that the data was written
correctly. Upon completion, the Status window displays "Written and verified".
9.2.4.6

Verify

Clicking the Verify command button runs a verify operation that checks the contents of the selected file
against the contents of the flash device. For security of user programs, it is not possible to read out the
contents of the flash device's memory. Instead, a verify operation consists of sending an entire image
of what the flash memory should hold to the device, which compares the data against the actual
contents of memory. After the entire memory image is sent, the device will report whether the data
verified or not.
When the Verify button is clicked, it first initializes the flash device, and reads the silicon signature.
Then a memory image is built of the user program by reading the specified program file, plus erased
data values for all locations not specified in the program file.
57
M-Station Baseboard

Advertisement

Table of Contents
loading

Table of Contents