Step 10 - run – Freescale Semiconductor Microcontrollers User Manual

Page 661

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Tutorials

661

Microcontrollers Debugger Manual

void main(void) {
/*** Processor Expert internal initialization. DON'T REMOVE THIS
CODE! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/

/*Write your code here*/
GuessTheNumber();

/***Processor Expert end of main routine. DON'T MODIFY THIS CODE!***/
for(;;);
/***Processor Expert end of main routine. DON'T WRITE CODE BELOW!***/
} /*** End of main routine. DO NOT MODIFY THIS TEXT! ***/

Step 10 - Run

The application is now complete and we can launch it. Make sure you have chosen the
Full Chip Simulation connection.

1. Select the Debug icon in the Project Manager window (or the menu bar Project >

Debug or [F5]).

If there are compilation errors, correct your source code and try again.

2. In the Debugger, select Component > Open in the debugger and open the Terminal

component.

3. From the context menu of the Terminal window select Configure Connections and

change the name of the SCI peripheral to SCI1 (the SCI you chose in the previous
Processor Expert bean configuration).

Advertising