<< Previous | Next >>

root2vram

int root2vram( void * src, int start, int length );

Description

This function copies data to the VBAT RAM. Tamper detection on the Rabbit 4000 erases the VBAT RAM with any attempt to enter bootstrap mode.

Parameters

src
The address to the data in root to be copied to vbat ram.

start
The start location within the VBAT RAM (0-31).

length
The length of data to write to VBAT RAM. The length should be greater than 0.

The parameters length + start should not exceed 32.

Library

VBAT.LIB

See Also

vram2root


Dynamic C Functions << Previous | Next >> rabbit.com