User manual

Basic debugging features UM0036
194/385 Doc ID 7705 Rev 11
5.14 MSCI tools window
When developing applications that use the ST7 Mass Storage Communication Interface
(MSCI), STVD provides special views for EMU3 and ICD that display of the contents of the
memory space and dissassembled code associated with this ST7 system.
Caution: The memory space and registers for the MSCI peripheral are visible in the Memory window
and the Core Registers window. However, the viewed values for the MSCI memory and
register in these windows may not be accurate. To view the actual values by MSCI routines,
always use the the MSCI Tools window.
To access the MSCI Tools window, select View>MSCI Tools.
Figure 143. MSCI Tools
The PC showing the state of execution is represented by a yellow highlighted line.
MSCI memory tab
This provides a disassembly view of the MSCI application code contained in the MSCI
memory space. When display is set to Dissassembly in the contextual menu, the line of
disassembled source code includes the physical address, the value in memory at that
address and the assembly instruction.
To change the display, right-click to get the contextual menu and select Dissassembly or
Hexadecimal.
In addition, the contextual menu allows you to Set/Clear breakpoints and to navigate from
one break to another (Next Break). When a program halts at a breakpoint, the PC indicates
the next MSCI instruction to execute in the MSCI Memory tab.