English
Language : 

SLAS191A Datasheet, PDF (47/86 Pages) Texas Instruments – Starter Kit Evaluation Kit Manual
mx[n] The m command allows the user to inspect (read/modify/write) memory locations. Use the m
command in conjunction with the b or w commands. The b or w command displays the memory as
shown in Figure 2–11.
Enter b at the command prompt
Enter w at the command prompt
Enter m220 20 at the command prompt
>init
MSP–STK430A320
>byte
>m220 20
mem 0220 : 48 00 02 00 20 20 00 08 00 20 00 00 09 00 02 80
mem 0230 : 01 00 00 00 00 00 02 00 00 44 20 00 00 50 00 00
>word
>m220 20
mem 0220 : 0048 0002 2020 0800 2000 0000 0009 8002
mem 0230 : 0001 0000 0000 0002 4400 0020 5000 0000
>_
Figure 2–11. Memory Byte, Word Command
The address x shown above as 220 must be entered to define the memory location. The number n, shown
above as 20, is optional. It defines the number of memory bytes that are to be displayed. Entering the m
command without n allows the memory contents at address x to be displayed or modified.
NOTE: Interrupt.
Viewing large memory areas will take some time because the output function to display memory
contents cannot be interrupted while the UART is operating in the half duplex mode.
2–11