# Saving the Buffer Contents to a File

TYPE | DIRECTIVE | OPTIONAL | ARGUMENTS
Operation | savebuffer | Yes | <out_hexfile> <hex_format>

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 savebuffer directive is used to save the ISP buffer contents to a HEX file.

The <out_hexfile> argument is the HEX file pathname; it must be surrounded by double quotes. Pathnames containing white spaces are accepted.

The <hex_format> argument value may be HEX386 (Extended linear address records) or HEX86 (Extended segment address records).

Example of use :

> batchisp -device t89c51cc01 -hardware PEAK -operation read savebuffer "C:\labo\dev\isp\hexfile.hex" hex386