beautypg.com

Maxim Integrated Ultra-High-Speed Flash Microcontroller User Manual

Page 166

background image

15-8

Ultra-High-Speed Flash

Microcontroller User’s Guide

LB

Load blind of internal flash memory—Loads standard Intel hex-formatted data into internal flash memory. This command functions

in the same manner as the L command, except that the preprogramming assessment and postprogramming verification of the

flash memory are not executed by the loader. When using this command, the P and V NAK responses are not returned by the

loader. All other ACK/NAK responses are still generated by the loader.

LE

Load encryption vector—Loads standard Intel hex-formatted data into flash security block. This command functions in the same

manner as the L command, except that it operates on the flash security block (0–3Fh).

LX

Load external memory—Loads standard Intel hex-formatted data into external memory. This command functions similar to the L

command, except that it operates on the external memory (0–FFFFh) and can write without restriction to any address location in

the range. If an external page mode or MOVX stretch cycle different from the default setting is desired, the ACON or CKCON reg-

isters should be modified prior to execution of the LX command.

R

Read—Displays the values of the lock bits, option control register, address control register, clock control register, power manage-

ment register, Ports 0, 1, 2, 3, and the flash control register in the following format. Although displayed, the FCNTC register is not

used in the DS89C420.

LB:XX OCR:XX ACON:XX CKCON:XX P0:XX P1:XX P2:XX P3:XX FCNTL:XX

V

Verify current contents of flash memory vs. the received Intel hex. This command operates similar to the load command, except

that it does not write to the flash memory; it compares the data byte(s) in the flash memory to the byte(s) in the data stream. The

same ACK/NAK response scheme is used during verify operations as is used for load operations.

VE

Verify encryption vector—Verifies current contents of the flash security block vs. the received Intel hex. This command works in the

same manner as the V command, but operates on the flash security block (0–3Fh).

VX

Verify external memory—Verifies current contents of external memory versus the received Intel hex. This command works in the

same manner as the ‘V’ command, but operates on external memory (0–FFFFh).

W [LB | OCR | ACON | CKCON | P0 | P1 | P2 | P3] byte

Writes byte to the requested register. Valid entries for LB are 1 (enable LB1), 3 (enable LB1, LB2), and 7 (enable LB1, LB2, LB3).

ACON register writes modify only bits 7, 6, 5. CKCON register writes modify only bits 2,1, 0. PMR register writes modify only bit 0.

P3 register writes modify only P3.7–P3.2 (P3.1 and P3.0 are not altered).

^C

Interrupt whatever is going on, clear all the buffers, put up a prompt, and wait for the next command. Anything in the type-ahead

buffer is removed. All output is stopped.

Maxim Integrated