ColdFire V1 Full Chip Simulation Connection
FCS Visualization Utilities
627
Microcontrollers Debugger Manual
Table 28.13
describes the bits used in the Serial Communication Status Register.
Reading and writing in the BAUD, SCCR1, SCCR2 or SCSR registers has no effect in the
TestTerm component, but are required to make the component compatible with specific
SCI interfaces.
Simulated I/Os of the TestTerm component do not need initialization. In the terminal
interface file
termio.c
, BAUD and SCSR registers are initialized to be compatible with
real SCI interfaces.
The SCDR register is valid for reading or writing data. Reading a value from the SCDR
register clears the RDRF flag in the SCSR register. Entering a character on the keyboard
while TestTerm is active sets the RDRF flag in the SCSR register and puts the ASCII code
of the typed key into the SCDR register.
Conceptually, writing a new value in the SCDR register by the target application clears the
TDRE flag in SCSR. Transmission completion sets the TDRE flag again. As TestTerm is
only an I/O emulation, no delay is simulated and writing into SCDR sets the TDRE flag in
the SCSR register.
Output Redirection
Output can be redirected to a TestTerm window, a file, or to both at the same time. File
output is monitored by the target system and cannot be specified interactively.
Table 28.12 TestTerm Simulated Memory Mapped Registers
Register Name
Function
Register Address
BAUD
Baud Rate Control
0x0200
SCCR1
Serial Communication Control Register 1
0x0201
SCCR2
Serial Communication Control Register 2
0x0202
SCSR
Serial Communication Status Register
0x0203
SCDR
Serial Communication Data Register
0x0204
Table 28.13 TestTerm Serial Communication Status Register
Bit Name (flag)
Function
Bit Mask Value
TDRE
Transmit Data Register Empty
0x80
RDRF
Receive Data Register Full
0x20
Summary of Contents for Microcontrollers
Page 1: ...Microcontrollers Debugger Manual Revised 22 October 2007 ...
Page 20: ...Table of Contents 20 Microcontrollers Debugger Manual ...
Page 24: ...Book I Contents 24 Microcontrollers Debugger Manual ...
Page 60: ...Debugger Interface Highlights of the User Interface 60 Microcontrollers Debugger Manual ...
Page 156: ...Debugger Components Visualization Utilities 156 Microcontrollers Debugger Manual ...
Page 198: ...Real Time Kernel Awareness OSEK Kernel Awareness 198 Microcontrollers Debugger Manual ...
Page 236: ...Synchronized Debugging Through DA C IDE Troubleshooting 236 Microcontrollers Debugger Manual ...
Page 238: ...Book II Contents 238 Microcontrollers Debugger Manual ...
Page 332: ...HC08 Full Chip Simulation Configuration Procedure 332 Microcontrollers Debugger Manual ...
Page 348: ...MON08 Interface Connection Device Class Description 348 Microcontrollers Debugger Manual ...
Page 364: ...ICS MON08 Interface Connection Device Class Description 364 Microcontrollers Debugger Manual ...
Page 428: ...HC08 FSICEBASE Emulator Bus State Analyzer BSA 428 Microcontrollers Debugger Manual ...
Page 430: ...Book III Contents 430 Microcontrollers Debugger Manual ...
Page 466: ...HCS08 Full Chip Simulation Peripheral Modules Commands 466 Microcontrollers Debugger Manual ...
Page 544: ...HCS08 On Chip DBG Module HCS08 DBG V3 New Features 544 Microcontrollers Debugger Manual ...
Page 546: ...Book IV Contents 546 Microcontrollers Debugger Manual ...
Page 576: ...Book V Contents 576 Microcontrollers Debugger Manual ...
Page 698: ...Book VI Contents 698 Microcontrollers Debugger Manual ...
Page 714: ...Flash Programming NVMC Commands 714 Microcontrollers Debugger Manual ...
Page 730: ...Book VII Contents 730 Microcontrollers Debugger Manual ...
Page 840: ...Book VIII Contents 840 Microcontrollers Debugger Manual ...
Page 864: ...Book IX Contents 864 Microcontrollers Debugger Manual ...
Page 868: ...Legacy Target Interfaces Removed 868 Microcontrollers Debugger Manual ...