Simulate external I/O Devices
External I/O devices are typical memory mapped. You may simulate such I/O devices with the Memory Window provided in the µVision3 debugger. Since the C user program does not contain any variable declarations for such memory regions it is required that you map this memory with the MAP command:
MAP 0x100000, 0x100FFF READ WRITE /* MAP memory for I/O area */
You may use breakpoints in combination with debug functions to simulate the logic behind the I/O device.
Refer to User Functions for more information.
Example for a breakpoint definition:
BS WRITE 0x100000, 1, "IO_access ()"