Keil™, An ARM® Company

µVision® User's Guide

Preset I/O Ports or Memory Contents

Some applications require that I/O port values or memory contents are set to specific values before program simulation. In the debug Initialization File you may include the commands that are required to preset the simulator. Example:

PORT3 = 0                                      /* set Port3 to zero */
LOAD MEMORY.HEX                                /* load hex file contents to memory */
                                               /* use the SAVE command to save memory contents */