# Loading the ISP Buffer

TYPE | DIRECTIVE | OPTIONAL | ARGUMENTS
Operation | loadbuffer | Yes | <in_hexfile>

Batchisp and Flip have internal ISP buffers (one buffer per device memory). Writing a memory is always done from the buffer contents. Reading a memory updates the buffer from the memory contents. During the verify operation, the target memory is read and its contents is compared to the buffer one.

The loadbuffer directive is used to load the ISP buffer from a HEX file contents.

The HEX file pathname must be surrounded by double quotes. Pathnames containing white spaces are accepted.

Using this directive sets the address range to min and max addresses found in the HEX file.

Example of use :

> batchisp -device t89c51cc01 -hardware PEAKPCAN -operation loadbuffer "C:\labo\dev\isp\hexfile.hex" program