How to communicate with the application – Freescale Semiconductor Microcontrollers User Manual

Page 214

Advertising
background image

How To...

How to Communicate with the Application

214

Microcontrollers Debugger Manual

How to Communicate with the Application

The Debugger has a pseudo-terminal facility. Use the TestTerm or Terminal component
window to communicate with the application using specific functions defined in the
TERMINAL.H

file and used in the calculator demo file.

1. Start the Debugger and choose Open from the Component menu.

2. Open the TestTerm or Terminal Component.

3. Choose Load from the Simulator menu.

4. Load the program CALC.ABS.

The target application uses the Read function to fetch data entered in the TestTerm or
Terminal component window through the keyboard. The target application uses the
Write function to send data to the Terminal component window of the host.

Advertising